rdkit / rdkit

The official sources for the RDKit library
BSD 3-Clause "New" or "Revised" License
2.55k stars 854 forks source link

Python version problem #4855

Closed SomeAnonimCoder closed 2 years ago

SomeAnonimCoder commented 2 years ago

Configuration:

Description: Installation in jupyter notebook with comand:

! conda install -c rdkit rdkit -y

fails with message:


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

Specifications:

  - rdkit -> python[version='2.6.*|2.7.*|3.5.*|3.6.*|>=2.7,<2.8.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.5,<3.6.0a0|3.4.*']

Your python: python=3.8

Are there reasons why python 3.8 and higher are uncompatible with RDKit? If no, should this be fixed by creating new build for python 3.8-3.9

DavidACosgrove commented 2 years ago

It’s best if you use -c conda-forge.

On Wed, 5 Jan 2022 at 19:36, Glubshev Artem @.***> wrote:

Configuration:

  • RDKit Version: latest from conda
  • Operating system: linux Manjaro
  • Python version (if relevant): 3.8
  • Are you using conda? yes
  • If you are using conda, which channel did you install the rdkit from? rdkit

Description: Installation in jupyter notebook with comand:

! conda install -c rdkit rdkit -y

fails with message:

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

Specifications:

  • rdkit -> python[version='2.6.|2.7.|3.5.|3.6.|>=2.7,<2.8.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.5,<3.6.0a0|3.4.*']

Your python: python=3.8

Are there reasons why python 3.8 and higher are uncompatible with RDKit? If no, should this be fixed by creating new build for python 3.8-3.9

— Reply to this email directly, view it on GitHub https://github.com/rdkit/rdkit/issues/4855, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACGF2FQQAKHHMWQ6LFBWIQ3UUSMTLANCNFSM5LKVZ76A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- David Cosgrove Freelance computational chemistry and chemoinformatics developer http://cozchemix.co.uk

SomeAnonimCoder commented 2 years ago

So, is rdkit channel deprecated?

greglandrum commented 2 years ago

So, is rdkit channel deprecated?

We still use it to make beta builds available, but I no longer do production builds there. I've tried to update the docs to point to conda-forge, but if you found somewhere that I missed which is still pointing to the rdkit channel please let me know

greglandrum commented 2 years ago

I'm closing this because it looks like the question is answered. Please reopen if necessary.

cpoptic commented 2 years ago

FYI, at least one place where the deprecated rdkit channel is referenced for installation is here where it specifies to run conda install -c rdkit rdkit-postgresql

I found after installing via conda install -c conda-forge rdkit that the older v2020.09.1.0 version was installed. To upgrade to the most recent 2021.09.5 version, I needed to run conda update -c conda-forge rdkit

So make sure you are both installing and updating the package if installing through conda.

greglandrum commented 2 years ago

FYI, at least one place where the deprecated rdkit channel is referenced for installation is here where it specifies to run conda install -c rdkit rdkit-postgresql

This is actually accurate. There is not currently a conda-forge build of the rdkit-postgresql cartridge. No one has yet had the time to set up the conda-forge builds.

I found after installing via conda install -c conda-forge rdkit that the older v2020.09.1.0 version was installed. To upgrade to the most recent 2021.09.5 version, I needed to run conda update -c conda-forge rdkit

So make sure you are both installing and updating the package if installing through conda.

A suggestion: It's generally possible to avoid having the postgresql-cartridge and rdkit python packages installed in the same conda environment. This avoids any compatibility problems there.