FileNotFoundError: [Errno 2] 没有这样的文件或目录: 'readme.md'



我试图通过pip安装ghasedak包,我以前做过,但现在它引发了这个错误。

(venv) hamed@hamed-HP-250-G6-Notebook-PC:~/sqh-source$ pip3 install ghasedak  --upgrade
Collecting ghasedak
Using cached ghasedak-0.1.8.tar.gz (2.0 kB)
ERROR: Command errored out with exit status 1:
command: /home/hamed/sqh-source/venv/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-vb0m4x9b/ghasedak/setup.py'"'"'; __file__='"'"'/tmp/pip-install-vb0m4x9b/ghasedak/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-vb0m4x9b/ghasedak/pip-egg-info
cwd: /tmp/pip-install-vb0m4x9b/ghasedak/
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-vb0m4x9b/ghasedak/setup.py", line 3, in <module>
with open("readme.md", "r") as fh:
FileNotFoundError: [Errno 2] No such file or directory: 'readme.md'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

经过大量的搜索,我发现有人说我必须使MANIFEST。但是我应该把它放在哪里,有人说我们不需要它,那么最后使用它是正确的还是有其他的解决方案?

我的问题没有解决,所以我用下面的命令从github下载了ghasedakPIP安装git+https://github.com/package-url/

相关内容

  • 没有找到相关文章

最新更新