-
Notifications
You must be signed in to change notification settings - Fork 17
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
Jetsonnano + YOLOv5 could not work on python 3.6.9 #8
Comments
I think your jetpack should be updated to 4.5 or higher. |
I had the similar issue. Try this comment: Run yolov5 on Jetson Nano |
I updated to jetpack 4.5 today. |
Ok, I'd like to confirm this weekend. |
Thanks !! |
recent commits at yolov5, ultralytics/yolov5#3088, requires python3.7 or higher. |
Thank you for your kindness ! Do you know which commit of yolov5 is suitable for jetpack 4.5 ? |
@okome-git diff --git a/Dockerfile b/Dockerfile
index 3b46f20..8dfe8e4 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -19,5 +19,6 @@ RUN git clone --recursive https://github.com/skvark/opencv-python.git
RUN python3 -m pip install --upgrade pip
RUN cd opencv-python && python3 -m pip wheel . --verbose && find . -name "opencv_python*.whl" | xargs python3 -m pip install
RUN git clone https://github.com/ultralytics/yolov5.git
+RUN git checkout 91547edec1a33121b3607e8c946e051514182b4f
RUN cd yolov5 && python3 -m pip install -r requirements.txt
WORKDIR /yolov5 |
It works ! |
Hello, I have same issue "AssertionError: Python 3.7.0 required by YOLOv5, but Python 3.6.9 is currently installed". I installed jetpack 4.5.1. In my Jetson Nano, Python version default is 3.6.9 then I installed Python 3.7.5 and I point python3 to python3.7. So when I type "python3 --version", terminal show "python 3.7.5". But this problem still exists. |
Currently #8 (comment) is the only workaround for this issue. |
I think you should set |
@phongvu0403 Namespace(agnostic_nms=False, augment=False, classes=None, conf_thres=0.25, device='', exist_ok=False, hide_conf=False, hide_labels=False, img_size=640, iou_thres=0.45, line_thickness=3, name='exp', nosave=False, project='runs/detect', save_conf=False, save_crop=False, save_txt=False, source='data/images', update=False, view_img=False, weights=['../yolov5_01/my_yolov5s.pt']) Traceback (most recent call last): |
@okome-git Step 15/18 : RUN git clone https://github.com/ultralytics/yolov5.git Can you help me fixed this problem? |
workaround is add at c46325b |
3c8e946 supports python3.8 and default branch has been changed to |
Thanks for your useful repository!!
I met this type of error
"AssertionError: Python 3.7.0 required by YOLOv5, but Python 3.6.9 is currently installed"
How can I figure out ?
#I can read japanese.
The text was updated successfully, but these errors were encountered: