ValueError:无法在package pip._vendor.distlib中找到资源t64.exe
我正在尝试运行TOX命令,但它显示错误
ValueError: Unable to find resource t64.exe in package pip._vendor.distlib
ERROR: python3.7: could not install deps [-rrequirements.txt];
v = InvocationError("'C:\\path\\test_tox\\.tox\\python3.7\\Scripts
\\python.EXE' -m pip install -rrequirements.txt", 2)
尝试了Internet中可用的大多数解决方案,但似乎没有任何作用。我不确定此
sumpliont.txt
:
dvc
dvc[gdrive]
sklearn
pandas
pytest
tox
i am trying to run tox commands but it shows error
ValueError: Unable to find resource t64.exe in package pip._vendor.distlib
ERROR: python3.7: could not install deps [-rrequirements.txt];
v = InvocationError("'C:\\path\\test_tox\\.tox\\python3.7\\Scripts
\\python.EXE' -m pip install -rrequirements.txt", 2)
have tried most of the solution available in internet, but nothing seems to be working. i am not sure what is the root cause of this
requirements.txt
:
dvc
dvc[gdrive]
sklearn
pandas
pytest
tox
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
卸载setuptools:
升级pip:
重新安装setuptools:
Uninstall SetupTools:
Upgrade PIP:
Reinstall Setuptools:
下面的命令对我有用,感谢 Colonel Panic :
Below command works for me, thanks to Colonel Panic:
@Techno-Appear提供的答案工作,但是我必须这样做
,如果这不起作用,请pip本身(通过警告消息)要做:
Answer provided by @techno-appear worked, however I had to do
And if that doesn't work, Pip itself advices (through a warning message) to do: