phy
phy copied to clipboard
spyder 5.1.5 requires pyqt5<5.13
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.
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:
- Creating conda environment:
conda create --name - Activate conda enviroment:
conda activate name - Install everything as normal
- 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