SyneRBI / SyneRBI_VM

Virtual Machine with pre-installed SyneRBI software
http://www.ccpsynerbi.ac.uk
Apache License 2.0
3 stars 7 forks source link

pip install spyder fails with missing pyqtwebengine #121

Closed KrisThielemans closed 5 years ago

KrisThielemans commented 5 years ago

On very latest Ubuntu 18.04 with pip

python -m pip install spyder
...
:   Could not find a version that satisfies the requirement pyqtwebengine<5.13 (from spyder) (from versions: )
    default: No matching distribution found for pyqtwebengine<5.13 (from spyder)

as found by @paskino

KrisThielemans commented 5 years ago

In fact

python -m pip install pyqtwebengine

already fails

KrisThielemans commented 5 years ago

Probably caused by pyqtwebengine is not available for python2.

This works

sudo apt install python3-pip
python3 -m pip install spyder
~/.local/bin/spyder3

However, this then would run the wrong python version...

KrisThielemans commented 5 years ago

Note that spyder3 complained then about missing module keyring.util.escape. Sadly

python3 -m pip install keyring

exits with a segfault. Oh well.

KrisThielemans commented 5 years ago

@paskino solved this by doing

python -m pip install spyder==3.2