Package conflict when installing cx_freeze on anaconda - python

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

Related

ERROR: Failed building wheel for pystan in Anaconda distribution. How to fix this error?

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

Conda dlip:UnsatisfiableError during installation on Windows 10 using conda

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?

PyQt5 installation issue in Anaconda

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

Anaconda - UnsatisfiableError: The following specifications were found to be in conflict

When I was trying to install a module 'pymc' through anaconda environments, it showed the error message as follows:
UnsatisfiableError: The following specifications were found to be in
conflict:
blaze -> pyyaml -> python[version='>=2.7,<2.8.0a0'] -> vc=9
blaze -> pyyaml -> yaml -> *[track_features=vc9]
pymc Use "conda info " to see the dependencies for each package.
I am using Python 2.7.14, and I installed anaconda 1.6.9 on a Windows. I am new to Python. I first tried to use cmd to install the module pymc and I ran into a lot of problems such as the requirement for install g77 compiler on windows. After I got the compiler from MinGW and also installed the Microsoft Visual C++ Compiler for Python, I still cannot install the module because there came new errors. That is when I found there is pymc module listed in anaconda environment that I can add manually, but it showed this conflict error.
I do not know whether the conflict comes from all those other stuff I installed above or not. Please HELP! Thanks!
Create a new conda environment for Python 2.7:
conda create -n my_pymc_env python=2.7
Activate it:
conda activate my_pymc_env
Alternatively, for older conda versions on Windows:
activate my_pymc_env
on Unix (including Mac OS X):
source activate my_pymc_env
Once activated, install your packages:
conda install pymc blaze
If you still get this message, install the Anaconda client:
conda install anaconda-client
and search for your package:
anaconda search mypackage
Look for a channel that has the right version for you and install:
conda install -c channel_with_right_version mypackage

How to install pymatgen for Python 2.7.x and not 3.6

The pymatgen module is supposed to work for Python 2.7.x or 3. Files for both are available (https://anaconda.org/matsci/pymatgen/files). My Python (sys.version) is 2.7.11.
I tried installing with standard: "conda install -c mastic pymatgen", but it returns an error:
"Fetching package metadata ...........
Solving package specifications: .
UnsatisfiableError: The following specifications were found to be in conflict:
- pymatgen -> python 3.6*
- python 3.5*
Use "conda info <package>" to see the dependencies for each package."
It looks like it is trying to install the pymatgen module for Python 3 and I am a version short.
I want to install the 2.7.x compatible version, but can't find instructions on how to force the conda install to do that.
I can't upgrade to 3.6 for other reasons.
Have you tried pip ?
But first install NumPy as they mentioned Here
then use : pip install pymatgen
Restarted from running Miniconda3-latest-MacOSX-x86_64.sh, instead of Miniconda2-latest-MacOSX-x86_64.sh.
Whatever conda you installed, you can create a specific Python 2.7 environment using
conda create --name py27 python=2.7
You should then be able to follow all the steps for Python 2.7 install.

Categories