老师,我安装视频中的步骤用的Python3的pip3 安装你视频中说的插件,安装完成后通过命令查找到了对应路径,然后在用户目录下没有你视频中说的那个文件 ~/.bashrc 然后我自己创建了一个空白的,把你视频中的那2行代码加了进去,然后source 这个文件 这时候出现了错误,提示如下:
/usr/bin/python: 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.
’’'
请问这种情况是什么原因?
我用的事Mac 系统自带Python2 我自己安装的python3
带你彻底掌握Scrapy,用Django+Elasticsearch搭建搜索引擎
了解课程