yusekiya / tsp_gui

GUI application for traveling salesman problem
GNU General Public License v3.0
4 stars 1 forks source link

ERROR OF PyQt4?? #2

Open raz455 opened 5 years ago

raz455 commented 5 years ago

Getting Error while running Below: pip3 install PyQt4

Collecting PyQt4 "Could not find a version that satisfies the requirement PyQt4 (from versions: ) No matching distribution found for PyQt4"

How to solve This Error , Searched On google, and Found This and " if you look at the PyQt5's page on PyPI, you'll see that only pre-built binaries (wheels) are available (no sources), and those are for a limited set of Python versions/architectures (starting with Python 3.5)."

How to Resolve It??

yusekiya commented 5 years ago

As you mentioned, PyQt4 doesn't seem to be provided in PyPI, but we can install PyQt4 via conda. The following works for me on macOS 10.13.6 and Anaconda 2019.03.

$ conda create -n pyqt4 python=3.5 pyqt=4.* numpy matplotlib
$ conda activate pyqt4
$ python tsp_gui.py