这两天在网上了点Python的视频,需要用安装些第三方插件,安装插件的方法一般有:
python插件安装
easy_install package
pip install package
其中下面一种方式是上面方式的替代品,python2.7已经集成了pip。
安装插件报错
昨天看了个使用beautifulsoup4解析网页的教程,而beautifulsoup是个第三方插件,所以需要使用以上方法安装,Win7 64位系统报出如下错误:
Fatal error in launcher: Unable to create process using '""C:\Program Files (x86)\Python27\python.exe"" "C:\Program Files (x86)\Python27\Scripts\pip.exe"
无法创建使用pip.exe创建进程,说白了就是无法启动pip安装插件。dn't install. If I try to install the same package not in virtual environment then it gets installed. Every time I get the different errors. I am pasting one of the errors below which I got while installing scrapy. Command "/home/namita/ven
解决办法
办法1:
python -m pip install package
办法2:
先升级pip
python -m pip install -U pip
正常安装
pip install package
n path. How do I get pip to work without having to reinstall everything in a path without spaces python pip share | improve this question edited May 8 '15 at 0:15 Csaba Toth 3,490 1 24 47 asked Jul 8 '14 at 8:51 Archimedix 6,281 3 34 52