Python Forum
Attempting to update from python3.5 to python 3.7
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Attempting to update from python3.5 to python 3.7
#1
My original reason for updating may be wrong. Originally, I wanted to update because I tried converting a GUI i built in PyQt4 to PyQt5 and I got a strange error:
ImportError: /home/server.com/rob/.local/lib/python3.5/site-packages/PyQt5/QtGui.so: undefined symbol: PySlice_AdjustIndices
I figured this error had to have something to do with the version of python I was using. So I went ahead and tried updating Python via this guide I found: https://www.linuxbabe.com/ubuntu/ins...04-16-10-17-04, method 1.

The conversion worked just fine; however, now I can't seem to figure out how to install modules for 3.7. Pip install only installs modules for 3.5.

On top of that I am starting to think my original error had nothing to do with my version because I have ran across a few posts on SO where people are using PyQt5 with older versions of python like 3.5.

So I guess my question is: How do I install modules so that py3.7 can see and use them?
Reply
#2
perhaps you should uninstall, and reinstall using a proven method.
See: https://python-forum.io/Thread-Basic-Par...ight=Linux
Reply
#3
(Jul-19-2018, 09:33 PM)Larz60+ Wrote: perhaps you should uninstall, and reinstall using a proven method. See: https://python-forum.io/Thread-Basic-Par...ight=Linux

Will following that guide make it so that when I do a pip3 install xmodule it installs that module s/t both python3.5.2 and python3.7 will be able to use it?
Reply
#4
pip must be installed for each python version.
I believe snippsat addresses that (multiple python version) issue.
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020