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
{{ message }}
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.
Python library import foo statements don't always line up with the package name on pypi. This is probably partially historical accident (libraries existed before PyPI, and PyPI didn't enforce a mapping between package names and how they are imported). This shows up with a number of modules, for example, the elasticsearch7 package, which installs as import elasticsearch. (This example is benign, but was easy to find.)
I think the proper fix requires understanding requirements.txt and the python library imports -- maybe from the PyLance python language server?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Python library
import foo
statements don't always line up with the package name on pypi. This is probably partially historical accident (libraries existed before PyPI, and PyPI didn't enforce a mapping between package names and how they are imported). This shows up with a number of modules, for example, theelasticsearch7
package, which installs asimport elasticsearch
. (This example is benign, but was easy to find.)I think the proper fix requires understanding requirements.txt and the python library imports -- maybe from the PyLance python language server?
The text was updated successfully, but these errors were encountered: