Closed kailaw138 closed 10 months ago
I will try to create this env on my system. However, it may take some days until I have time left.
I installed a clean version of the newest anaconda package and used the described environment command (Powershell, not CMD, but this should not be relevant). My Qt related packages are:
PyQt5==5.15.10 PyQt5-Qt5==5.15.2 PyQt5-sip==12.13.0 PyQtWebEngine==5.15.6 PyQtWebEngine-Qt5==5.15.2
I have no problems with installing or running the environment.
Thank you for your quick response, I still could not install.
I modified the environment.yml file with the specified version of PyQt5-sip and PyQtWebEngine, but the problem with pyqt (not PyQt5) persisted.
the Github version:
my modified version:
PyQt5, PyQt5-Qt5, and PyQtWebEngine-Qt5 are not in the environment.yml, are they required?
Thanks
I think these packages are installed through the others with internal dependencies. You removed - pip:
in your version. This part tells the installer to use the pip package manager as source instead of any of the other channels. However, pyqt is not available there and requires pip in this case. So please try to keep the environment.yml from this repository and only add the version numbers. This should look like my example below:
...
- zstd=1.4.4
- pip:
- pyqt5-sip=12.13.0
- pyqtwebengine=5.15.6
Thank you again for your support. Unfortunately, having pip (in the environment.yml) does not work for me:
in this way ... it simply creates an environment without the pyqt5-sip and pyqtwebengine installed (previously, I simplified the problem)
ok then, force installation with pip (in the created environment):
Unfortunately, this does not work (also does not work with conda either)
check pip is installed:
[This also shows you my purpose, to use imzML-to-HDF5 to generate h5 files, pre-process with pyBASIS or ProViM, and segmentation with SmartGate.]
That is why I removed pip from the environment.yml, and so I could narrow down the problem to just pyqtwebengine:
However, as you said, pyqtwebengine 5.15.6 not available in conda (indeed 5.15.5 also not available)
Which version is right? Would 5.15.7 work?
You can try if it works. If not, just remove it.
Alternatively you could try to delete the entries that need pip completely from the environment.yml, then set the environment up without these packages, activate it and with activated environment you could try to install the pip packages manually with pip install example-package==2.0.1
Not the clean way but might work.
Trying to have local installation with "conda env create -f environment.yml" , have the following error, which says qt 5.12.5 is incompatible:
ok then, changing to qt 5.12.9, leads more errors:
Please tell me the right version of the dependences.