Unable to create new donkey car env after installing this package
jithu83 opened this issue · comments
I installed this package as per instructions. However when i tried to create a new donkey environment (since I corrupted my existing environment) using
donkey createcar ~/newcar
I am seeing the following error, which i believe is due to this package. My knowledge of pip / python packaging is pretty limited ... but i thought it could be related
(env) pi@donkeypi:~ $ donkey createcar ~/newcar Traceback (most recent call last): File "/home/pi/env/bin/donkey", line 11, in <module> load_entry_point('donkeypart-bluetooth-game-controller', 'console_scripts', 'donkey')() File "/home/pi/env/lib/python3.5/site-packages/pkg_resources/__init__.py", line 561, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/home/pi/env/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2630, in load_entry_point raise ImportError("Entry point %r not found" % ((group, name),)) ImportError: Entry point ('console_scripts', 'donkey') not found (env) pi@donkeypi:~ $
This could be because this package is adding itself to /home/pi/env/bin/donkey
(env) pi@donkeypi:~ $ cat /home/pi/env/bin/donkey #!/home/pi/env/bin/python3 # EASY-INSTALL-ENTRY-SCRIPT: 'donkeypart-bluetooth-game-controller','console_scripts','donkey' __requires__ = 'donkeypart-bluetooth-game-controller' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit( load_entry_point('console_scripts', 'donkey')() ) (env) pi@donkeypi:~ $
This works for me these days ... So closing this