This commit is contained in:
light jiang
2018-12-17 18:10:33 +08:00
parent 051d1db55d
commit 9aed47964e
10 changed files with 279 additions and 33 deletions
+16
View File
@@ -1,6 +1,22 @@
# virtualenv not
```bash
pip install virtualenv
pip install virtualenvwrapper
```
> virtualenv -p /usr/bin/python3 --system-site-packages venv
> virtualenv -p /usr/bin/python2 --no-site-packages env
```bash
# .zshrc
WORKON_HOME=~/.virtualenv
export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3
source /usr/local/bin/virtualenvwrapper.sh
mkvirtualenv rospy2 -p /usr/bin/python
```