error: error in 'egg_base' option: 'src' does not exist or is not a directory
I got similar problem when running setup.py by jython from outside of setup.py folder (just like your case). I don't know the root cause but when you change folder to where setup.py and scr folder is, installation completes.
cd /tmp/tmpl3kyfibgpycharm-management/pip-10.0.1
python setup.py install
Change your interpreter to (VENV) instead of User
For python 3 you must install it using
sudo apt-get install python3-pip
it will work for python 2.7
sudo apt-get install python-pip
When choose the route of Project Interpreter, you'd better select the route '/usr/bin/python3'
instead of '/usr/bin/python3.6'
.