The docs say that zip files (or directories in zip files) on sys.path should be available for use in functions like version. However, if you download
foo.zip, run with PYTHONPATH=foo.zip python -c "from importlib.metadata import version; version('jedi-language-server')", you get a PackageNotFoundError.
The docs say that zip files (or directories in zip files) on
sys.path
should be available for use in functions likeversion
. However, if you download foo.zip, run withPYTHONPATH=foo.zip python -c "from importlib.metadata import version; version('jedi-language-server')"
, you get a PackageNotFoundError.