Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Jetson Nano from Python Version 3.6.9 to 3.9.7 #591

Open
dalishalo opened this issue Jun 28, 2023 · 1 comment
Open

Update Jetson Nano from Python Version 3.6.9 to 3.9.7 #591

dalishalo opened this issue Jun 28, 2023 · 1 comment

Comments

@dalishalo
Copy link

Hello everyone,

I have the Jetson Nano roboter with the default Python version 3.6.9. Now I want to use on the roboter “YOLOv8” for object detection. However, “YOLOv8” demands a Python version >= 3.7.

Based on this following link, I have updated the Python version to 3.9.7.

https://www.vultr.com/docs/install-the-latest-version-of-python-from-source-on-ubuntu-20-04/

I could successfully install Python with the version 3.9.7 and I also could run “YOLOv8”.

However, as I executed the default notebooks from Jetbot, the notebooks could not find the Jetbot libraries.

For example in jetbot/notebooks/road_following/data_collection.ipynb:

I am getting this error while executing this notebook:

ImportError: cannot import name 'Robot' from 'jetbot' (unknown location)

What can be missing or what did I wrong while updating the Python version?

Thank you!

@Hoehlenbaer
Copy link

Sorry, I don't fully understand what you did, however it sounds like the quite common confusion with docker containers and host systems.
Are you running jetbot's docker containers?
In that case you need to update python within the container by modifying the (base or Jupyter) docker file and rebuilding the container (I usually modify only the Jupyter container). The python environment of the container and the host are independent...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants