Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install via conda with Python 3.8? #64

Closed
ianozsvald opened this issue Apr 19, 2020 · 3 comments
Closed

Can't install via conda with Python 3.8? #64

ianozsvald opened this issue Apr 19, 2020 · 3 comments

Comments

@ianozsvald
Copy link

Having created a fresh Python 3.8 conda environment I fail to install pandas-bokeh from conda:

$ conda create -n companies_house python=3.8 pandas scikit-learn matplotlib bokeh jupyter
$ conda activate companies_house
$ conda install -c patrikhlobil pandas-bokeh

Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: / 
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed                                                                                                                                                                                                                                        

UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:

Specifications:

  - pandas-bokeh -> python[version='>=3.6,<3.7.0a0|>=3.7,<3.8.0a0']

Your python: python=3.8

If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.

The following specifications were found to be incompatible with your CUDA driver:

  - feature:/linux-64::__cuda==10.1=0
  - feature:|@/linux-64::__cuda==10.1=0

Your installed CUDA driver is: 10.1

Note that strict channel priority may have removed packages required for satisfiability.

If I switch to try $ pip install pandas-bokeh then this succeeds.

If I build a conda environment using the packages noted above but using Python 3.7 then the conda install for your package works (i.e. no cuda errors or other problems).

I think Python 3.8 with conda is the issue, maybe someone else can confirm?

@PatrikHlobil
Copy link
Owner

Hi @ianozsvald,

the conda package is only available for pandas-bokeh 0.3 and not the most recent version, because there is a problem with the packaging dependencies. I'll try to fix that soon. However, you can savely install via pip because it is a plain Python-source-code.

Best Patrik

@PatrikHlobil
Copy link
Owner

HI @ianozsvald,

I just fixed the conda build problem and you can now also install the most recent version of pandas-bokeh (0.4.3) via conda via:

conda install -c patrikhlobil pandas-bokeh

Best Patrik

@ianozsvald
Copy link
Author

Brilliant - many thanks for fixing this :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants