Conflicting dependencies of pypyodbc and blpapi - python

I have a conda environment where I have installed pypyodbc and now I am trying to install the blpapi package with the following command:
conda install -c dsm blpapi
Solving environment: failed
UnsatisfiableError: The following specifications were found to be in conflict:
- blpapi
- pypyodbc
Use "conda info <package>" to see the dependencies for each package.
When I have tried running "conda info blpapi" and "conda info pypyodbc", but no dependencies are shown. Why is that? Furthermore, is there another way to find the package dependencies?

I figured out that pypyodbc only works with python 3x, so my solution was to install blpapi for python 3x instead of python 2x.
I found the dependencies on Anaconda Cloud under each of the different blpapi and pypyodbc packages.

Related

Anaconda: UnsatisfiableError while installing mgwr

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.

Package conflict when installing cx_freeze on anaconda

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

Error installing cvxopt using Conda

I'm attempting to install cvxopt using Conda (which comes with the Anaconda python distribution), and I received the error message below. Apparently my Anaconda installation is using python 3.6, whereas cvxopt wants python 3.5*. How can I fix this and install cvxopt using Conda?
After typing conda install cvxopt at the Anaconda prompt, the message I received was:
Fetching package metadata ...........
Solving package specifications: .
UnsatisfiableError: The following specifications were found to be in
conflict:
- cvxopt -> python 3.5*
- python 3.6*
Use "conda info < package >" to see the dependencies for each package.
Here's a screenshot of the error message:
It would appear that cvxopt requires Python 3.5. Easiest solution would be to use conda to create a separate environment for python 3.5 and then install cvxopt (and any other desired python packages). For example...
conda create -n cvxopt-env python=3.5 cvxopt numpy scipy matplotlib jupyter
...depending on your operating system you can then activate this environment using either...
source activate cvxopt-env
...or...
activate cvxopt-env
...you can then switch back to your default python install using...
deactivate
...check out the conda docs for more details. In particular the docs for the conda create command.
try
conda install cvxopt=1.1.8
its the new version and only version having support for python3.6

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.

anaconda installing graph-tool on windows error

I am trying to install graph-tool with anaconda. This is how I went about that:
conda config --add channels jithinpr2
followed by
conda install -c jithinpr2 graph-tool=2.18
The second command gives the following error:
The following specifications were found to be in conflict:
- graph-tool 2.18*
Use "conda info <package>" to see the dependencies for each package.
I tried to follow their instructions and do conda info graph-tool and conda info graph-tool=2.18, but both resulted in:
Error: Package missing in current win-64 channels:
- graph-tool 2.18*
What am I doing wrong? I am running python 2.7 by the way.

Categories