0

I need to install 'easypg' module for Python,

$ pip install easypg

does the job, but it installs the module for python2.7. I have versions of python on my machine. How do I specify installation for python3 ?

ilya_i
  • 333
  • 5
  • 14
  • http://stackoverflow.com/questions/10763440/how-to-install-python3-version-of-package-via-pip – ndpu Feb 01 '14 at 08:43

1 Answers1

1

Install virtualenv for python3 Then try these commands:

virtualenv -p /usr/bin/python3 env-name
source env-name/bin/activate
pip install easypg

or

virtualenv-3.x  env-name
source env-name/bin/activate
pip install easypg
Yogesh dwivedi Geitpl
  • 4,252
  • 2
  • 20
  • 34