最后,我一直试图安装netmiko和paramiko,但在Windows 10上安装Python版本3.8.0b3却没有成功。早些时候用3.7.4试过,也没有运气。
我运行以下命令:
python -m pip install netmiko --user并得到以下错误:
Installing build dependencies ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Program Files\Python38\python.exe' 'C:\Users\myuser\AppData\Roaming\Python\Python38\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\myuser\AppData\Local\Temp\pip-build-env-sbe5z7zj\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.6.0' wheel 'cffi>=1.8,!=1.11.3; python_implementation != '"'"'PyPy'"'"''发布于 2019-08-23 22:14:07
因此,在非常震惊之后,我发现了这个问题,我卸载python运行的客户安装程序没有安装空闲和“为所有用户选择C:\Users\myuser\AppData\Roaming\Python\Python37\site-packages,”,所以它把它放在c:\程序文件\python 37中,而不是C:\Users\myuser\AppData\Roaming\Python\Python37\site-packages,调整了环境变量,然后它就可以完全安装netmiko -了。
我希望这能帮到别人。
https://stackoverflow.com/questions/57618106
复制相似问题