anaconda installing graph-tool on windows error - python

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.

Related

UnsatisfiableError: pyqt and py-opencv in conflict

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

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.

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?

Conflicting dependencies of pypyodbc and blpapi

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.

Install hazm on anaconda 3

i want to install hazm on anaconda3 .I use this command to install this package with downloaded package :
conda install hazm-0.4.tar.gz
or this command in pycharm :
conda install hazm
in both manner it gives me this error:
Solving environment: failed
PackagesNotFoundError: The following packages are not available from
current channels:
hazm
Current channels:
https://repo.continuum.io/pkgs/main/linux-64
https://repo.continuum.io/pkgs/main/noarch
https://repo.continuum.io/pkgs/free/linux-64
https://repo.continuum.io/pkgs/free/noarch
https://repo.continuum.io/pkgs/r/linux-64
https://repo.continuum.io/pkgs/r/noarch
https://repo.continuum.io/pkgs/pro/linux-64
https://repo.continuum.io/pkgs/pro/noarch
what is the problem ?
The instruction on the hazm documentation page is to install the package using pip:
pip install hazm
pip can be used to install non-conda packages in a conda environment, if there isn't a conda package available.
Reading this question and its answers it sounds as if the latest version of hazm may not install under Windows because of a dependency issue. If you're on Windows you need to specify the 0.4 version, either with hazm==0.4 or simply by pointing to the archive you downloaded. I was able to install hazm 0.4 from the gz archive on Anaconda under Windows without errors as follows:
conda create -n testhazm python=3.4 nltk=3.0.0
activate testhazm
pip install hazm-0.4.tar.gz
(If I allowed conda to use the latest version of nltk, the installation went OK but I got an error when I actually started Python and tried to import hazm. You may be able to get it working with a more recent version of nltk and/or Python by experimenting.)
Background:
When you do conda install hazm the error message The following packages are not available from current channels: hazm means exactly what it says: the channels specified in your current conda configuration do not contain this package.
Often, packages that are not available on the default conda channels can be found on conda-forge, but I checked this with conda search hazm -c conda-forge and it looks like it's not there either.
To use the command conda install hazm-0.4.tar.gz, the downloaded file would need to be a conda package, not just a Python module.

Categories