phy icon indicating copy to clipboard operation
phy copied to clipboard

spyder 5.1.5 requires pyqt5<5.13

Open mariehemelt opened this issue 3 years ago • 6 comments

I've been using phy for a while but we recently had to rebuild our server and I am re-installing everything. When I run pip install phy --pre --upgrade I eventually get the following error: ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. spyder 5.1.5 requires pyqt5<5.13, but you have pyqt5 5.15.6 which is incompatible. spyder 5.1.5 requires pyqtwebengine<5.13, but you have pyqtwebengine 5.15.5 which is incompatible. My understanding of python is pretty limited, can you offer any basic advice for dealing with this- installing pyqt5 & pyqtwebengine < 5.13, it seems? Thanks.

mariehemelt avatar May 23 '22 14:05 mariehemelt

There are two options you can try. First is to downgrade the packages in question using:

pip install --upgrade --user pyqtwebengine==5.12
pip install --upgrade --user pyqt5==5.12

Or you can install everything in a conda environment. This is what I do and I am able to run everything without any dependency issues. In anaconda command window:

  1. Creating conda environment: conda create --name
  2. Activate conda enviroment: conda activate name
  3. Install everything as normal
  4. NB to run Phy you will need to activate the environment every time.

If you have any more questions, feel free to ask me.

Michael

GrimmSnark avatar Jun 08 '22 08:06 GrimmSnark