Closed vkorotkine closed 8 months ago
This was a pyenv issue. Following one of the comments from https://stackoverflow.com/questions/40718770/pytest-running-with-another-version-of-python, fixed by running
python -m pip install pytest
and then
python -m pytest tests
After installing navlie with
pip install -e .
, runningpytest tests
results in the following error. Running on Linux Mint 20.2 Cinnamon 64-bit. Using a pyenv version 3.10.1, and the examples run fine. But pytest looks for python 2.7.