Closed matt-sd-watson closed 1 month ago
Hi, the versions you specify don’t match the version that was installed when that error occurred.
As you can see, _metadata.py
doesn’t exist in 0.10.8: https://github.com/scverse/anndata/tree/0.10.8/src/anndata
The last version that still had that file was 0.9.2.
In any case, there’s no reason why setuptools_scm should be installed in a runtime environment. Just make sure it doesn’t end up in there and you’re fine. I’m going to close this issue because of this reason.
Finally, have you tried PyApp? It’s a modern take on PyInstaller’s job: https://ofek.dev/pyapp/latest/
Please make sure these conditions are met
Report
I am attempting to bundle a Python package containing numerous modules supporting a Flask application into an executable using
pyinstaller
. The pkg is generated using the following spec:However, upon trying to execute the executable, I get the following trace:
It appears that the version parsing here could be causing this issue.
Versions