I have a conda environment that contains a package rdkit. conda list shows it is indeed installed:
# Name Version Build Channel
mordred 1.2.0 py_1 conda-forge
rdkit 2022.09.1 py39h6c30a6c_1 conda-forge
I also have my own package which has in the setup.py (a.o.) rdkit as dependency:
install_requires=[
'rdkit',
'mordred'
]
Unfortunately, when I run pip install -e .
in the folder of that setup.py, pip
decides to install rdkit
again. Now I have two installations of rdkit which is ofcourse asking for trouble. In both cases, it installs rdkit 2022.09.1
. If I remove rdkit
from the install_requires
list everything works fine (even though the package mordred
has rdkit
as its dependency). removing mordred, but keeping rdkit makes pip install rdkit again (which it shouldn't because the requirement is already satisfied)