OpenSimulationInterface / open-simulation-interface

A generic interface for the environmental perception of automated driving functions in virtual scenarios.
Other
265 stars 124 forks source link

Using OSI pip installer in venv leads to errors for pre-releases. #822

Closed thempen closed 4 weeks ago

thempen commented 4 weeks ago

Currently the PyPi is is deployed to https://test.pypi.org/legacy/.

This leads to missing dependencies for ProtoBuf by default, which is not available in the test.pypi listing. So testing the pip usage right now is not possible. You have to install the dependencies manually for the venv.

pmai commented 4 weeks ago

Actually it works but you have to use the option that only uses test.pypi.org for the package you explicitly mention, not for the dependencies. I stumbled across this, too, as test.pypi.org suggests the other option, which does not work in our case.

thempen commented 4 weeks ago

OK, got it, thank you. So for everybody who has the same issue, this worked for me:

python -m pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple open-simulation-interface
jdsika commented 4 weeks ago

@ClemensLinnhoff maybe nice to know for you as well?