1

I followed this guide to install Python 3.4.2 on a RedHat 7.2 instance on an EC2 server: https://stackoverflow.com/a/27676035/5201726

I read that python 3.4 ships with pip installed, but I cant seem to get it to run, I've tried:

pip3

python3 pip

Any ideas? I followed the guide to the letter. Thanks in advance for any help.

Community
  • 1
  • 1
user5201726
  • 542
  • 1
  • 5
  • 13

1 Answers1

0

If you want to access to pip command the default Python 3.4 installation you can create a Python virtual environment which is the preferred way to install non-distribution packages.

  python3.4 -m venv myvenv
  source myvenv/bin/activate
  pip install Pyramid  # Install Pyramid package
Mikko Ohtamaa
  • 82,057
  • 50
  • 264
  • 435
  • When virtual environment is created it is locked to a certain Python version. If you use python3.4 to create virtual environment it is for this version and pip will work with it. – Mikko Ohtamaa Jan 15 '16 at 19:17