美文网首页
mac上安装virtualenvwrapper

mac上安装virtualenvwrapper

作者: 丙吉 | 来源:发表于2020-06-24 22:28 被阅读0次

最近在学习NLP时,有一点爬虫的项目,之前要搭建个虚拟环境。

就按视频上的

1。 pip install virtualenvwrapper,结果报错,

ERROR: Cannot uninstall 'filelock'. It is a distutils installed project and thus we cannot accurately determine which files 。。。

结果按这个错误又找了下,还是报错。

2。 最后的解决问题的方式:

https://www.cnblogs.com/lyfstorm/p/12328986.html

3。 按照上述文档能成功安装,但在创建新的环境时(mkvirtualenv spider_1),出现如下报错,

virtualenv: error: unrecognized arguments: --no-site-packages

4。 我的问题 可能是版本的问题,我把旧版本重安装个即可。

https://www.cnblogs.com/Neeo/articles/12327035.html

相关文章

网友评论

      本文标题:mac上安装virtualenvwrapper

      本文链接:https://www.haomeiwen.com/subject/ovndfktx.html