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
Problems with importlib.metadata #1177
Comments
@snowman2 I'm not entirely sure this is a duplicate, or at least, there is also an issue for Bokeh to address, see: https://discuss.python.org/t/module-importlib-has-no-attribute-metadata/20947/12?u=bryevdv TLDR; apparently doing |
Right, in this case pyproj dist info is not missing:
So FWIW I would agree this can be closed, but because it is an upstream Bokeh issue to fix, not a dupe. :) |
xref to Bokeh issue for completeness: |
The issues have slightly different symptoms, but the resolution is a duplicate. |
I have a bokeh application that uses
pyproj
and the application is failing to run in certain circumstances due to an error coming frompyproj
, specifically theimportlib.metadata
use in__init__.py
.I originally posted this in the Bokeh community discussion where Bryan figured out that the issue was actually coming from
pyproj
. See full discussion here:https://discourse.bokeh.org/t/bokeh-server-with-geopandas-pyproj/9722/3
Also there is another question posted to the general Python Discuss here:
https://discuss.python.org/t/module-importlib-has-no-attribute-metadata/20947
MRE
Platform
On a compute note of an HPC cluster running CentOS v7.x I think. I have been using Conda to manage packages in my home directory.
Setup like so:
Requirements.txt
Run with
Code
Environment Information
python -c "import sys; print(sys.version.replace('\n', ' '))"
--> 3.8.13 | packaged by conda-forge | (default, Mar 25 2022, 06:04:18) [GCC 10.3.0]python -c "import platform; print(platform.platform())"
--> Linux-3.10.0-1160.31.1.el7.x86_64-x86_64-with-glibc2.10Conda environment information (if you installed with conda):
Environment (
conda list
):Details about
conda
and system (conda info
):The text was updated successfully, but these errors were encountered: