depthai icon indicating copy to clipboard operation
depthai copied to clipboard

Running setup example fails when using a path that has a space in it

Open charlesfracchia opened this issue 5 years ago • 3 comments

On Ubuntu 20.04, following the setup/getting started tutorial failed for me when attempting to run the demo script python3 depthai_demo.py. After taking a quick look at the error that was thrown (thrown by this line), I quickly realized that my working path had a space in it, and that it was breaking along the way.

For expediency, I changed the path to remove the space, but this should probably be fixed for newcomers :)

charlesfracchia avatar Jan 17 '21 03:01 charlesfracchia

Adding

RuntimeError: Model downloader failed!

for google-ability.

Luxonis-Brandon avatar Jan 19 '21 05:01 Luxonis-Brandon

ran into the same problem with a '-' hyphen in my virutalenv name, example the virtualenv "oak-d" threw the same "Model downloader failed!" error switching to a virutalenv called "oakd" and now it works! not sure if that was the problem, but it was a fix for me!

running on Raspberry Pi 4b

samgutentag avatar Jan 27 '21 05:01 samgutentag

Oh that's super good to know. We had run into weird virtualenv things before and hadn't resolved them. I bet it was the - hyphen! Thanks for the information here!

Luxonis-Brandon avatar Jan 27 '21 05:01 Luxonis-Brandon