Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/macos/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 3.x Repliscan安装错误:正在为Repliscan构建控制盘(setup.py)。。。错误_Python 3.x_Macos_Pip_Setup.py - Fatal编程技术网

Python 3.x Repliscan安装错误:正在为Repliscan构建控制盘(setup.py)。。。错误

Python 3.x Repliscan安装错误:正在为Repliscan构建控制盘(setup.py)。。。错误,python-3.x,macos,pip,setup.py,Python 3.x,Macos,Pip,Setup.py,我试图安装这个软件包,但我看到这个错误,我不能理解。我已经按照开发人员的建议安装了依赖项。我已经向开发人员提出了关于错误的问题,但不幸的是无法得到他的响应。有人能建议我如何解决这个错误吗?提前谢谢 环境: 卡塔琳娜 pip 20.2.2 python 3.6.8 saddams-MBP:src saddamhusain$ pip install --user git+https://github.com/zyndagj/repliscan.git Collecting git+https://

我试图安装这个软件包,但我看到这个错误,我不能理解。我已经按照开发人员的建议安装了依赖项。我已经向开发人员提出了关于错误的问题,但不幸的是无法得到他的响应。有人能建议我如何解决这个错误吗?提前谢谢

环境:

卡塔琳娜 pip 20.2.2 python 3.6.8


saddams-MBP:src saddamhusain$ pip install --user git+https://github.com/zyndagj/repliscan.git
Collecting git+https://github.com/zyndagj/repliscan.git
  Cloning https://github.com/zyndagj/repliscan.git to /private/var/folders/y4/d8ny96tj4lq95881n6qy5rw80000gn/T/pip-req-build-ltzu32sc
Building wheels for collected packages: repliscan
  Building wheel for repliscan (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /Library/Frameworks/Python.framework/Versions/3.6/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/y4/d8ny96tj4lq95881n6qy5rw80000gn/T/pip-req-build-ltzu32sc/setup.py'"'"'; __file__='"'"'/private/var/folders/y4/d8ny96tj4lq95881n6qy5rw80000gn/T/pip-req-build-ltzu32sc/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/y4/d8ny96tj4lq95881n6qy5rw80000gn/T/pip-wheel-lfsee6wm
       cwd: /private/var/folders/y4/d8ny96tj4lq95881n6qy5rw80000gn/T/pip-req-build-ltzu32sc/
  Complete output (48 lines):
  make: Nothing to be done for `all'.
  running bdist_wheel
  running build
  running build_scripts
  creating build
  creating build/scripts-3.6
  copying and adjusting repliscan.py -> build/scripts-3.6
  copying and adjusting RATrap.py -> build/scripts-3.6
  Traceback (most recent call last):
    File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/tokenize.py", line 390, in find_cookie
      line_string = line.decode('utf-8')
  UnicodeDecodeError: 'utf-8' codec can't decode byte 0xcf in position 0: invalid continuation byte
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/private/var/folders/y4/d8ny96tj4lq95881n6qy5rw80000gn/T/pip-req-build-ltzu32sc/setup.py", line 21, in <module>
      scripts = ["repliscan.py","RATrap.py","wavelets"])
    File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/setuptools/__init__.py", line 143, in setup
      return distutils.core.setup(**attrs)
    File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py", line 955, in run_commands
      self.run_command(cmd)
    File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/wheel/bdist_wheel.py", line 223, in run
      self.run_command('build')
    File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/command/build.py", line 135, in run
      self.run_command(cmd_name)
    File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/command/build_scripts.py", line 50, in run
      self.copy_scripts()
    File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/command/build_scripts.py", line 82, in copy_scripts
      encoding, lines = tokenize.detect_encoding(f.readline)
    File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/tokenize.py", line 431, in detect_encoding
      encoding = find_cookie(first)
    File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/tokenize.py", line 395, in find_cookie
      raise SyntaxError(msg)
  SyntaxError: invalid or missing encoding declaration for 'wavelets'
  ----------------------------------------
  ERROR: Failed building wheel for repliscan
  Running setup.py clean for repliscan
Failed to build repliscan
DEPRECATION: Could not build wheels for repliscan which do not use PEP 517. pip will fall back to legacy 'setup.py install' for these. pip 21.0 will remove support for this functionality. A possible replacement is to fix the wheel build issue reported above. You can find discussion regarding this at https://github.com/pypa/pip/issues/8368.
Installing collected packages: repliscan
    Running setup.py install for repliscan ... error
    ERROR: Command errored out with exit status 1:
     command: /Library/Frameworks/Python.framework/Versions/3.6/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/y4/d8ny96tj4lq95881n6qy5rw80000gn/T/pip-req-build-ltzu32sc/setup.py'"'"'; __file__='"'"'/private/var/folders/y4/d8ny96tj4lq95881n6qy5rw80000gn/T/pip-req-build-ltzu32sc/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/y4/d8ny96tj4lq95881n6qy5rw80000gn/T/pip-record-6xhnt_jd/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /Users/saddamhusain/Library/Python/3.6/include/python3.6m/repliscan
         cwd: /private/var/folders/y4/d8ny96tj4lq95881n6qy5rw80000gn/T/pip-req-build-ltzu32sc/
    Complete output (50 lines):
    make: Nothing to be done for `all'.
    running install
    running build
    running build_scripts
    creating build
    creating build/scripts-3.6
    copying and adjusting repliscan.py -> build/scripts-3.6
    copying and adjusting RATrap.py -> build/scripts-3.6
    Traceback (most recent call last):
      File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/tokenize.py", line 390, in find_cookie
        line_string = line.decode('utf-8')
    UnicodeDecodeError: 'utf-8' codec can't decode byte 0xcf in position 0: invalid continuation byte
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/y4/d8ny96tj4lq95881n6qy5rw80000gn/T/pip-req-build-ltzu32sc/setup.py", line 21, in <module>
        scripts = ["repliscan.py","RATrap.py","wavelets"])
      File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/setuptools/__init__.py", line 143, in setup
        return distutils.core.setup(**attrs)
      File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py", line 955, in run_commands
        self.run_command(cmd)
      File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py", line 974, in run_command
        cmd_obj.run()
      File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/setuptools/command/install.py", line 61, in run
        return orig.install.run(self)
      File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/command/install.py", line 545, in run
        self.run_command('build')
      File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py", line 974, in run_command
        cmd_obj.run()
      File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/command/build.py", line 135, in run
        self.run_command(cmd_name)
      File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py", line 974, in run_command
        cmd_obj.run()
      File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/command/build_scripts.py", line 50, in run
        self.copy_scripts()
      File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/command/build_scripts.py", line 82, in copy_scripts
        encoding, lines = tokenize.detect_encoding(f.readline)
      File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/tokenize.py", line 431, in detect_encoding
        encoding = find_cookie(first)
      File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/tokenize.py", line 395, in find_cookie
        raise SyntaxError(msg)
    SyntaxError: invalid or missing encoding declaration for 'wavelets'
    ----------------------------------------
ERROR: Command errored out with exit status 1: /Library/Frameworks/Python.framework/Versions/3.6/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/y4/d8ny96tj4lq95881n6qy5rw80000gn/T/pip-req-build-ltzu32sc/setup.py'"'"'; __file__='"'"'/private/var/folders/y4/d8ny96tj4lq95881n6qy5rw80000gn/T/pip-req-build-ltzu32sc/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/y4/d8ny96tj4lq95881n6qy5rw80000gn/T/pip-record-6xhnt_jd/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /Users/saddamhusain/Library/Python/3.6/include/python3.6m/repliscan Check the logs for full command output.
saddams-MBP:src saddamhusain$ 


