Last active
October 30, 2019 18:47
-
-
Save heyman/95ee0df663b2d4b9d6fb to your computer and use it in GitHub Desktop.
Installing Locust on Ubuntu 14.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
sudo apt-get install -y python-pip | |
sudo apt-get install -y python-dev | |
sudo apt-get install -y libzmq-dev | |
sudo pip install virtualenv | |
virtualenv venv | |
source venv/bin/activate | |
pip install locustio | |
pip install pyzmq |
Hello,
From the error I see, when you are executing the virtualenv venv you do not have the permission to make a new folder. Please try sudo virtualenv venv and tell me if it's working.
Have a nice day!
Florin Dita
Is virtualenv necessary?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
HeyMan,
I am trying to install locust.io on a fresh installation of ubuntu 14 x64.
But when I start to start virtualenv it gives me this error 👍
Traceback (most recent call last):
File "/usr/local/bin/virtualenv", line 11, in
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/virtualenv.py", line 824, in main
symlink=options.symlink)
File "/usr/local/lib/python2.7/dist-packages/virtualenv.py", line 984, in create_environment
site_packages=site_packages, clear=clear, symlink=symlink))
File "/usr/local/lib/python2.7/dist-packages/virtualenv.py", line 1158, in install_python
mkdir(lib_dir)
File "/usr/local/lib/python2.7/dist-packages/virtualenv.py", line 447, in mkdir
os.makedirs(path)
File "/usr/lib/python2.7/os.py", line 150, in makedirs
makedirs(head, mode)
File "/usr/lib/python2.7/os.py", line 150, in makedirs
makedirs(head, mode)
File "/usr/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: 'venv'
Any idea on how to fix this ?
Thank you