Rapid Photo Downloader cannot run without PyQt5 or Python (and many other dependencies). For now, PyQt5.11 does not run on Python 3.5.2. Period. For now, no program that uses PyQt 5.11 will work on Python 3.5.2.
Pip is not “broken” when it is used to install specific versions of a software library. That’s what it is meant to do. By default it will install the latest version, but that’s just a default. Sometimes installing the latest version breaks existing programs that work perfectly well with older versions. That’s life.
I’m sorry if you had the perception that I was disappointed at RapidPhotoDownloader. All the opposite, I love it! And I believe it’s a great job.
My disappointment is towards PyQt (not the first time it has issues like this…). I do appreciate that you actually figured a way to overcome this.
As for pip and it being ‘broken’… I meant that the software management is ‘broken’, not the software manager. However, I may have made an unhappy word choice. Pip works perfectly (actually I develop in Python, I know it quite well), as you said. It’s just a pity whenever one has to ‘manually’ track the versions installed of any lib.
Please, consider my suggestion just as it is: a suggestion for improvement. I do believe that a stand-alone self-contained package would be amazing (e.g. AppImage, flatpak, snap, …).
Regarding a snap, appimage or flatpak, yes they have their benefits. When I tried to make a snap, a bug in the snapcraft tool meant I could not proceed further. The snapcraft developers encouraged me to fix the bug but I don’t have time for that, so that’s not gone anywhere. An appimage is nice from some perspectives, but it’s a lot of work to prepare it. Work on that was started but it took too much time and it’s been dormant for many months. As for flatpak, I haven’t looked at it, and have no plans to because again I have no time to do it. Plus I’m cautious because Rapid Photo Downloader needs to read and write plenty of places, like the shared thumbnails directory, etc. Is that even possible from a flatpak app?
Later this year I hope to be able to reactivate the PPA, building on the work others already did with creating the Debian package for Rapid Photo Downloader, and its many dependencies, several of which had never been packaged.
It works for me on my instance of LinuxMint 18.3. PyQt5-5.11.3 is the correct version of PyQt5 for you. I assume you are using a recent version of the install.py script?
# curl https://bootstrap.pypa.io/get-pip.py | python3
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1622k 100 1622k 0 0 1914k 0 --:--:-- --:--:-- --:--:-- 1913k
Collecting pip
Downloading https://files.pythonhosted.org/packages/c2/d7/90f34cb0d83a6c5631cf71dfe64cc1054598c843a92b400e55675cc2ac37/pip-18.1-py2.py3-none-any.whl (1.3MB)
100% |████████████████████████████████| 1.3MB 2.9MB/s
Installing collected packages: pip
Found existing installation: pip 8.1.1
Uninstalling pip-8.1.1:
Successfully uninstalled pip-8.1.1
Successfully installed pip-18.1
…I got…
$ python3 install.py
Detected Linux distribution Linuxmint 18.3
Downloading https://launchpad.net/rapid/pyqt/0.9.13/+download/rapid-photo-downloader-0.9.13.tar.gz (6.8 MB)
0% [##############################] 100% | ETA: 00:00:00
Total time elapsed: 00:00:02
Querying package system to see if an older version of Rapid Photo Downloader is installed (this may take a while)...
Checking if previous version installed with pip...
Installing application requirements...
Ignoring pyzmq: markers 'python_version >= "3.6"' don't match your environment
Ignoring typing: markers 'python_version < "3.5"' don't match your environment
Ignoring scandir: markers 'python_version < "3.5"' don't match your environment
Looking in indexes: https://pypi.python.org/simple/
Requirement already satisfied: psutil>=3.4.2 in /home/jens/.local/lib/python3.5/site-packages (from -r /tmp/tmp5ha37vir (line 4)) (5.4.8)
Requirement already satisfied: gphoto2>=1.4.0 in /home/jens/.local/lib/python3.5/site-packages (from -r /tmp/tmp5ha37vir (line 5)) (1.8.5)
Requirement already satisfied: pyzmq<=15.1.0,>=14.4.1 in /home/jens/.local/lib/python3.5/site-packages (from -r /tmp/tmp5ha37vir (line 6)) (15.1.0)
Requirement already satisfied: pyxdg>=0.25 in /home/jens/.local/lib/python3.5/site-packages (from -r /tmp/tmp5ha37vir (line 8)) (0.26)
Requirement already satisfied: arrow>=0.6.0 in /home/jens/.local/lib/python3.5/site-packages (from -r /tmp/tmp5ha37vir (line 9)) (0.12.1)
Requirement already satisfied: python-dateutil>=2.2 in /home/jens/.local/lib/python3.5/site-packages (from -r /tmp/tmp5ha37vir (line 10)) (2.7.5)
Requirement already satisfied: rawkit>=0.6.0 in /home/jens/.local/lib/python3.5/site-packages (from -r /tmp/tmp5ha37vir (line 11)) (0.6.0)
Requirement already satisfied: PyPrind>=2.9.4 in /home/jens/.local/lib/python3.5/site-packages (from -r /tmp/tmp5ha37vir (line 12)) (2.11.2)
Requirement already satisfied: colorlog>=2.6 in /home/jens/.local/lib/python3.5/site-packages (from -r /tmp/tmp5ha37vir (line 13)) (3.1.4)
Requirement already satisfied: easygui<=0.97.4 in /home/jens/.local/lib/python3.5/site-packages (from -r /tmp/tmp5ha37vir (line 16)) (0.97.4)
Requirement already satisfied: colour in /home/jens/.local/lib/python3.5/site-packages (from -r /tmp/tmp5ha37vir (line 17)) (0.1.5)
Requirement already satisfied: pymediainfo>=2.2.0 in /home/jens/.local/lib/python3.5/site-packages (from -r /tmp/tmp5ha37vir (line 18)) (3.0)
Requirement already satisfied: sortedcontainers in /home/jens/.local/lib/python3.5/site-packages (from -r /tmp/tmp5ha37vir (line 19)) (2.1.0)
Requirement already satisfied: requests in /home/jens/.local/lib/python3.5/site-packages (from -r /tmp/tmp5ha37vir (line 20)) (2.20.1)
Requirement already satisfied: tornado<5.0 in /home/jens/.local/lib/python3.5/site-packages (from -r /tmp/tmp5ha37vir (line 21)) (4.5.3)
Requirement already satisfied: six>=1.5 in /home/jens/.local/lib/python3.5/site-packages (from python-dateutil>=2.2->-r /tmp/tmp5ha37vir (line 10)) (1.11.0)
Requirement already satisfied: setuptools in /home/jens/.local/lib/python3.5/site-packages (from pymediainfo>=2.2.0->-r /tmp/tmp5ha37vir (line 18)) (40.6.2)
Requirement already satisfied: idna<2.8,>=2.5 in /home/jens/.local/lib/python3.5/site-packages (from requests->-r /tmp/tmp5ha37vir (line 20)) (2.7)
Requirement already satisfied: urllib3<1.25,>=1.21.1 in /home/jens/.local/lib/python3.5/site-packages (from requests->-r /tmp/tmp5ha37vir (line 20)) (1.24.1)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /home/jens/.local/lib/python3.5/site-packages (from requests->-r /tmp/tmp5ha37vir (line 20)) (3.0.4)
Requirement already satisfied: certifi>=2017.4.17 in /home/jens/.local/lib/python3.5/site-packages (from requests->-r /tmp/tmp5ha37vir (line 20)) (2018.11.29)
PyQt5 will be upgraded from version 5.10 to version 5.11.3
Uninstalling PyQt5-5.10:
Successfully uninstalled PyQt5-5.10
Collecting PyQt5
Using cached https://files.pythonhosted.org/packages/d4/bf/d884da8e2f7096d201c891d515eb6813a8e85df5eb6f5e12e867bf1d831c/PyQt5-5.11.3-5.11.2-cp35.cp36.cp37.cp38-abi3-manylinux1_x86_64.whl
Requirement already satisfied: PyQt5_sip in /home/jens/.local/lib/python3.5/site-packages (4.19.13)
Installing collected packages: PyQt5
Successfully installed PyQt5-5.11.3
Installing application...
Processing /tmp/tmp4soguegh/rapid-photo-downloader-0.9.13.tar.gz
Building wheels for collected packages: rapid-photo-downloader
Running setup.py bdist_wheel for rapid-photo-downloader: started
Running setup.py bdist_wheel for rapid-photo-downloader: finished with status 'done'
Stored in directory: /home/jens/.cache/pip/wheels/8b/3b/64/30e8b6830919caeba970e9922c543cb8e3f2d8488481768e9c
Successfully built rapid-photo-downloader
Installing collected packages: rapid-photo-downloader
Received error code 1
Failed to install application: exiting...
… “Error Code 1” seems to be a progress
Then I tried…
$ python3 -m pip install --user --upgrade pip==9.0.3
Collecting pip==9.0.3
Downloading https://files.pythonhosted.org/packages/ac/95/a05b56bb975efa78d3557efa36acaf9cf5d2fd0ee0062060493687432e03/pip-9.0.3-py2.py3-none-any.whl (1.4MB)
100% |████████████████████████████████| 1.4MB 2.3MB/s
Installing collected packages: pip
Successfully installed pip-9.0.3
You are using pip version 9.0.3, however version 18.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
… and I got…
$ python3 install.py
Detected Linux distribution Linuxmint 18.3
Downloading https://launchpad.net/rapid/pyqt/0.9.13/+download/rapid-photo-downloader-0.9.13.tar.gz (6.8 MB)
0% [##############################] 100% | ETA: 00:00:00
Total time elapsed: 00:00:02
Querying package system to see if an older version of Rapid Photo Downloader is installed (this may take a while)...
Checking if previous version installed with pip...
Uninstalling rapid-photo-downloader-0.9.13:
Successfully uninstalled rapid-photo-downloader-0.9.13
Installing application requirements...
Requirement already satisfied: psutil>=3.4.2 in /home/jens/.local/lib/python3.5/site-packages (from -r /tmp/tmp8fd6dlcr (line 4))
Requirement already satisfied: gphoto2>=1.4.0 in /home/jens/.local/lib/python3.5/site-packages (from -r /tmp/tmp8fd6dlcr (line 5))
Requirement already satisfied: pyzmq<=15.1.0,>=14.4.1 in /home/jens/.local/lib/python3.5/site-packages (from -r /tmp/tmp8fd6dlcr (line 6))
Requirement already satisfied: pyxdg>=0.25 in /home/jens/.local/lib/python3.5/site-packages (from -r /tmp/tmp8fd6dlcr (line 8))
Requirement already satisfied: arrow>=0.6.0 in /home/jens/.local/lib/python3.5/site-packages (from -r /tmp/tmp8fd6dlcr (line 9))
Requirement already satisfied: python-dateutil>=2.2 in /home/jens/.local/lib/python3.5/site-packages (from -r /tmp/tmp8fd6dlcr (line 10))
Requirement already satisfied: rawkit>=0.6.0 in /home/jens/.local/lib/python3.5/site-packages (from -r /tmp/tmp8fd6dlcr (line 11))
Requirement already satisfied: PyPrind>=2.9.4 in /home/jens/.local/lib/python3.5/site-packages (from -r /tmp/tmp8fd6dlcr (line 12))
Requirement already satisfied: colorlog>=2.6 in /home/jens/.local/lib/python3.5/site-packages (from -r /tmp/tmp8fd6dlcr (line 13))
Requirement already satisfied: easygui<=0.97.4 in /home/jens/.local/lib/python3.5/site-packages (from -r /tmp/tmp8fd6dlcr (line 16))
Requirement already satisfied: colour in /home/jens/.local/lib/python3.5/site-packages (from -r /tmp/tmp8fd6dlcr (line 17))
Requirement already satisfied: pymediainfo>=2.2.0 in /home/jens/.local/lib/python3.5/site-packages (from -r /tmp/tmp8fd6dlcr (line 18))
Requirement already satisfied: sortedcontainers in /home/jens/.local/lib/python3.5/site-packages (from -r /tmp/tmp8fd6dlcr (line 19))
Requirement already satisfied: requests in /home/jens/.local/lib/python3.5/site-packages (from -r /tmp/tmp8fd6dlcr (line 20))
Requirement already satisfied: tornado<5.0 in /home/jens/.local/lib/python3.5/site-packages (from -r /tmp/tmp8fd6dlcr (line 21))
Requirement already satisfied: six>=1.5 in /home/jens/.local/lib/python3.5/site-packages (from python-dateutil>=2.2->-r /tmp/tmp8fd6dlcr (line 10))
Requirement already satisfied: setuptools in /home/jens/.local/lib/python3.5/site-packages (from pymediainfo>=2.2.0->-r /tmp/tmp8fd6dlcr (line 18))
Requirement already satisfied: certifi>=2017.4.17 in /home/jens/.local/lib/python3.5/site-packages (from requests->-r /tmp/tmp8fd6dlcr (line 20))
Requirement already satisfied: urllib3<1.25,>=1.21.1 in /home/jens/.local/lib/python3.5/site-packages (from requests->-r /tmp/tmp8fd6dlcr (line 20))
Requirement already satisfied: idna<2.8,>=2.5 in /home/jens/.local/lib/python3.5/site-packages (from requests->-r /tmp/tmp8fd6dlcr (line 20))
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /home/jens/.local/lib/python3.5/site-packages (from requests->-r /tmp/tmp8fd6dlcr (line 20))
Installing application...
Processing /tmp/tmpjyxi09a3/rapid-photo-downloader-0.9.13.tar.gz
Building wheels for collected packages: rapid-photo-downloader
Running setup.py bdist_wheel for rapid-photo-downloader: started
Running setup.py bdist_wheel for rapid-photo-downloader: finished with status 'done'
Stored in directory: /home/jens/.cache/pip/wheels/94/43/97/a832068de821b60d5c9f1746574614daf802c22d100ec59e85
Successfully built rapid-photo-downloader
Installing collected packages: rapid-photo-downloader
Received error code 2
Failed to install application: exiting...
It’s difficult to say without knowing what else is going on in your system. What I do know is that I’ve confirmed it works for me on Mint 18.3.
Since you are comfortable installing different versions of pip, I suggest doing some analysis of the problem. Upgrade pip to the latest version. Use pip3 to install the tarball itself, using the --verbose and --no-deps command line options. The verbose output should indicate the nature of the error on your system.