-
Notifications
You must be signed in to change notification settings - Fork 84
package __path__ is an empty list #557
Copy link
Copy link
Closed
Milestone
Description
I noticed this when working on moving scikit-learn to Meson. I tried with numpy and get the same result so I am guessing this is not something due to our particular setup?
With editable install (pip install -e . --no-build-isolation)
❯ python -c 'import sklearn; print(sklearn.__path__)'
[]
When I use normal install (pip install . --no-build-isolation), I get something like this:
❯ python -c 'import sklearn; print(sklearn.__path__)'
['/home/lesteve/micromamba/envs/skimage-dev/lib/python3.12/site-packages/sklearn']
This is not a huge issue since we were able to use __file__ for our needs, but I thought I would open an issue anyway.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels