Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- my_api@my_server:~$ rm -rf venv/
- my_api@my_server:~$ conda create -p venv python==2.7.11
- Fetching package metadata: ......................
- Solving package specifications: .........
- Package plan for installation in environment /home/my_api/venv:
- The following NEW packages will be INSTALLED:
- certifi: 2016.2.28-py27_1 (soft-link)
- openssl: 1.0.2h-1
- pip: 8.1.2-py27_0
- python: 2.7.11-5 (soft-link)
- readline: 6.2-2 (soft-link)
- setuptools: 23.0.0-py27_1 (soft-link)
- sqlite: 3.13.0-1
- tk: 8.5.18-0 (soft-link)
- wheel: 0.29.0-py27_0 (soft-link)
- zlib: 1.2.8-3
- Proceed ([y]/n)?
- Linking packages ...
- [ COMPLETE ]|####################################################################################################################################################################################| 100%
- #
- # To activate this environment, use:
- # $ source activate /home/my_api/venv
- #
- # To deactivate this environment, use:
- # $ source deactivate
- #
- my_api@my_server:~$ conda install -p venv gunicorn python==2.7.11
- Fetching package metadata: ......................
- Solving package specifications: .........
- Package plan for installation in environment /home/my_api/venv:
- The following NEW packages will be INSTALLED:
- gunicorn: 19.6.0-py27_0
- Proceed ([y]/n)?
- Linking packages ...
- [ COMPLETE ]|####################################################################################################################################################################################| 100% ssl/
- my_api@my_server:~$ venv/bin/gunicorn
- Traceback (most recent call last):
- File "venv/bin/gunicorn", line 4, in <module>
- import gunicorn.app.wsgiapp
- ImportError: No module named gunicorn.app.wsgiapp
- my_api@my_server:~$ source activate /home/my_api/venv
- discarding /opt/conda/bin from PATH
- prepending /home/my_api/venv/bin to PATH
- (/home/my_api/venv)my_api@my_server:~$ gunicorn
- Traceback (most recent call last):
- File "/home/my_api/venv/bin/gunicorn", line 4, in <module>
- import gunicorn.app.wsgiapp
- ImportError: No module named gunicorn.app.wsgiapp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement