美文网首页
linux搭建python环境

linux搭建python环境

作者: 贾梦阳 | 来源:发表于2017-05-27 15:31 被阅读161次

1.sudo apt-get intsall python3.5

2.sudo apt-get install python-virtualenv

3.pip install virtualenvwrapper

4.vim ~./bashrc

5.export WORKON_HOME=$HOME/.virtualenvs

source /home/jmy/.local/virtualenvwrapper.sh

6.source ~/.bashrc

7.mkvirtualenvtest   #default is python2

8.mkvirtualenv --python =/usr/local/bin/python3 pyscrapy  #where python3 located

相关文章

网友评论

      本文标题:linux搭建python环境

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