在我的 anaconda 环境中,我不能再使用 pip
(roo_env) (base) C:\Users\antoi\Documents\Programming\roomfinder>pip install csvkit
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\Scripts\pip-script.py", line 6, in <module>
from pip._internal.main import main
ModuleNotFoundError: No module named 'pip._internal.main'
(roo_env) (base) C:\Users\antoi\Documents\Programming\roomfinder>python3 -m pip --version
(roo_env) (base) C:\Users\antoi\Documents\Programming\roomfinder>pip3 --version
'pip3' is not recognized as an internal or external command,
operable program or batch file.
(roo_env) (base) C:\Users\antoi\Documents\Programming\roomfinder>pip3 --version
'pip3' is not recognized as an internal or external command,
operable program or batch file.
(roo_env) (base) C:\Users\antoi\Documents\Programming\roomfinder>pip --version
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\Scripts\pip-script.py", line 6, in <module>
from pip._internal.main import main
ModuleNotFoundError: No module named 'pip._internal.main'
不知道是不是我的环境变量的问题,下面是我的路径:
C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\iCLS\;C:\Program Files\Intel\Intel(R) Management Engine Components\iCLS\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%SYSTEMROOT%\System32\OpenSSH\;C:\Program Files\Git\cmd;C:\Program Files\nodejs\;C:\Program Files (x86)\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\150\DTS\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files\Microsoft SQL Server\150\DTS\Binn\