You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue:
I would like to install a package with pip in a conda environment that depends on the libclang PyPI package. If I understand it correctly the same package in conda on the conda-forge channel is called python-clang.
Other conda packages that has a corresponding PyPI package (possibly with a different name) show up in pip list output I think by creating a <name>-<version>.dist-info directory with appropriate content. This way pip can also be aware of the presence of the package and handle the dependencies. For example the python-flatbuffers conda package creates the lib/python3.9/site-packages/flatbuffers and lib/python3.9/site-packages/flatbuffers-2.0.dist-info directories where the latter contains the necessary information for pip so that it knows that the flatbuffers package is installed.
Please add this directory with the necessary information to the python-clang conda package(libclang-13.0.0.dist-info) so it would be visible with pip with the name libclang. Since pip does not now about the presence of this package at the moment, upon installing TensorFlow 2.7 that depends on the libclang PyPI package pip promptly overwrites the content of the python-clang conda package in lib/python3.9/site-packages/clang with the libclang PyPI package and messes with the list of installed conda package names by adding libclang that is a different package in conda.
Issue:
I would like to install a package with pip in a conda environment that depends on the
libclang
PyPI package. If I understand it correctly the same package in conda on the conda-forge channel is calledpython-clang
.Other conda packages that has a corresponding PyPI package (possibly with a different name) show up in
pip list
output I think by creating a<name>-<version>.dist-info
directory with appropriate content. This way pip can also be aware of the presence of the package and handle the dependencies. For example thepython-flatbuffers
conda package creates the lib/python3.9/site-packages/flatbuffers and lib/python3.9/site-packages/flatbuffers-2.0.dist-info directories where the latter contains the necessary information for pip so that it knows that theflatbuffers
package is installed.Please add this directory with the necessary information to the
python-clang
conda package (libclang-13.0.0.dist-info) so it would be visible with pip with the namelibclang
. Since pip does not now about the presence of this package at the moment, upon installing TensorFlow 2.7 that depends on the libclang PyPI package pip promptly overwrites the content of thepython-clang
conda package in lib/python3.9/site-packages/clang with thelibclang
PyPI package and messes with the list of installed conda package names by addinglibclang
that is a different package in conda.Environment (
conda list
):Details about
conda
and system (conda info
):The text was updated successfully, but these errors were encountered: