vim ~/.bashrc 配置后出错

来源:2-4 虚拟环境的安装和配置

Lee_D_尼奥

2018-01-09

编辑页面http://img.mukewang.com/szimg/5a5495e0000125a303720464.jpg

http://img.mukewang.com/szimg/5a5495e00001afb410290185.jpg出错提示:

[root@izwz9hfhto8e2vr5uj8ci1z ~]# vim ~/.bashrc

[root@izwz9hfhto8e2vr5uj8ci1z ~]# source ~/.bashrc

/usr/bin/python: Error while finding module specification for 'virtualenvwrapper.hook_loader' (ImportError: No module named 'virtualenvwrapper')

virtualenvwrapper.sh: There was a problem running the initialization hooks.


If Python could not import the module virtualenvwrapper.hook_loader,

check that virtualenvwrapper has been installed for

VIRTUALENVWRAPPER_PYTHON=/usr/bin/python and that PATH is

set properly.


写回答

Scrapy打造搜索引擎 畅销4年的Python分布式爬虫课

带你彻底掌握Scrapy,用Django+Elasticsearch搭建搜索引擎

5796 学习 · 6290 问题

查看课程