lgsvl / PythonAPI

Python API for Simulator
Other
58 stars 73 forks source link

Branch prefix installation problem. #27

Closed SungYinYang closed 3 years ago

SungYinYang commented 3 years ago

My computer is Ubuntu 16.04. GPU: RTX 2080S.

Recently, I am trying to use the Python API from the branch prefix. Specifically, I want to use the dreamview API. However, I am not able to do the first step

pip3 install --user -e .

It would give me the following error as attached picture.

I then try the command pip install --upgrade pip However, it does not help to solve my issue.

I have tried most of the advice that I can find on google, but none of them work. I also try different version of python(Python 2.7.18 and Python 3.5.2), but this does not solve my problem.

Currently, my previous python-api master does not work as well. I am able to start the code, but nothing show in the simulator as second picture shows. I though it is because when I delete my previous python version, I also deleted lots of python dependency. What should I do now?

Any help or advice is appreciate!

image

image

SungYinYang commented 3 years ago

I solve it with two line of code.

The python version need to be 3.5 above.

pip3 install --upgrade setuptools pip3 install --upgrade pip