+ 2

How to switch pip from python 3.7.3 to python 3.4.0 in windows? I wanted to install pyside

How to switch pip from python 3.7.3 to python 3.4.0 in windows? I wanted to install pyside

15th May 2020, 3:48 PM
Zhenis Otarbay
Zhenis Otarbay - avatar
5 Respuestas
+ 3
Try this: 1- Find pip file inside python 3.4.0/scripts 2- write the path +/pip in the command prompt instead of just pip 3- install <module>
15th May 2020, 4:12 PM
Yamen Ghozlan
Yamen Ghozlan - avatar
+ 2
Yamen that makes sense, thank you
15th May 2020, 4:13 PM
Zhenis Otarbay
Zhenis Otarbay - avatar
+ 2
Yamen now my py is py3.4, but, when i tried to install pyside i got this: Command C:\Python34\python.exe -c "import setuptools, tokenize;__file__='C:\\Users\\nuhum\\AppData\\Local\\Temp\\pip_build_nuhum\\pyside\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install —record C:\Users\nuhum\AppData\Local\Temp\pip-99_cmww3-record\install-record.txt —single-version-externally-managed —compile failed with error code 1 in C:\Users\nuhum\AppData\Local\Temp\pip_build_nuhum\pyside Storing debug log for failure in C:\Users\nuhum\pip\pip.log what to do?
15th May 2020, 4:37 PM
Zhenis Otarbay
Zhenis Otarbay - avatar
+ 2
I'm not actuality sure why did this happen, perhaps you didn't find the proper pip file anyways try this instead it may work for you [in command prompt]: python-3.4 -m pip install pyside
15th May 2020, 5:30 PM
Yamen Ghozlan
Yamen Ghozlan - avatar
0
Zhenis Otarbay to use different python versions on the same system and distinguish them between your projects I recommend to start using such tools as venv, virtualenv, poetry and etc. This tools help and manage isolated python environment for your project where you can easily install preferred python and package (pip) version.
18th May 2020, 11:26 PM
Ilyas Bakirov
Ilyas Bakirov - avatar