pip报错及修复

pip报错:

修复:

wget https://pypi.python.org/packages/3c/ec/a94f8cf7274ea60b5413df054f82a8980523efd712ec55a59e7c3357cf7c/pyparsing-2.2.0.tar.gz       (下载pyparsing-2.2.0.tar.gz)
gunzip pyparsing-2.2.0.tar.gz
tar -xvf pyparsing-2.2.0.tar
cd pyparsing-2.2.0 sudo python setup.py install

现在查看pip版本,表示已成功修复。
时间: 2024-11-08 17:03:20

pip报错及修复的相关文章

CentOS7.5 Python3安装pip报错:ModuleNotFoundError: No module named '_ctypes' --Python3

1.问题:pyhontModuleNotFoundError: No module named '_ctypes'  操作系统:CentOS7.5 安装完Pyhotn3后(如何安装Python3,安装后我的python.python3命令指向python3;python2命令和python2.7指向python2.7),发现没有安装两个版本都没有pip.所以下载好pip包,用系统自带python2安装如下所示: [root@VM_39_157_centos ~]# wget https://fi

解决'python -m pip install --upgrade pip' 报错问题

再安装包的时候提示 You are using pip version 9.0.3, however version 10.0.1 is available.You should consider upgrading via the 'python -m pip install --upgrade pip' command.12而我按照要求运行python -m pip install --upgrade pip 后仍然无法成功升级,提示如下: (venv) D:\Fish>python -m

解压版本Python,手动安装pip报错,pip得到报错" No module named 'pip' "

解压版本Python,手动安装pip报错 λ pip Traceback (most recent call last): File "runpy.py", line 193, in _run_module_as_main File "runpy.py", line 86, in _run_code File "D:\tools\python-3.8.1-embed-amd64\Scripts\pip.exe\__main__.py", line

本地同时安装python2和python3时pip报错

引言: 安装完成后,想测试一下两个版本的pip是否都可以正常工作,结果python3的能正常工作,但是pip2 --version就会报错,报错信息如下: Traceback (most recent call last): File "/usr/local/bin/pip", line 9, in <module> load_entry_point('pip==1.3.1', 'console_scripts', 'pip')() File "/usr/loca

pip 报错

pip 安装 初始化系统 安装PIP 问题? yun install wget gcc gcc-c++ -y wget http://www.python.org/ftp/python/2.7.6/Python-2.7.6.tgz tar -xf Python-2.7.6.tgz mv Python-2.7.6 /usr/local/python cd /usr/local/python/ ./configure --prefix=/usr/local/python/ make &&mak

pip报错解决:EnvironmentError: mysql_config not found

centos7下使用python类库MySQL-python操作mysql.pip安装类库:pip install MySQL-python报错提示:mariadb EnvironmentError: mysql_config not found 安装mysql-devel:yum -y install mysql-devel 执行pip install MySQL-python,又出现报错:error: command 'gcc' failed with exit status 1 这是由于没

Fedora升级后Python虚拟环境中的pip报错

今日Fedora从28升级到29后,进入Python的虚拟目录后,本来想使用pip更新下包,结果报错了,如下: Traceback (most recent call last): File "/home/kowalski/Projects/rifm/venv/bin/pip", line 7, in <module> from pip._internal import main ModuleNotFoundError: No module named 'pip' 自己也没

LVM增大缩小分区,复现减小分区报错并修复

LVM的安装和LVM的在线增大比较简单,不记录,LVM的分区离线缩小坑较多 要缩小LVM设备为/dev/mapper/test-lv_test 的大小为200M 第一步:卸载设备(减小文件系统时需要卸载,文件系统和resize工具都不支持在线减小.)umount /dev/mapper/test-lv_test 第二步:执行文件系统检查(先检查一下分区的完整性.)fsck -f /dev/mapper/test-lv_test 第三步:调整文件系统大小(将文件系统减小到200M)resize2f

iOS9 关于明文HTTP报错的修复方法

报错:App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file. 解决办法: 在info.plist 加入key <key>NSAppTransportSecurity</key> <dict>