Skip to content

Conversation

@wagenadl
Copy link

@wagenadl wagenadl commented Feb 8, 2026

This resolves issue #11.

For reasons I do not fully understand, the setup.py-based installer ("pip install .") fails to access numpy, even if it has just been installed ("pip install -r requirements.txt") and is provably present in the python environment.

This patch fixes the problem by replacing "setup.py" and "requirements.txt" with a new "pyproject.toml" that contains the same information. Now, a simple "pip install ." works as expected, both in a plain virtual environment (tested with Python 3.12.3 on Ubuntu 24.04) and in a conda environment (tested with Python 3.13 and PyCharm 25.06 on Windows 11).

This resolves issue dorna-robotics#11.

For reasons I do not understand, the setup.py-based installer
("pip install .") fails to access numpy, even if it has just been
installed ("pip install -r requirements.txt") and is provably
present in the python environment.

This patch fixes the problem by replacing "setup.py" and
"requirements.txt" with a new "pyproject.toml" that contains the
same information. Now, a simple "pip install ." works as expected,
both in a plain virtual environment (tested with Python 3.12.3 on
Ubuntu 24.04) and in a conda environment (tested with Python 3.13 and
PyCharm 25.06 on Windows 11).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant