virtualenv python3

1. start venv

apt-get install python3-pip
pip3 install virualenv
cd /software/code

virtualenv --no-site-packages venv
source venv/bin/activate

2. end venv

deactivate 

 3. pip install

pip install requests
pip install scrapy
...

 

posted @ 2018-03-26 09:56  yugengde  阅读(80)  评论(0编辑  收藏  举报