Installation fails with Python3 <= 3.5.3

Bug #1784175 reported by kari hardarson
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Rapid Photo Downloader
Fix Released
Critical
Damon Lynch

Bug Description

It installs but it won't run.

First it complains about missing pip.

then it can't run Qt.

See below:

python3 install.py
Downloading https://launchpad.net/rapid/pyqt/0.9.9/+download/rapid-photo-downloader-0.9.9.tar.gz (6.75 MB)
Downloading.... done!
Checking if previous version installed with pip...

Installing application requirements...

Collecting psutil>=3.4.2 (from -r /tmp/tmpvzqs3xdb (line 4))
Collecting gphoto2>=1.4.0 (from -r /tmp/tmpvzqs3xdb (line 5))
Collecting pyzmq<=15.1.0,>=14.4.1 (from -r /tmp/tmpvzqs3xdb (line 6))
Collecting pyxdg>=0.25 (from -r /tmp/tmpvzqs3xdb (line 8))
  Using cached https://files.pythonhosted.org/packages/39/03/12eb9062f43adb94e30f366743cb5c83fd15fef026500cd4de42c7c12280/pyxdg-0.26-py2.py3-none-any.whl
Collecting arrow>=0.6.0 (from -r /tmp/tmpvzqs3xdb (line 9))
Collecting python-dateutil>=2.2 (from -r /tmp/tmpvzqs3xdb (line 10))
  Using cached https://files.pythonhosted.org/packages/cf/f5/af2b09c957ace60dcfac112b669c45c8c97e32f94aa8b56da4c6d1682825/python_dateutil-2.7.3-py2.py3-none-any.whl
Collecting rawkit>=0.6.0 (from -r /tmp/tmpvzqs3xdb (line 11))
  Using cached https://files.pythonhosted.org/packages/33/a1/b99402cc6b1d7296163a0e3e3a37f132d62e7a9e1662ada4749e419edaf7/rawkit-0.6.0-py2.py3-none-any.whl
Collecting PyPrind>=2.9.4 (from -r /tmp/tmpvzqs3xdb (line 12))
  Using cached https://files.pythonhosted.org/packages/1e/30/e76fb0c45da8aef49ea8d2a90d4e7a6877b45894c25f12fb961f009a891e/PyPrind-2.11.2-py3-none-any.whl
Collecting colorlog>=2.6 (from -r /tmp/tmpvzqs3xdb (line 13))
  Using cached https://files.pythonhosted.org/packages/69/eb/58ae10d3c46a0195ffdd0e3943d255d0d5029d71e5457785ecd665bcf0f3/colorlog-3.1.4-py2.py3-none-any.whl
Collecting easygui<=0.97.4 (from -r /tmp/tmpvzqs3xdb (line 16))
  Using cached https://files.pythonhosted.org/packages/c6/4d/79f8dd1d3c9e2bdc134ae07a5821831a37fb4e8f3f1243a069b8e70fdd2c/easygui-0.97.4-py2.py3-none-any.whl
Collecting colour (from -r /tmp/tmpvzqs3xdb (line 17))
  Using cached https://files.pythonhosted.org/packages/74/46/e81907704ab203206769dee1385dc77e1407576ff8f50a0681d0a6b541be/colour-0.1.5-py2.py3-none-any.whl
Collecting pymediainfo>=2.2.0 (from -r /tmp/tmpvzqs3xdb (line 18))
Collecting sortedcontainers (from -r /tmp/tmpvzqs3xdb (line 19))
  Using cached https://files.pythonhosted.org/packages/cb/53/fe764fc8042e13245b50c4032fb2f857bc1e502aaca83063dcdf6b94d223/sortedcontainers-2.0.4-py2.py3-none-any.whl
Collecting requests (from -r /tmp/tmpvzqs3xdb (line 20))
  Using cached https://files.pythonhosted.org/packages/65/47/7e02164a2a3db50ed6d8a6ab1d6d60b69c4c3fdf57a284257925dfc12bda/requests-2.19.1-py2.py3-none-any.whl
Collecting tornado<5.0 (from -r /tmp/tmpvzqs3xdb (line 21))
Collecting PyQt5>=5.9.2 (from -r /tmp/tmpvzqs3xdb (line 22))
  Using cached https://files.pythonhosted.org/packages/3a/c7/4a9bec78c864051051b41b4cc76672ecc232e6dc7dbb91a5f8ff6f20ff64/PyQt5-5.11.2-5.11.1-cp35.cp36.cp37.cp38-abi3-manylinux1_x86_64.whl
Collecting six>=1.5 (from python-dateutil>=2.2->-r /tmp/tmpvzqs3xdb (line 10))
  Using cached https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
Collecting setuptools (from pymediainfo>=2.2.0->-r /tmp/tmpvzqs3xdb (line 18))
  Using cached https://files.pythonhosted.org/packages/ff/f4/385715ccc461885f3cedf57a41ae3c12b5fec3f35cce4c8706b1a112a133/setuptools-40.0.0-py2.py3-none-any.whl
Collecting urllib3<1.24,>=1.21.1 (from requests->-r /tmp/tmpvzqs3xdb (line 20))
  Using cached https://files.pythonhosted.org/packages/bd/c9/6fdd990019071a4a32a5e7cb78a1d92c53851ef4f56f62a3486e6a7d8ffb/urllib3-1.23-py2.py3-none-any.whl
