please help.
I have install two version of "requests" module by Python. And in result i have version 2.2.1 and 2.7.0
But by default I get
python2 -c 'import requests; print requests.__version__'
2.2.1
How to change to 2.2.7?
please help.
I have install two version of "requests" module by Python. And in result i have version 2.2.1 and 2.7.0
But by default I get
python2 -c 'import requests; print requests.__version__'
2.2.1
How to change to 2.2.7?
you can locate your python in this path :usr/bin/python. In your case you will have 2 versions 2.2 2.7.
While executing python code for `2.2', do this :
usr/bin/python2.2 code.py - this will use 2.2. Do the same for 2.7