简体   繁体   English

为什么我无法在我的 Windows 中安装 PIP?

[英]Why am I not able to install PIP in my windows?

I don't know where the previous installation occurred?不知道之前的安装发生在哪里?

C:\\Users\\intel\\Desktop>python get-pip.py Collecting pip Using cached C:\\Users\\intel\\Desktop>python get-pip.py 使用缓存收集pip

Installing collected packages: pip
  Found existing installation: pip 19.3.1
ERROR: Exception:
Traceback (most recent call last):
  File "C:\Users\intel\AppData\Local\Temp\tmpdc1qohh_\pip.zip\pip\_internal\cli\base_command.py", line 153, in _main
    status = self.run(options, args)
  File "C:\Users\intel\AppData\Local\Temp\tmpdc1qohh_\pip.zip\pip\_internal\commands\install.py", line 446, in run
    installed = install_given_reqs(
  File "C:\Users\intel\AppData\Local\Temp\tmpdc1qohh_\pip.zip\pip\_internal\req\__init__.py", line 54, in install_given_reqs
    uninstalled_pathset = requirement.uninstall(
  File "C:\Users\intel\AppData\Local\Temp\tmpdc1qohh_\pip.zip\pip\_internal\req\req_install.py", line 754, in uninstall
    uninstalled_pathset = UninstallPathSet.from_dist(dist)
  File "C:\Users\intel\AppData\Local\Temp\tmpdc1qohh_\pip.zip\pip\_internal\req\req_uninstall.py", line 535, in from_dist
    for path in uninstallation_paths(dist):
  File "C:\Users\intel\AppData\Local\Temp\tmpdc1qohh_\pip.zip\pip\_internal\req\req_uninstall.py", line 67, in unique
    for item in fn(*args, **kw):
  File "C:\Users\intel\AppData\Local\Temp\tmpdc1qohh_\pip.zip\pip\_internal\req\req_uninstall.py", line 86, in uninstallation_paths
    for row in r:
_csv.Error: line contains NULL

Backtracking, your previously installed PIP should be in the following path:回溯,您之前安装的 PIP 应该在以下路径中:

 C:\ Users \ intel \ AppData \ Local \ Temp \ tmpdc1qohh_ \ pip.zip 

Please try to remove it and reinstall it.请尝试将其删除并重新安装。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 为什么我无法使用 pip 安装 lmdb? - Why am I not able to install lmdb using pip? 我无法在 Windows 10 中安装 Pyaudio - I am not able to install Pyaudio in my windows 10 为什么我无法在我的 centos 上安装 dlib 库? - Why am I not able to install dlib library on my centos? 为什么我无法在我的 PC 上安装 pygame? - Why am I not able to install pygame on my PC? 为什么我不能在Windows 7上安装pip? - Why can I not install pip on windows 7? 为什么我无法安装烧瓶(PIP 错误)? - Why am I Unable to install flask (PIP error)? 为什么我无法在我的 jupyter 笔记本上安装模块“nturl2path”? - Why I am not able to install a module “nturl2path” on my jupyter notebook? 我无法使用pycharm终端安装peewee。 我正在使用此“ pip install peewee”,但无法导入库 - I am not able to install peewee using pycharm terminal. I am using this 'pip install peewee' but can't import the library 为什么我不能在 Windows 10 上使用 pip 安装 python 包? - Why can't I install python packages with pip on windows 10? 为什么在我的 Windows 机器中,我必须将命令写为“py -m pip install ”module-name“ 而不是只写”pip install “module-name”? - Why in my Windows machine I have to write command as “py -m pip install ”module-name“ instead of just writing ”pip install “module-name”?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM