-
Notifications
You must be signed in to change notification settings - Fork 38
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
importlib.metadata.PackageNotFoundError: No package metadata was found for gnss-lib-py #160
Comments
Were you following the "Developer Installation" instructions here? https://gnss-lib-py.readthedocs.io/en/latest/install.html Did you have any errors when installing When you run the |
poetry install -r requirements.txt reports following errors at the end.
After commenting the last line of gnss_lib_py/init.py, poetry run pytest works for me,
|
Hi again, @mikehb I'll need some additional information to be able to help you. It sounds like you may be interchanging installing with In the latest poetry, The error you sent indicates an incompatibility between the version of You could try to remedy the issue by either
I was able to install the latest versions of both I hope this helps. |
Describe the bug
"poetry run pytest" reports package metadata not found
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Could execute the test scripts
Screenshots
[mikehuang@localhost gnss_lib_py-1.0.2]$ poetry run pytest
Creating virtualenv gnss-lib-py-7gV7y9ay-py3.11 in /home/mikehuang/.cache/pypoetry/virtualenvs
ImportError while loading conftest '/home/mikehuang/Downloads/gnss_lib_py-1.0.2/tests/conftest.py'.
tests/conftest.py:14: in
from gnss_lib_py.navdata.navdata import NavData
gnss_lib_py/init.py:39: in
version = metadata.version("gnss-lib-py")
E importlib.metadata.PackageNotFoundError: No package metadata was found for gnss-lib-py
[mikehuang@localhost gnss_lib_py-1.0.2]$
System Information (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: