Running: Ubuntu 16.04 and Python 3.5.2
So I ran a script which I found here:
https://github.com/rferrazz/pyqt4topyqt5
in order to convert one of my projects built in PyQt4 into a PyQt5 project.
I ran the script and the conversion was made just fine with no errors. The only problem, when I try to run the new PyQt5 project I get the following error:
Code:
ImportError: /usr/local/lib/python3.5/dist-packages/PyQt5/QtGui.so: undefined symbol: PySlice_AdjustIndices
I am not positive but it seemed to me this would be a version error of some kind, which brings me to my question. Is there a method of updating Python from 3.5 to the newest version release which I believe is 3.7 from the command prompt?
If not what is the easiest method of completly uninstalling python3.5 and upgrading to py3.7?
I tried:
sudo apt-get install python3.7.0
and it says that 3.7 does not exist but if I go to the python website I can see that it does exist. I know I installed my current version of python using sudo apt-get so I am not sure what the deal is.