Advertisement
Guest User

Untitled

a guest
Jul 25th, 2016
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.23 KB | None | 0 0
  1. my_api@my_server:~$ rm -rf venv/
  2. my_api@my_server:~$ conda create -p venv python==2.7.11
  3. Fetching package metadata: ......................
  4. Solving package specifications: .........
  5.  
  6. Package plan for installation in environment /home/my_api/venv:
  7.  
  8. The following NEW packages will be INSTALLED:
  9.  
  10. certifi: 2016.2.28-py27_1 (soft-link)
  11. openssl: 1.0.2h-1
  12. pip: 8.1.2-py27_0
  13. python: 2.7.11-5 (soft-link)
  14. readline: 6.2-2 (soft-link)
  15. setuptools: 23.0.0-py27_1 (soft-link)
  16. sqlite: 3.13.0-1
  17. tk: 8.5.18-0 (soft-link)
  18. wheel: 0.29.0-py27_0 (soft-link)
  19. zlib: 1.2.8-3
  20.  
  21. Proceed ([y]/n)?
  22.  
  23. Linking packages ...
  24. [ COMPLETE ]|####################################################################################################################################################################################| 100%
  25. #
  26. # To activate this environment, use:
  27. # $ source activate /home/my_api/venv
  28. #
  29. # To deactivate this environment, use:
  30. # $ source deactivate
  31. #
  32. my_api@my_server:~$ conda install -p venv gunicorn python==2.7.11
  33. Fetching package metadata: ......................
  34. Solving package specifications: .........
  35.  
  36. Package plan for installation in environment /home/my_api/venv:
  37.  
  38. The following NEW packages will be INSTALLED:
  39.  
  40. gunicorn: 19.6.0-py27_0
  41.  
  42. Proceed ([y]/n)?
  43.  
  44. Linking packages ...
  45. [ COMPLETE ]|####################################################################################################################################################################################| 100% ssl/
  46. my_api@my_server:~$ venv/bin/gunicorn
  47. Traceback (most recent call last):
  48. File "venv/bin/gunicorn", line 4, in <module>
  49. import gunicorn.app.wsgiapp
  50. ImportError: No module named gunicorn.app.wsgiapp
  51.  
  52. my_api@my_server:~$ source activate /home/my_api/venv
  53. discarding /opt/conda/bin from PATH
  54. prepending /home/my_api/venv/bin to PATH
  55.  
  56. (/home/my_api/venv)my_api@my_server:~$ gunicorn
  57. Traceback (most recent call last):
  58. File "/home/my_api/venv/bin/gunicorn", line 4, in <module>
  59. import gunicorn.app.wsgiapp
  60. ImportError: No module named gunicorn.app.wsgiapp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement