简体   繁体   English

pip安装彩色获取错误-FileNotFoundError:[Errno 2]没有这样的文件或目录:'README.rst'

[英]pip install colored getting error - FileNotFoundError: [Errno 2] No such file or directory: 'README.rst'

Collecting colored
  Using cached https://files.pythonhosted.org/packages/a9/14/e9c100eaa9dec369bfbf5bde3dbba93da8d2b107de9a7e49a781ba22140c/colored-1.3.9.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/jt/259zbp9j119b1r9xwl0mn87w2zc2kn/T/pip-install-by7czofn/colored/setup.py", line 40, in <module>
        long_description=open("README.rst").read()
    FileNotFoundError: [Errno 2] No such file or directory: 'README.rst'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/jt/259zbp9j119b1r9xwl0mn87w2zc2kn/T/pip-install-by7czofn/colored/

Error reported on - https://gitlab.com/dslackw/colored/issues/12

Solution for now - download source comment out following line from setup.py 现在的解决方案-从setup.py的下一行下载源注释

#    long_description=open("README.rst").read()

do pip install colored - this works 做点子安装彩色-这可行

Solution for now - download source comment out following line from setup.py long_description=open("README.rst").read() 现在的解决方案-从setup.py long_description = open(“ README.rst”)。read()的下一行下载源注释。

do pip install colored - this works 做点子安装彩色-这可行

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 IOError:[Errno 2]没有这样的文件或目录:&#39;README.rst&#39; - IOError: [Errno 2] No such file or directory: 'README.rst' pip install FileNotFoundError: [Errno 2] 没有这样的文件或目录: - pip install FileNotFoundError: [Errno 2] No such file or directory: 获取“FileNotFoundError: [Errno 2] 没有这样的文件或目录” - Getting "FileNotFoundError: [Errno 2] No such file or directory" FileNotFoundError:[错误2]没有这样的文件或目录:错误 - FileNotFoundError: [Errno 2] No such file or directory: error 错误:FileNotFoundError:[Errno 2]没有这样的文件或目录: - Error: FileNotFoundError: [Errno 2] No such file or directory: 收到错误:FileNotFoundError:[Errno 2]没有这样的文件或目录:试图打开文件时 - Getting a error: FileNotFoundError: [Errno 2] No such file or directory: while trying to open a file 出现错误:FileNotFoundError: [Errno 2] No such file or directory when using Python open() - Getting error: FileNotFoundError: [Errno 2] No such file or directory when using Python open() README.rst不是在pypi上解析,而是在testpypi上解析 - README.rst not parsing on pypi but dose on testpypi reStructuredText:README.rst没有在PyPI上工作 - reStructuredText: README.rst not working on PyPI pip 安装 pods 命令在 jupyter 中失败,并出现 FileNotFoundError:[Errno 2] 没有这样的文件或目录:'C:\\tmp\\sods.log' - pip install pods command failed in jupyter with FileNotFoundError: [Errno 2] No such file or directory: 'C:\\tmp\\sods.log'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM