The Alpha Drive CLI currently performs best with a graphics accelerated machine running Ubuntu 16
** future release will move our visual display back into the browser (as before) and remove the linux accelerated machine dependency
Make sure the CLI is up-to-date.
npm upgrade -g @alphadrive/cli
"Docker error: Unknown runtime specified nvidia"
If you see this error, please ensure the following:
- @alphadrive/cli version 0.10.0 or later
- Docker-CE version 19.03 or later
- Latest Nvidia Container Toolkit - https://github.com/NVIDIA/nvidia-docker#quickstart
"Docker error: connect EACCES /var/run/docker.sock"
Your docker installation requires elevated priveleges to run. You can either prefix the alpha command itself with sudo like:
sudo alpha drive manual
Alternately, you can follow the post-install steps for Linux docker to enable sudo-free docker executions.
Docker error: connect ENOENT /var/run/docker.sock
Either docker is not running on your system or you don't have docker installed.
"Error: Agent command failed with exit code 400. Please verify the command line in your alphadrive.yml"
This error indicates there was some issue executing your agent command. Try it on the command line by itself to see if it starts up properly outside of being run by the alpha command. If that works and you still see this error, please contact support via the chat icon below.
Carla Import Error on Mac
You might see the following on a mac if you run a profile that is not using a docker-based agent:
agent.err: Traceback (most recent call last):
agent.err: File "example_agent.py", line 21, in <module>
agent.err: import carla
agent.err: File "api-redist/carla-0.9.5-py2.7-linux-x86_64.egg/carla/__init__.py", line 8, in <module>
agent.err: File "api-redist/carla-0.9.5-py2.7-linux-x86_64.egg/carla/libcarla.py", line 7, in <module>
agent.err: File "api-redist/carla-0.9.5-py2.7-linux-x86_64.egg/carla/libcarla.py", line 6, in __bootstrap__
agent.err: ImportError: dlopen(/Users/XXX/Library/Caches/Python-Eggs/carla-0.9.5-py2.7-linux-x86_64.egg-tmp/carla/libcarla.so,
There is no CARLA client library available to run natively on the Mac at this time. Additionally there is no GPU support for Mac agents.
On the Mac, if you need a GPU agent, you can use our remote simulation product to launch an agent container and a simulator headless together in the cloud. Please contact us for access and see details about pricing.
Libpng Error on Ubuntu
When running the samples code, if you get an error including:
agent.err: ImportError: libpng16.so.16: cannot open shared object file: No such file or directory
Then you will need to install libpng16 using apt:
sudo apt-get install libpng16-dev libtiff5-dev libjpeg-dev
Having issues with the Demo?
Start over. Delete the current demo folder and do a new install of the demo to get the latest version:
rm -r demo
alpha init demo
If you are experiencing any other issues, please let us know.