saddams MBP:src saddamhusain$pip安装——用户git+https://github.com/zyndagj/repliscan.git
集水罐+https://github.com/zyndagj/repliscan.git
克隆https://github.com/zyndagj/repliscan.git to/private/var/folders/y4/d8ny96tj4lq95881n6qy5rw80000gn/T/pip-req-build-ltzu32sc
为收集的包构建控制盘:repliscan
正在为repliscan构建控制盘(setup.py)。。。错误
错误:命令出错,退出状态为1:
命令:/Library/Frameworks/Python.framework/Versions/3.6/bin/python3-u-c'import sys、setuptools、tokenize;sys.argv[0]=“private/var/folders/y4/d8ny96tj4lq95881n6qy5rw8000gn/T/pip-req-build-ltzu32sc/setup.py”__文件“'/private/var/folders/y4/d8ny96tj4lq95881n6qy5rw8000gn/T/pip-req-build-ltzu32sc/setup.py'”;f=getattr(标记化,“'open'”,open)(\uuuuu文件);code=f.read().replace(“\r\n”“”、“\n”“”);f、 close();exec(编译(代码,“'exec'”)'bdist_wheel-d/private/var/folders/y4/d8ny96tj4lq95881n6qy5rw8000gn/T/pip-wheel-lfsee6wm
cwd:/private/var/folders/y4/d8ny96tj4lq95881n6qy5rw8000gn/T/pip-req-build-ltzu32sc/
完整输出(48行):
make:对“所有人”都不做任何事。
运转的车轮
运行构建
运行build\u脚本
创建构建
创建构建/脚本-3.6
复制和调整repliscan.py->build/scripts-3.6
复制和调整RATrap.py->build/scripts-3.6
回溯(最近一次呼叫最后一次):
文件“/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/tokenize.py”,第390行,在find_cookie中
line_string=line.decode('utf-8')
UnicodeDecodeError:“utf-8”编解码器无法解码位置0中的字节0xcf:无效的连续字节
在处理上述异常期间,发生了另一个异常:
回溯(最近一次呼叫最后一次):
文件“”,第1行,在
文件“/private/var/folders/y4/d8ny96tj4lq95881n6qy5rw800000gn/T/pip-req-build-ltzu32sc/setup.py”,第21行,在
脚本=[“repliscan.py”、“RATrap.py”、“wavelets”])
文件“/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/setuptools/_-init___;.py”,第143行,位于安装程序中
返回distutils.core.setup(**attrs)
文件“/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/core.py”,第148行,在安装程序中
dist.run_命令()
文件“/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py”,第955行,在run_命令中
self.run_命令(cmd)
文件“/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py”,第974行,在run_命令中
cmd_obj.run()
文件“/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site packages/wheel/bdist_wheel.py”,第223行,运行中
self.run_命令('build'))
文件“/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/cmd.py”,第313行,在run_命令中
self.distribution.run_命令(command)
文件“/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py”,第974行,在run_命令中
cmd_obj.run()
文件“/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/command/build.py”,第135行,处于运行状态
self.run_命令(cmd_名称)
文件“/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/cmd.py”,第313行,在run_命令中
self.distribution.run_命令(command)
文件“/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py”,第974行,在run_命令中
cmd_obj.run()
文件“/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/command/build_scripts.py”,第50行,运行中
self.copy_脚本()
文件“/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/command/build_scripts.py”,第82行,复制_脚本
编码,行=标记化。检测\u编码(f.readline)
文件“/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/tokenize.py”,第431行,在detect_编码中
编码=查找cookie(第一个)
文件“/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/tokenize.py”,第395行,在find_cookie中
提高语法错误(msg)
SyntaxError:“小波”的编码声明无效或缺失
----------------------------------------
错误:为repliscan生成控制盘失败
为repliscan运行setup.py clean
未能生成repliscan
弃用:无法为不使用PEP 517的repliscan生成控制盘。对于这些问题,pip将退回到传统的“setup.py安装”。PIP21.0将取消对该功能的支持。一种可能的更换方法是修复上述车轮制造问题。您可以在以下站点找到关于此的讨论:https://github.com/pypa/pip/issues/8368.
安装收集的软件包:repliscan
正在为repliscan运行setup.py安装。。。错误
错误:命令出错,退出状态为1:
命令:/Library/Frameworks/Python.framework/Versions/3.6/bin/python3-u-c'import sys、setuptools、tokenize;sys.argv[0]=“private/var/folders/y4/d8ny96tj4lq95881n6qy5rw8000gn/T/pip-req-build-ltzu32sc/setup.py”__文件“'/private/var/folders/y4/d8ny96tj4lq95881n6qy5rw8000gn/T/pip-req-build-ltzu32sc/setup.py'”;f=getattr(标记化,“'open'”,open)(\uuuuu文件);code=f.read().replace(“\r\n”“”、“\n”“”);f、 close();exec(compile(code,_ufile,“'exec’”)'install--record/private/var/folders/y4/d8ny96tj4lq95881n6qy5rw8000gn/T/pip-record-6xhnt_jd/install-record.txt--single vers