Collecting chardet<3.1.0,>=3.0.2 (from requests->-r /tmp/tmpvzqs3xdb (line 20))
  Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting certifi>=2017.4.17 (from requests->-r /tmp/tmpvzqs3xdb (line 20))
  Using cached https://files.pythonhosted.org/packages/7c/e6/92ad559b7192d846975fc916b65f667c7b8c3a32bea7372340bfe9a15fa5/certifi-2018.4.16-py2.py3-none-any.whl
Collecting idna<2.8,>=2.5 (from requests->-r /tmp/tmpvzqs3xdb (line 20))
  Using cached https://files.pythonhosted.org/packages/4b/2a/0276479a4b3caeb8a8c1af2f8e4355746a97fab05a372e4a2c6a6b876165/idna-2.7-py2.py3-none-any.whl
Collecting PyQt5_sip<4.20,>=4.19.11 (from PyQt5>=5.9.2->-r /tmp/tmpvzqs3xdb (line 22))
  Using cached https://files.pythonhosted.org/packages/1f/73/a097e063ea84f9c0d5641bd45fd0147d7e88ad0e92c86638fa7ada14f436/PyQt5_sip-4.19.12-cp35-cp35m-manylinux1_x86_64.whl
Installing collected packages: psutil, gphoto2, pyzmq, pyxdg, six, python-dateutil, arrow, rawkit, PyPrind, colorlog, easygui, colour, setuptools, pymediainfo, sortedcontainers, urllib3, chardet, certifi, idna, requests, tornado, PyQt5-sip, PyQt5
Successfully installed PyPrind-2.11.2 PyQt5-5.11.2 PyQt5-sip-4.19.12 arrow-0.12.1 certifi-2018.4.16 chardet-3.0.4 colorlog-3.1.4 colour-0.1.5 easygui-0.97.4 gphoto2-1.8.2 idna-2.7 psutil-5.4.6 pymediainfo-2.3.0 python-dateutil-2.7.3 pyxdg-0.26 pyzmq-15.1.0 rawkit-0.6.0 requests-2.19.1 setuptools-40.0.0 six-1.11.0 sortedcontainers-2.0.4 tornado-4.5.3 urllib3-1.23

Installing application...

Processing /tmp/tmpkd39oj30/rapid-photo-downloader-0.9.9.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/kari/.cache/pip/wheels/f5/fc/e5/405a1a02425bd673ec3921ab25e57a1d610bc5143d31c2606b
Successfully built rapid-photo-downloader
Installing collected packages: rapid-photo-downloader
Successfully installed rapid-photo-downloader-0.9.9

Installing man pages into /usr/local/share/man/man1
If you uninstall the application, remove these manpages yourself.
sudo may prompt you for the sudo password.

sudo /bin/cp /home/kari/.local/share/man/man1/rapid-photo-downloader.1 /usr/local/share/man/man1/rapid-photo-downloader.1
[sudo] password for kari:
sudo /bin/cp /home/kari/.local/share/man/man1/analyze-pv-structure.1 /usr/local/share/man/man1/analyze-pv-structure.1

(If a segmentation fault occurs at exit, you can ignore it...)
kari@KariPC ~/Desktop $ $ rapid-photo-downloader
Traceback (most recent call last):
  File "/home/kari/bin/rapid-photo-downloader", line 7, in <module>
    from raphodo.rapid import main
  File "/home/kari/.local/lib/python3.5/site-packages/raphodo/rapid.py", line 74, in <module>
    import sip
ImportError: No module named 'sip'
kari@KariPC ~/Desktop $ $ pip3 install sip
Collecting sip
  Using cached https://files.pythonhosted.org/packages/6b/46/2869369c8ec634ec9dc714b84834e9264acbe87eb7492328efccfa0c855e/sip-4.19.8-cp35-cp35m-manylinux1_x86_64.whl
Installing collected packages: sip
Successfully installed sip-4.19.8
You are using pip version 8.1.1, however version 18.0 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
kari@KariPC ~/Desktop $ $ rapid-photo-downloader
Traceback (most recent call last):
  File "/home/kari/bin/rapid-photo-downloader", line 7, in <module>
    from raphodo.rapid import main
  File "/home/kari/.local/lib/python3.5/site-packages/raphodo/rapid.py", line 75, in <module>
    from PyQt5 import QtCore
ImportError: /home/kari/.local/lib/python3.5/site-packages/PyQt5/QtCore.so: undefined symbol: PySlice_AdjustIndices
kari@KariPC ~/Desktop $ $

Related branches

Revision history for this message
Damon Lynch (dlynch3) wrote :

The latest version of PyQt5 is incompatible with the version of Python found in Linux Mint 18.3.

I am updating the installer to install an older version of PyQt5.

Changed in rapid:
importance: Undecided → Critical
assignee: nobody → Damon Lynch (dlynch3)
milestone: none → 0.9.10
Damon Lynch (dlynch3)
summary: - i can't install 0.9.9 on linux 18.3
+ Installation fails with Python3 <= 3.5.3
Changed in rapid:
status: New → Fix Committed
Damon Lynch (dlynch3)
Changed in rapid:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.