• Yolo5部署到Jetson_orin上错误笔记记录


    Found existing installation: matplotlib 3.1.2
    Not uninstalling matplotlib at /usr/lib/python3/dist-packages, outside environment /usr
    Can't uninstall 'matplotlib'. No files were found to uninstall.
    解决办法

    1. vidia@1:~/yolov5$ sudo apt remove python3-matplotlib
    2. Reading package lists... Done
    3. Building dependency tree
    4. Reading state information... Done
    5. The following packages were automatically installed and are no longer required:
    6. libjs-jquery-ui python-matplotlib-data python3-cycler python3-kiwisolver python3-pyparsing
    7. Use 'sudo apt autoremove' to remove them.
    8. The following packages will be REMOVED:
    9. python3-matplotlib
    10. 0 upgraded, 0 newly installed, 1 to remove and 191 not upgraded.
    11. After this operation, 13.5 MB disk space will be freed.
    12. Do you want to continue? [Y/n] y
    13. (Reading database ... 165457 files and directories currently installed.)
    14. Removing python3-matplotlib (3.1.2-1ubuntu4) ...
    1. pip3 uninstall Pillow
    2. Found existing installation: Pillow 7.0.0
    3. Not uninstalling pillow at /usr/lib/python3/dist-packages, outside environment /usr
    4. Can't uninstall 'Pillow'. No files were found to uninstall.
    5. nvidia@nvidia-desktop:~/yolov5-6.1$ sudo apt remove Pillow
    6. Reading package lists... Done
    7. Building dependency tree
    8. Reading state information... Done
    9. E: Unable to locate package Pillow
    10. nvidia@nvidia-desktop:~/yolov5-6.1$ pip3 uninstall Pillow
    11. Found existing installation: Pillow 7.0.0
    12. Not uninstalling pillow at /usr/lib/python3/dist-packages, outside environment /usr
    13. Can't uninstall 'Pillow'. No files were found to uninstall.
    14. nvidia@nvidia-desktop:~/yolov5-6.1$ sudo apt remove python3-pil
    15. Reading package lists... Done
    16. Building dependency tree
    17. Reading state information... Done
    18. The following packages were automatically installed and are no longer required:
    19. apt-clone archdetect-deb bogl-bterm busybox-static cryptsetup-bin dctrl-tools dpkg-repack gdal-data gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 grub-common libaec0 libarmadillo9 libarpack2
    20. libavresample-dev libavresample4 libcfitsio8 libcharls2 libdap25 libdapclient6v5 libdc1394-22-dev libdebian-installer4 libepsilon1 libexif-dev libfreexl1 libfyba0 libgdal26 libgdcm-dev
    21. libgdcm3.0 libgeos-3.8.0 libgeos-c1v5 libgeotiff5 libgl2ps1.4 libgphoto2-dev libhdf4-0-alt libhdf5-103 libhdf5-openmpi-103 libilmbase-dev libimagequant0 libjbig-dev libjs-jquery-ui
    22. libkmlbase1 libkmldom1 libkmlengine1 liblept5 liblzma-dev libminizip1 libnetcdf-c++4 libnetcdf15 libodbc1 libogdi4.1 libopencv-calib3d4.2 libopencv-contrib4.2 libopencv-dnn4.2
    23. libopencv-features2d4.2 libopencv-flann4.2 libopencv-highgui4.2 libopencv-imgcodecs4.2 libopencv-imgproc4.2 libopencv-ml4.2 libopencv-objdetect4.2 libopencv-photo4.2 libopencv-shape4.2
    24. libopencv-stitching4.2 libopencv-superres4.2 libopencv-video4.2 libopencv-videoio4.2 libopencv-videostab4.2 libopencv-viz4.2 libopencv4.2-java libopencv4.2-jni libopenexr-dev libpng-dev
    25. libpq5 libproj15 libqhull7 libraw1394-dev libsocket++1 libspatialite7 libsuperlu5 libsz2 libtesseract4 libtiff-dev libtiffxx5 libtimezonemap-data libtimezonemap1 liburiparser1 libvtk6.3
    26. libxerces-c3.2 odbcinst odbcinst1debian2 os-prober proj-data python-matplotlib-data python3-cycler python3-icu python3-kiwisolver python3-olefile python3-pam python3-pyparsing rdate tasksel
    27. tasksel-data
    28. Use 'sudo apt autoremove' to remove them.
    29. The following packages will be REMOVED:
    30. python3-pil
    31. 0 upgraded, 0 newly installed, 1 to remove and 194 not upgraded.
    32. After this operation, 1,520 kB disk space will be freed.
    33. Do you want to continue? [Y/n] y
    34. (Reading database ... 162128 files and directories currently installed.)
    35. Removing python3-pil:arm64 (7.0.0-4ubuntu0.5) ...

     或者

    sudo apt remove python3-pil
     

    1. ip3 uninstall requests
    2. Found existing installation: requests 2.22.0
    3. Not uninstalling requests at /usr/lib/python3/dist-packages, outside environment /usr
    4. Can't uninstall 'requests'. No files were found to uninstall.
    5. nvidia@nvidia-desktop:~/yolov5-6.1$ sudo apt remove python3-requests
    6. Reading package lists... Done
    7. Building dependency tree
    8. Reading state information... Done
    9. The following packages were automatically installed and are no longer required:
    10. apg apport-symptoms apt-clone apturl-common archdetect-deb avahi-utils bogl-bterm busybox-static cryptsetup-bin dctrl-tools dpkg-repack gdal-data gir1.2-goa-1.0 gir1.2-notify-0.7
    11. gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 gnome-control-center-faces grub-common ippusbxd libaec0 libarmadillo9 libarpack2 libavresample-dev libavresample4 libcfitsio8 libcharls2 libcolord-gtk1
    12. libdap25 libdapclient6v5 libdc1394-22-dev libdebian-installer4 libepsilon1 libexif-dev libfreexl1 libfyba0 libgdal26 libgdcm-dev libgdcm3.0 libgeos-3.8.0 libgeos-c1v5 libgeotiff5
    13. libgl2ps1.4 libglu1-mesa libgphoto2-dev libgsound0 libgupnp-av-1.0-2 libgupnp-dlna-2.0-3 libhdf4-0-alt libhdf5-103 libhdf5-openmpi-103 libilmbase-dev libimagequant0 libjbig-dev
    14. libjs-jquery-ui libkmlbase1 libkmldom1 libkmlengine1 liblept5 liblzma-dev libminizip1 libnetcdf-c++4 libnetcdf15 libodbc1 libogdi4.1 libopencv-calib3d4.2 libopencv-contrib4.2
    15. libopencv-dnn4.2 libopencv-features2d4.2 libopencv-flann4.2 libopencv-highgui4.2 libopencv-imgcodecs4.2 libopencv-imgproc4.2 libopencv-ml4.2 libopencv-objdetect4.2 libopencv-photo4.2
    16. libopencv-shape4.2 libopencv-stitching4.2 libopencv-superres4.2 libopencv-video4.2 libopencv-videoio4.2 libopencv-videostab4.2 libopencv-viz4.2 libopencv4.2-java libopencv4.2-jni
    17. libopenexr-dev libpng-dev libpq5 libproj15 libqhull7 libraw1394-dev librygel-core-2.6-2 librygel-db-2.6-2 librygel-renderer-2.6-2 librygel-server-2.6-2 libsocket++1 libspatialite7
    18. libsuperlu5 libsz2 libtesseract4 libtiff-dev libtiffxx5 libtimezonemap-data libtimezonemap1 liburiparser1 libvtk6.3 libwhoopsie-preferences0 libxerces-c3.2 mobile-broadband-provider-info
    19. network-manager-gnome odbcinst odbcinst1debian2 os-prober proj-data python-matplotlib-data python3-certifi python3-cups python3-cycler python3-icu python3-kiwisolver python3-olefile
    20. python3-pam python3-problem-report python3-protobuf python3-pymacaroons python3-pyparsing python3-rfc3339 python3-software-properties python3-systemd rdate rygel tasksel tasksel-data
    21. whoopsie-preferences x11-apps x11-session-utils xinput xserver-xorg-input-all xserver-xorg-input-libinput xserver-xorg-input-wacom xserver-xorg-video-all xserver-xorg-video-amdgpu
    22. xserver-xorg-video-ati xserver-xorg-video-nouveau xserver-xorg-video-radeon xserver-xorg-video-vesa
    23. Use 'sudo apt autoremove' to remove them.
    24. The following packages will be REMOVED:
    25. apport apport-gtk apturl gnome-control-center gnome-online-accounts nautilus-share python3-apport python3-cupshelpers python3-macaroonbakery python3-requests python3-requests-unixsocket
    26. software-properties-common software-properties-gtk system-config-printer system-config-printer-common system-config-printer-udev ubuntu-desktop ubuntu-desktop-minimal xorg xserver-xorg
    27. 0 upgraded, 0 newly installed, 20 to remove and 194 not upgraded.
    28. After this operation, 11.8 MB disk space will be freed.
    29. Do you want to continue? [Y/n] y
    30. (Reading database ... 162017 files and directories currently installed.)
    31. Removing apport-gtk (2.20.11-0ubuntu27.24) ...
    32. Removing apport (2.20.11-0ubuntu27.24) ...
    33. Removing nautilus-share (0.7.3-2ubuntu3) ...
    34. Removing apturl (0.5.2ubuntu19) ...
    35. Removing ubuntu-desktop (1.450.2) ...
    36. Removing ubuntu-desktop-minimal (1.450.2) ...
    37. Removing gnome-control-center (1:3.36.5-0ubuntu4) ...
    38. Removing gnome-online-accounts (3.36.1-0ubuntu1) ...
    39. Removing xorg (1:7.7+19ubuntu14) ...
    40. Removing xserver-xorg (1:7.7+19ubuntu14) ...
    41. Removing python3-apport (2.20.11-0ubuntu27.24) ...
    42. Removing system-config-printer (1.5.12-0ubuntu1.1) ...
    43. Removing system-config-printer-udev (1.5.12-0ubuntu1.1) ...
    44. Removing python3-macaroonbakery (1.3.1-1) ...
    45. Removing system-config-printer-common (1.5.12-0ubuntu1.1) ...
    46. Removing software-properties-gtk (0.99.9.8) ...
    47. Removing software-properties-common (0.99.9.8) ...
    48. Removing python3-cupshelpers (1.5.12-0ubuntu1.1) ...
    49. Removing python3-requests-unixsocket (0.2.0-2) ...
    50. Removing python3-requests (2.22.0-2ubuntu1) ...
    51. Processing triggers for mime-support (3.64ubuntu1) ...
    52. Processing triggers for hicolor-icon-theme (0.17-2) ...
    53. Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
    54. Processing triggers for libglib2.0-0:arm64 (2.64.6-1~ubuntu20.04.4) ...
    55. Processing triggers for man-db (2.9.1-1) ...
    56. Processing triggers for dbus (1.12.16-2ubuntu2.2) ...
    57. Processing triggers for shared-mime-info (1.15-1) ...
    58. Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...

    (5条消息) UserWarning: Failed to load image Python extension: warn(f“Failed to load image Python extension: {e_无证驾驶梁嗖嗖的博客-CSDN博客

    pytorch安装步骤如上连接 

  • 相关阅读:
    charles
    第四十九章 开发自定义标签 - 在action之外使用<csr>标签
    仅30行代码,实现一个搜索引擎(1.0版)
    最新SSL证书申请源码,支持API接口,支付在线充值
    博弈论——动态博弈
    DeepMind CEO 预测 AI 未来:从被动问答到主动的学习者;华为官宣 Pocket 2 发布会
    Node如何获取pnpm安装的包源码真实代码路径并操作
    如何衡量测试效率?
    RPA机器人在电商领域有哪些应用?
    HTTP请求头
  • 原文地址:https://blog.csdn.net/weixin_46151178/article/details/127844411