josh-richardson/cadmus

pip failing - ERROR: No matching distribution found for sip==4.19.8

Closed this issue · 2 comments

Running on Arch, I got an error trying to install via the pip command in the README.md.

I believe this log should provide all the details:

┌[omer☮omer-desk]-(~/repos/cadmus)-[git://master ✗]-
└> git rev-parse HEAD
68b9942e2fc8523a5c70367135d34a9a2477b5ac
┌[omer☮omer-desk]-(~/repos/cadmus)-[git://master ✗]-
└> ve cad
created virtual environment CPython3.8.3.final.0-64 in 108ms
  creator CPython3Posix(dest=/home/omer/repos/cadmus/cad, clear=False, global=False)
  seeder FromAppData(download=False, pip=latest, setuptools=latest, wheel=latest, via=copy, app_data_dir=/home/omer/.local/share/virtualenv/seed-app-data/v1.0.1)
  activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator
(cad) ┌[omer☮omer-desk]-(~/repos/cadmus)-[git://master ✗]-
└> python3 -m pip install -r requirements.txt
Collecting altgraph==0.17
  Using cached altgraph-0.17-py2.py3-none-any.whl (21 kB)
Processing /home/omer/.cache/pip/wheels/28/ba/c3/7df832544fd9f5e3184cca56a7ccb00c5255a501cfd664c652/fbs-0.8.6-py3-none-any.whl
Processing /home/omer/.cache/pip/wheels/8e/70/28/3d6ccd6e315f65f245da085482a2e1c7d14b90b30f239e2cf4/future-0.18.2-py3-none-any.whl
Collecting macholib==1.14
  Using cached macholib-1.14-py2.py3-none-any.whl (37 kB)
Processing /home/omer/.cache/pip/wheels/42/52/d5/9550bbfb9eeceaf0f19db1cf651cc8ba41d3bcf8b4d20e4279/pefile-2019.4.18-py3-none-any.whl
Collecting pulsectl==20.5.1
  Using cached pulsectl-20.5.1-py2.py3-none-any.whl (33 kB)
Processing /home/omer/.cache/pip/wheels/39/ee/a8/2ca0838cbf79fe670b74b5214f532c229c8ee91d4824763619/PyInstaller-3.4-py2.py3-none-any.whl
Collecting PyQt5==5.9.2
  Using cached PyQt5-5.9.2-5.9.3-cp35.cp36.cp37-abi3-manylinux1_x86_64.whl (105.3 MB)
Processing /home/omer/.cache/pip/wheels/56/f2/76/4da2a929cac39664c65d56c775deec5de05e5a8f0c12906686/PyQt5_stubs-5.14.2.2-py3-none-any.whl
ERROR: Could not find a version that satisfies the requirement sip==4.19.8 (from -r requirements.txt (line 10)) (from versions: 5.0.0, 5.0.1, 5.1.0, 5.1.1, 5.1.2, 5.2.0, 5.3.0)
ERROR: No matching distribution found for sip==4.19.8 (from -r requirements.txt (line 10))

I'm not really familiar with pip so maybe I'm missing something obvious here?

Very good point - it isn't mentioned in the readme, but fbs only supports versions up to Python 3.6, so you'll need to create your virtualenv using Python 3.6. I'll update the readme. You'll also now run in to issues because the pulseaudio plugin is built from source rather than included in the VCS. I should have this fixed within a day.

I've updated README.md with clearer instructions as to how to get Cadmus up & running from source, please re-open this if you have further questions.