question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Errors while setting up

See original GitHub issue

Hi Eleurent,

Thanks for the amazing repository.

When I was trying to build the project, I ended up in below errors could you please help me to fix.

  1. install with Python3 br /> When I try with pip3 install --user git+https://github.com/eleurent/highway-env I am getting the below error and installation is not successful.
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-sir6pe48/matplotlib/
  1. When I try pip install --user git+https://github.com/eleurent/highway-env (which does the installation on Python2.7) installation is successful. However I am not able to import the highway_env
Python 2.7.12 (default, Nov 12 2018, 14:36:49) 
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import highway_env
pygame 1.9.4
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/kishor/.local/lib/python2.7/site-packages/highway_env/__init__.py", line 2, in <module>
    import highway_env.envs
  File "/home/kishor/.local/lib/python2.7/site-packages/highway_env/envs/__init__.py", line 1, in <module>
    from highway_env.envs.highway_env import *
ImportError: No module named envs.highway_env
>>> 

Thank you.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:15 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
eleurentcommented, Jun 13, 2019

By the way, if you have specific needs regarding the observation/action space, feel free to implement your own and create a pull request 😉

1reaction
ClementPinardcommented, Jun 13, 2019

error message makes me think there is something wrong with matplotlib. Is it installed on your python3 ? you can either use pip3 install matplotlib or apt install python3-matplotlib

Read more comments on GitHub >

github_iconTop Results From Across the Web

If an error occurred while updating or installing macOS
If an error occurred while updating or installing macOS · Check your internet connection · Install in safe mode · Install after repairing...
Read more >
Troubleshoot common Setup and Stop Errors during Windows ...
After installing Easeus partition manager, launch the program. Select the system partition where Windows is installed. Click Resize/Move button ...
Read more >
How to Fix Errors When Installing Or Downloading a Program
You're welcome to watch this tutorial if you see error messages while downloading a program, if you don't know where to find the...
Read more >
Some common error received during or after installing the ...
2) Always restart your computer for every steps you take. 3) Before installing any program, try to disable any application run at background, ......
Read more >
9 Ways to Fix an Error Occurred While Preparing the Installation
Installing an entire OS is a time-consuming and tiresome process. A lot of things can go wrong and you might have to repeat...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found