0

I am trying to install python version 3.4.1 inside a virtualenv using a following command:

pip install -r requirements.txt

requirements.txt: python==3.4.1

It results in an error :

SyntaxError: unqualified exec is not allowed in function 'configure_ctypes' it contains a nested function with free variables

Can somebody help me installing python 3.4.1 inside a virtual environment.Thanks.

Yoel
  • 8,469
  • 7
  • 39
  • 55
RBH
  • 562
  • 3
  • 11
  • 1
    Did you try creating the virtual environment with that python version? you can refer to this for help : http://stackoverflow.com/questions/5506110/is-it-possible-to-install-another-version-of-python-to-virtualenv – Yousef_Shamshoum Oct 02 '14 at 09:59
  • Thanks. The link was useful. – RBH Oct 02 '14 at 11:06

0 Answers0