无法安装NetFaces

2024-09-25 10:27:31 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在编写一个python程序。我必须使用netifaces,但我无法安装它。当我对CMD执行pip install netifaces操作时,它会得到一个错误:

C:\Users\thema>pip install netifaces-0.10.9-cp39-cp39-win_amd64.whl
WARNING: Requirement 'netifaces-0.10.9-cp39-cp39-win_amd64.whl' looks like a filename, but the file does not exist
Processing c:\users\thema\netifaces-0.10.9-cp39-cp39-win_amd64.whl
ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: 'C:\\Users\\thema\\netifaces-0.10.9-cp39-cp39-win_amd64.whl'

WARNING: You are using pip version 20.2.3; however, version 21.0.1 is available.
You should consider upgrading via the 'c:\users\thema\appdata\local\programs\python\python39\python.exe -m pip install --upgrade pip' command.

Tags: installpiptheyounotwinusersamd64