Installation failed while installing pydoop using conda - python

I have anaconda installed on ubuntu, i am using spyder for python development
I am trying command
conda install -c ijstokes pydoop
it is giving:
Fetching package metadata .............
Solving package specifications: .
UnsatisfiableError: The following specifications were found to be in conflict:
- pydoop -> python 3.5* -> openssl 1.0.1*
- pydoop -> python 3.5* -> xz 5.0.5
- python 3.6*
Use "conda info " to see the dependencies for each package.
Dont know what to do next please help.

The error states that there is a version conflict between pydoop which has a dependency on python 3.5* and python 3.6*. The easiest way to fix this is to make an environment with Python 3.5.
conda create -n py35 -c ijstokes python=3.5 pydoop

This package for conda is fairly old. Why not try to install pydoop from pypi?
pip install pydoop

Related

Python 3.7 install fails with anaconda

I try to install python 3.7 for anaconda with the following command:
conda install -c anaconda python=3.7
And its showing the following failure message:
Solving environment: failed
UnsatisfiableError: The following specifications were found to be in conflict:
- _license -> python=3.6
- python=3.7
Use "conda info <package>" to see the dependencies for each package.
The following page provides a solution: https://github.com/ContinuumIO/anaconda-issues/issues/9686
and could solve it by creating a new virtual environment with the following command and without the default packages:
conda create -n python37 python=3.7 --no-default-packages

linux how to install kivy with conda?

i want to add kivy in my anaconda python.
i use anaconda3 last version with python3.6 on Centos 7 64bits
i try to use last version in anaconda cloud :
./conda install --force --no-deps -c wgarcia kivy
or
./conda install --force --no-deps -c wgarcia kivy=1.9.1
i try with other version in other repo (1.9.0,1.8...) but i have same error
Solving environment: failed
UnsatisfiableError: The following specifications were found to be in conflict:
- kivy=1.9.1
- sphinx
Use "conda info <package>" to see the dependencies for each package.
please, how to install Kivy (1.10 ?) in my anaconda ?

pyglet installation error in anaconda (python 3.6)

I am getting the following error when I tried to install pyglet:
$ conda install -c conda-forge pyglet
Fetching package metadata .............
Solving package specifications: .
UnsatisfiableError: The following specifications were found to be in conflict:
- pyglet -> python 3.5* -> xz 5.0.5
- python 3.6*
Use "conda info <package>" to see the dependencies for each package.
I had to downgrade my pyglet version from 1.3 using "pip install"
pip install pyglet==1.2.4

Anaconda move to Python 3

I am trying to make my Anaconda Python 2 into Python 3 on my Mac, and have been trying almost everything now. Preferably I would want to move to 3.6 but I am yet to manage to get any Python 3 version working. I started with conda install python=3.6 but got dependency errors. Then I though if I download the Anaconda installer maybe it will update everything and there will be no more dependency errors, but the installation program told me to run conda update anaconda. I still get dependency errors though. This is what I get right now:
For version 3.6:
$ conda install python=3.6
Fetching package metadata .........
Solving package specifications: .
UnsatisfiableError: The following specifications were found to be in conflict:
- argcomplete -> python 3.3* -> openssl 1.0.1*
- argcomplete -> python 3.3* -> xz 5.0.5
- python 3.6*
Use "conda info <package>" to see the dependencies for each package.
and for version 3.5:
$ conda install python=3.5
Fetching package metadata .........
Solving package specifications: .
UnsatisfiableError: The following specifications were found to be in conflict:
- backports_abc -> python 3.4*
- python 3.5*
Use "conda info <package>" to see the dependencies for each package.
What am I doing wrong and what must I do? (also, why is this so complicated?)
Update: Inspired by https://docs.continuum.io/anaconda/install I tried uninstalling like:
$ anaconda-clean -y
Backup directory: /Users/jonathan/.anaconda_backup/2017-04-24T160137
followed by the installation program again. The installation failed, anaconda is still supposed to be installed...
I know that you have uninstalled and reinstalled but you can create environments with other versions of Python.
conda create --name py36 python=3.6 anaconda
source activate py36
This would create an environment with Python 3.6 and all of the default packages in Anaconda.
You can always create different versions of python in different folders. Simply specify the python version you want to use in a NEW folder. And then activate it.
conda create -n myProject python=3
source activate myProject
I ended up removing the anaconda directory and reinstalling.

Conflict while installing ggplot to conda python 3 environment

I tried to run
conda create --name test python=3
source activate test
conda install -c conda-forge ggplot=0.11.5
but after the last command I get
Using Anaconda Cloud api site https://api.anaconda.org
Fetching package metadata: ......
Solving package specifications: ....
The following specifications were found to be in conflict:
- ggplot 0.11.5* -> python 2.7*|3.4*|3.5*
- pip (target=pip-9.0.1-py36_1.tar.bz2) -> python 2.7*|3.4*|3.5*
- pip (target=pip-9.0.1-py36_1.tar.bz2) -> setuptools
- python 3.6*
- setuptools (target=setuptools-27.2.0-py36_0.tar.bz2) -> python 2.7*|3.4*|3.5*
- wheel (target=wheel-0.29.0-py36_0.tar.bz2) -> python 2.7*|3.3*|3.4*|3.5*|3.6*
- wheel (target=wheel-0.29.0-py36_0.tar.bz2) -> setuptools
Use "conda info <package>" to see the dependencies for each package.
I am able to run
conda install -c bokeh ggplot=0.9.4
instead, but that is an older version. I am not sure what would be a practical way of resolving this if I want to use the newer version of ggplot.
I could install the newer version in python 2.7 though.
Running 'conda create --name test python=3' will create a Python 3.6 environment by default.
If you take a look here: https://anaconda.org/conda-forge/ggplot/files you will see that the conda-forge version of ggplot is not compatible with Python 3.6. If you create an environment with Python 3.5 then you will be able to run this command again and successfully install your desired version of ggplot.
conda create --name test1 python=3.5
source activate test1
conda install -c conda-forge ggplot=0.11.5

Categories

Resources