安装数据库第三方包,报错: Could not find a version that satisfies the requirement MySQLdb (from versions: )No matching distribution found for MySQLdb 将MySQLdb改成pyMySQL就OK啦:sudo pip install pyMySQL…
sudo pip install -i http://pypi.douban.com/simple/ --trusted-host=pypi.douban.com/simple ipython…
Stackoverflow  : http://stackoverflow.com/questions/15501133/python-pip-error-cannot-fetch-index-base-url-https-pypi-python-org-simple…
问题:在unbuntu执行$ sudo python -m pip install pylint出错解决方法支行以下命令sudo pip install pylint==1.9.3这样roboware_studio 也是可以跑python的…
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirmingthe ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIF…
一.pip install 安装指定版本的包 要用 pip 安装指定版本的 Python 包,只需通过 == 操作符 指定. pip install robotframework == 2.8.7 将安装robotframework 2.8.7 版本. 二.pip install  -i  国内镜像文件 国内镜像: http://pypi.douban.com/simple/ 豆瓣 http://mirrors.aliyun.com/pypi/simple/ 阿里 http://pypi.hus…
pip install Error OSX 终端更新pip出错 sudo pip install --upgrade pip : 1.ReadTimeoutError: HTTPSConnectionPool(host='pypi.Python.org', port=443): Read 解决办法: 加大超时时间,如 pip --default-timeout=100 install -U pip 2.如果依上处理还没解决问题,或者报错 ProtocolError: ("Connection b…
Exception: Traceback (most recent call last): File , in main status = self.run(options, args) File , in run root=options.root_path, File , in install requirement.uninstall(auto_confirm=True) File , in uninstall paths_to_remove.remove(auto_confirm) Fi…
sudo pip install mysql-connector-python 报错信息:Collecting mysql-connector-python Could not find a version that satisfies the requirement mysql-connector-python (from versions: )No matching distribution found for mysql-connector-python 解决方案:wget https:/…
1-问题:Ubuntu下执行sudo pip install package-name 出现 sudo: pip: command not found 的问题. 2-原因:编译sudo的时候加入了–with-secure-path 选项.3-解决:在环境配置文件里加一个alias (1) vi ~/.bashrc 添加内容:alias sudo='sudo env PATH=$PATH' (2)source ~/.bashrc 再次执行安装…
1. pip install virtualenv virtualenv testvir cd testvir cd Scripts activate pip https://zhuanlan.zhihu.com/p/32286726 2.ipython python sudo pip install ipython brew install python python which python sudo pip install ipython ipython ipythonwhich ipyt…
Mac显示sudo: pip: command not found mac在安装完pip模块后,使用pip命令会提示sudo: pip: command not found moyanzhudeMacBook-Pro:~ oosmart$ sudo pip install pymysql sudo: pip: command not found command not found,表示系统没有找到该模块,可能是系统没有安装该模块,也可能没有设置环境变量. 安装模块 如果安装该模块,可以跳过该步骤…
安装提示更新:但是必须要sudo才行: sudo pip install --upgrade pip 安装 requests时有报错:这样写可以: sudo python -m pip install requests…
http://www.cnblogs.com/xiongqiangcs/p/4914049.html pip install --upgrade pip sudo pip install numpy --upgrade --ignore-installed sudo pip install scipy --upgrade --ignore-installed sudo pip install scikit-learn --upgrade --ignore-installed…
http://askubuntu.com/questions/130532/sudo-apt-get-install-ubuntu-desktop-error-unable-to-locate-package This may help you!!! Enter the following in terminal sudo su apt-get clean cd /var/lib/apt mv lists lists.old mkdir -p lists/partial apt-get clea…
安装locust时, 执行pip install locustio时报错 ERROR: Cannot uninstall 'requests'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall. 解决方式 sudo pip install locustio…
遇到问题 1.有些小伙伴在用pip安装selenium时候报 Read time out HTTPSConnectionPool(host='pypi.python.org' port443) 2.估计这些电脑不怎么正经,总是有奇葩问题 time out解决办法 1.如果是因为网速问题,超时了,可以加大pip安装时候的超时时间 pip --default-timeout=1000 install selenium==2.53.6 2.要是发现等了几分钟还是跟蜗牛一样在爬,那就设置个代理,用下面方…
sudo apt-get install: apt-get可以用来安装软件.更新源,也可以用来更新自Ubuntu的典型依赖包. (sudo apt-get remove --purge 软件名称 sudo apt-get autoremove --purge 软件名称 可以用来卸载相对应的安装) pip install: pip: Pip installs Packages, 是python的官方认可的包管理器,最常用于安装在Python包索引(PyPI)上发布的包. pip用来PyPI的pyt…
环境描述: Python 2.7.5 CentOS-7.2   报错现象: (1).在虚拟环境下运行 pip install 命令安装 PyPI 第三方库,出现类似如下告警. Running setup.py egg_info for package Werkzeug     no previously-included directories found matching 'docs/_build'     no previously-included directories found ma…
pip install xxx -i https://pypi.tuna.tsinghua.edu.cn/simple 快速下载…
pip install http://download.pytorch.org/whl/cu80/torch-0.2.0.post3-cp27-cp27mu-manylinux1_x86_64.whl pip install torchvision 今天在按照上面的命令安装pytorch的时候,首先将whl文件下载到本地,然后直接pip install该文件,再安装的时候报错,TypeError: unsupported operand type(s) for -=: 'Retry' and '…
pip install --upgrade urllib3==1.25.2 pip 安装,更新模块   moudle_name:是对应的模块名:请自行更换为自己需要更新的模块名 查看所有可更新的模块: pip list --outdated 更新某一个模块: pip install --upgrade module_name 指定更新源更新模块 pip install --upgrade -i https://pypi.douban.com/simple moudle_name 安装对应的模块:…
这个是老问题了 pip install -i https://pypi.douban.com/simple/ selenium 类似的,npm和gem安装的时候可以使用淘宝源.…
解决ubuntu的pip和apt-get太慢的问题 ubuntu国外龟速的源实在难受,还是自己动手更改一下各种pip 源和apt-get 的源吧,换了之后速度令人舒适! 更换pip源成清华源 临时使用: 可以在使用pip的时候加参数-i https://pypi.tuna.tsinghua.edu.cn/simple例如 pip install opencv-python -i https://pypi.tuna.tsinghua.edu.cn/simple 这样就从清华这边的镜像去安装open…
最近项目不忙了~~有开始专研的python大业,上来想用pip安装一个第三方的库,就一直报错: Could not fetch URL https://pypi.org/simple/xrld/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/xrld/ (Cause…
# pip install 提示代理连接失败原因及解决办法 1. 错误提示 在公司电脑上安装Python的虚拟环境时输入命令: pip install virtualenv 系统提示以下异常信息: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', timeo…
使用豆瓣源 比如安装pyspark pip install -i https://pypi.douban.com/simple/ pyspark 速度就比用pip install快N倍 关注公众号:…
Problem ReadTimeoutError: HTTPSConnectionPool(host='pypi.python.org', port=443): Read timed out. 1 Solution $ pip install matplotlib -i https://pypi.douban.com/simple 1 Reference 使用国内镜像源来加速python pypi包的安装…
而pip是很强大的Python包安装工具,但是由于国外官方pypi经常被墙,导致不可用,所以最好是将使用的pip源更换一下,这样就能解决被墙导致的装不上库的问题.网上有很多可用的源,例如豆瓣:http://pypi.douban.com/simple/清华:https://pypi.tuna.tsinghua.edu.cn/simple 1. 临时使用 可以在使用pip的时候加参数-i https://pypi.tuna.tsinghua.edu.cn/simple例如:pip install…
不知道为什么,加了豆瓣镜像源还是不行 这个命令可以解决! pip install -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com pakegename…