conda-forge / rdkit-feedstock

A conda-smithy repository for rdkit.
BSD 3-Clause "New" or "Revised" License
8 stars 21 forks source link

Can't import rdkit after building a conda package #124

Open sergsb opened 1 year ago

sergsb commented 1 year ago

Solution to issue cannot be found in the documentation.

Issue

For a reason, I can not build a conda package for my code that depends on rdkit. My package is posted on PyPi and accessible by

pip install molcomplib

To build a conda package I do:

Frist run grayskull grayskull pypi molcomplib Then, conda build -c conda-forge molcomplib

It looks like RDKit is installed indeed during the process, but for a reason, it is inaccessible by the internal pip check command, that's why the build fails.

The yaml file is: meta.yaml.txt

This issue was also discussed here: https://github.com/conda-forge/staged-recipes/pull/22161#issuecomment-1447097577

Installed packages

<not applicable>

Environment info

<not applicable>
hadim commented 7 months ago

pip check and possibly this issue can be closed once https://github.com/conda-forge/rdkit-feedstock/pull/143 is merged