I was trying to install PyQt5 in windows 10 from anaconda prompt.But I found following error:
(base) C:\WINDOWS\system32>conda install -c dsdale24 pyqt5
Solving environment: failed
UnsatisfiableError: The following specifications were found to be in conflict:
- pyqt5
- zstd
Use "conda info <package>" to see the dependencies for each package.
I uninstalled anaconda and installed again. But same issue. Could you please suggest a workaround.
Anaconda\Scripts> conda install -c anaconda pyqt
Related
When trying to install Darts library its dependencies Pystan and Prophet were throwing errors:
ERROR: Failed building wheel for pystan
Building wheel for prophet (setup.py) error
Followed solution from here which redirected me to the pystan docs, https://pystan.readthedocs.io/en/latest/windows.html, which does not work.
How to solve this error? I would like to install Darts library successfully in Windows system Anaconda distribution.
Python 3.9.7
The link that I share in the question directed me to an incorrect path for troubleshooting pystan installation for Windows. The correct link is https://pystan2.readthedocs.io/en/latest/windows.html?msclkid=eb5dcb49ac2511ec829bf25d2eab26d6
When following all the steps from the above link I was successfully able to fix the issue. Also reiterating the steps I followed here.
conda info
conda update conda
conda activate my_env (I already had an environment created from Anaconda UI with python 3.9.7)
activate my_env
conda install libpython m2w64-toolchain -c msys2
conda install numpy cython matplotlib scipy pandas -c conda-forge
pip install pystan
Please install the prophet, then import as like.
from prophet import Prophet
For my College project, i tried installing pyqt with command conda install pyqt=4 but it shows error as shown below (even this error comes after solving environment for few minutes).
I am new to these stuffs, can anyone please help me over this!
(tensorflow_cpu) F:\BE project\TensorFlow\addons\labelImg>conda install pyqt=4
Solving environment: failed
UnsatisfiableError: The following specifications were found to be in conflict:
- py-opencv
- pyqt=4
Use "conda info <package>" to see the dependencies for each package.
The problem is that py-opencv requires python 3.6 or above where as pyqt=4 requires python2.7. Hence there will be a conflict between these two packages.
To avoid this conflict and use both the packages together, follow the below steps. Note that here the pyqt version will get upgrade to 5.9.2
Commands:
Create a new conda environment to avoid package mismatches.
conda create -n pyqt python=3.6
Here pyqt is the conda environment name
Activate the environment:
activate pyqt
Install py-opencv
conda install -c anaconda py-opencv
Install pyqt package:
conda install -c alges pyqt
While executing this step, pyqt version will be 5.9.2
Now you will be able to use both the packages with python3.6
I am trying to install mgwr on my mac where I have installed both python 2.7.x and python 3.7.x
conda install -c conda-forge mgwr
During the installation I get the following error
Solving environment: failed
UnsatisfiableError: The following specifications were found to be in conflict:
- mgwr
- scandir
Use "conda info <package>" to see the dependencies for each package.
I'm setting anaconda using python 3.6. I want to install dlib package. When I run ;
#conda install -c menpo dlib
I have had :
#Solving environment: failed
#UnsatisfiableError: The following specifications were found to be in
conflict:
#- backports.os
#- dlib
# - typed-ast
Use "conda info " to see the dependencies for each package.
I also tried to remove all the packages which are list on the conflicts and re-run the installation comment but didnt work :/ Any idea?
I am trying to install the cx_freeze using anaconda prompt. Following what's on their website, I used:
conda install -c pyzo cx_freeze
I get this error:
UnsatisfiableError: The following specifications were found to be in conflict:
- cx_freeze
- wincertstore
Use "conda info <package>" to see the dependencies for each package.
Does anyone know how I have to deal with dependencies here?
Thanks.
So as of now, simply using pip worked for me. I opened the conda prompt and used the following:
pip install cx_freeze