Python Problems

I’m having some difficulties using Python. I have multiple versions of python in /usr/bin. I’m using virtualenv to switch around. When I virtualenv -p /usr/bin/python3.5 and activate it, pip install psutil gives an installation error. Even when I sudo -H it doesn’t install it, as I cannot see it in pip list. Any ideas? Below is the error I am getting. I was thinking of installing Anaconda instead. Is that a bad idea? error: command ‘x86_64-linux-gnu-gcc’ failed with exit status 1

----------------------------------------

Command “/home/bard/Code/environments/python3.5_env/bin/python3.5 -u -c “import setuptools, tokenize;file=’/tmp/pip-build-5ears985/psutil/setup.py’;f=getattr(tokenize, ‘open’, open)(file);code=f.read().replace(’\r\n’, ‘\n’);f.close();exec(compile(code, file, ‘exec’))” install --record /tmp/pip-o4cnc9zz-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/bard/Code/environments/python3.5_env/include/site/python3.5/psutil” failed with error code 1 in /tmp/pip-build-5ears985/psutil/