python -m pip install easydict
https://blog.csdn.net/qq_41185868/article/details/79678909
python 3.7 版本需要一个新的环境依赖包 libffi-dev, 安装之后重新编译安装就可以了
nano@nano-desktop:~$ cd Yolov5_Deepsort_Pytorch-master
bash: cd: Yolov5_Deepsort_Pytorch-master: No such file or directory
nano@nano-desktop:~$ cd Yolov5_DeepSort_Pytorch-master
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ python track.py --source test.mp4
Traceback (most recent call last):
File "track.py", line 4, in <module>
from yolov5.utils.datasets import LoadImages, LoadStreams
File "/home/nano/Yolov5_DeepSort_Pytorch-master/yolov5/utils/datasets.py", line 15, in <module>
import cv2
ModuleNotFoundError: No module named 'cv2'
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ python -m pip install opencvCollecting opencv
ERROR: Could not find a version that satisfies the requirement opencv (from versions: none)
ERROR: No matching distribution found for opencv
WARNING: You are using pip version 19.2.3, however version 21.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ sudo pip install --upgrade pip
[sudo] password for nano:
Traceback (most recent call last):
File "/usr/local/bin/pip", line 32, in <module>
sys.argv[0] = re.su.b(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
AttributeError: module 're' has no attribute 'su'
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ python -m pip install --upgrade pip
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/pip/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/pip/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/pip/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/pip/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/pip/
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))) - skipping
Requirement already up-to-date: pip in /usr/local/lib/python3.8/site-packages (19.2.3)
WARNING: You are using pip version 19.2.3, however version 21.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ sudo python -m pip install --upgrade pip
WARNING: The directory '/home/nano/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
WARNING: The directory '/home/nano/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/pip/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/pip/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/pip/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/pip/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/pip/
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))) - skipping
Requirement already up-to-date: pip in /usr/local/lib/python3.8/site-packages (19.2.3)
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))) - skipping
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ sudo python -m pip install --upgrade pip
WARNING: The directory '/home/nano/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
WARNING: The directory '/home/nano/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting pip
Downloading https://files.pythonhosted.org/packages/fe/ef/60d7ba03b5c442309ef42e7d69959f73aacccd0d86008362a681c4698e83/pip-21.0.1-py3-none-any.whl (1.5MB)
|████████████████████████████████| 1.5MB 412kB/s
Installing collected packages: pip
Found existing installation: pip 19.2.3
Uninstalling pip-19.2.3:
Successfully uninstalled pip-19.2.3
Successfully installed pip-21.0.1
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ python track.py --source test.mp4
Traceback (most recent call last):
File "track.py", line 4, in <module>
from yolov5.utils.datasets import LoadImages, LoadStreams
File "/home/nano/Yolov5_DeepSort_Pytorch-master/yolov5/utils/datasets.py", line 15, in <module>
import cv2
ModuleNotFoundError: No module named 'cv2'
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ python -m pip install opencvDefaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement opencv
ERROR: No matching distribution found for opencv
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ python -m pip install cv2
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement cv2
ERROR: No matching distribution found for cv2
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ sudo pip install opencv-python
WARNING: The directory '/home/nano/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting opencv-python
Downloading opencv_python-4.5.1.48-cp38-cp38-manylinux2014_aarch64.whl (34.5 MB)
|████████████████████████████████| 34.5 MB 336 kB/s
Collecting numpy>=1.19.3
Downloading numpy-1.20.2-cp38-cp38-manylinux2014_aarch64.whl (12.7 MB)
|████████████████████████████████| 12.7 MB 235 kB/s
Installing collected packages: numpy, opencv-python
Successfully installed numpy-1.20.2 opencv-python-4.5.1.48
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ python track.py --source test.mp4
Traceback (most recent call last):
File "track.py", line 4, in <module>
from yolov5.utils.datasets import LoadImages, LoadStreams
File "/home/nano/Yolov5_DeepSort_Pytorch-master/yolov5/utils/datasets.py", line 17, in <module>
import torch
ModuleNotFoundError: No module named 'torch'
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ sudo pip install torch
WARNING: The directory '/home/nano/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting torch
Downloading torch-1.8.1-cp38-cp38-manylinux2014_aarch64.whl (45.2 MB)
|████████████████████████████████| 45.2 MB 160 kB/s
Collecting typing-extensions
Downloading typing_extensions-3.7.4.3-py3-none-any.whl (22 kB)
Requirement already satisfied: numpy in /usr/local/lib/python3.8/site-packages (from torch) (1.20.2)
Installing collected packages: typing-extensions, torch
Successfully installed torch-1.8.1 typing-extensions-3.7.4.3
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ python track.py --source test.mp4
Traceback (most recent call last):
File "track.py", line 4, in <module>
from yolov5.utils.datasets import LoadImages, LoadStreams
File "/home/nano/Yolov5_DeepSort_Pytorch-master/yolov5/utils/datasets.py", line 17, in <module>
import torch
File "/usr/local/lib/python3.8/site-packages/torch/__init__.py", line 16, in <module>
import ctypes
File "/usr/local/lib/python3.8/ctypes/__init__.py", line 7, in <module>
from _ctypes import Union, Structure, Array
ModuleNotFoundError: No module named '_ctypes'
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ sudo pip install _ctypes
WARNING: The directory '/home/nano/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
ERROR: Invalid requirement: '_ctypes'
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ yum install libffi-devel -y
bash: yum: command not found
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ sudo apt-get install libffi-dev
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
E: 无法定位软件包 libffi-dev
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ make install
make: *** No rule to make target 'install'. Stop.
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ yum install libffi -devel
bash: yum: command not found
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ apt install libddi -dev
E: 不能理解命令行选项 “e” [来自 -dev] 与其他选项的搭配。
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ apt install libddi-dev
E: 无法打开锁文件 /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: 无法获取 dpkg 前端锁 (/var/lib/dpkg/lock-frontend),请查看您是否正以 root 用户运行?
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ apt install libssl-dev
E: 无法打开锁文件 /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: 无法获取 dpkg 前端锁 (/var/lib/dpkg/lock-frontend),请查看您是否正以 root 用户运行?
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ yum -y install libffi-devel
bash: yum: command not found
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ sudo apt-get upgrade
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
正在计算更新... 完成
下列软件包是自动安装的并且现在不需要了:
apt-clone archdetect-deb bogl-bterm busybox-static cryptsetup-bin
dpkg-repack gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 grub-common
kde-window-manager kinit kio kpackagetool5 kwayland-data kwin-common
kwin-data kwin-x11 libdebian-installer4 libkdecorations2-5v5
libkdecorations2private5v5 libkf5activities5 libkf5attica5
libkf5completion-data libkf5completion5 libkf5declarative-data
libkf5declarative5 libkf5doctools5 libkf5globalaccel-data libkf5globalaccel5
libkf5globalaccelprivate5 libkf5idletime5 libkf5jobwidgets-data
libkf5jobwidgets5 libkf5kcmutils-data libkf5kcmutils5 libkf5kiocore5
libkf5kiontlm5 libkf5kiowidgets5 libkf5newstuff-data libkf5newstuff5
libkf5newstuffcore5 libkf5package-data libkf5package5 libkf5plasma5
libkf5quickaddons5 libkf5solid5 libkf5solid5-data libkf5sonnet5-data
libkf5sonnetcore5 libkf5sonnetui5 libkf5textwidgets-data libkf5textwidgets5
libkf5waylandclient5 libkf5waylandserver5 libkf5xmlgui-bin libkf5xmlgui-data
libkf5xmlgui5 libkscreenlocker5 libkwin4-effect-builtins1 libkwineffects11
libkwinglutils11 libkwinxrenderutils11 libllvm9 libqgsttools-p1
libqt5designer5 libqt5help5 libqt5multimedia5 libqt5multimedia5-plugins
libqt5multimediaquick-p5 libqt5multimediawidgets5 libqt5positioning5
libqt5qml5 libqt5quick5 libqt5quickwidgets5 libqt5sensors5 libqt5webchannel5
libqt5webkit5 libxcb-composite0 libxcb-cursor0 libxcb-damage0 os-prober
python3-dbus.mainloop.pyqt5 python3-icu python3-pam python3-pyqt5
python3-pyqt5.qtsvg python3-pyqt5.qtwebkit
qml-module-org-kde-kquickcontrolsaddons qml-module-qtmultimedia
qml-module-qtquick2 rdate tasksel tasksel-data
使用'sudo apt autoremove'来卸载它(它们)。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ sudo apt-get install libffi-devel
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
E: 无法定位软件包 libffi-devel
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ sudo apt-get install build-essential python-dev python-setuptools python-pip python-smbus
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
没有可用的软件包 python-smbus,但是它被其它的软件包引用了。
这可能意味着这个缺失的软件包可能已被废弃,
或者只能在其他发布源中找到
没有可用的软件包 python-setuptools,但是它被其它的软件包引用了。
这可能意味着这个缺失的软件包可能已被废弃,
或者只能在其他发布源中找到
E: 软件包 python-setuptools 没有可安装候选
E: 无法定位软件包 python-pip
E: 软件包 python-smbus 没有可安装候选
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ sudo apt-get install build-essential libncursecw5-dev libgdbm-dev libc6-dev
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
E: 无法定位软件包 libncursecw5-dev
E: 无法定位软件包 libgdbm-dev
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ sudo apt-get install zlib1g-dev libsqlite3-dev tk-dev
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
没有可用的软件包 libsqlite3-dev,但是它被其它的软件包引用了。
这可能意味着这个缺失的软件包可能已被废弃,
或者只能在其他发布源中找到
E: 软件包 libsqlite3-dev 没有可安装候选
E: 无法定位软件包 tk-dev
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ sudo apt-get install libssl-dev openssl
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
没有可用的软件包 libssl-dev,但是它被其它的软件包引用了。
这可能意味着这个缺失的软件包可能已被废弃,
或者只能在其他发布源中找到
E: 软件包 libssl-dev 没有可安装候选
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ make
make: *** No targets specified and no makefile found. Stop.
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ make install
make: *** No rule to make target 'install'. Stop.
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ yum install libffi-devel -y
bash: yum: command not found
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ wget http://yum.baseurl.org/download/3.4/yum-3.4.3.tar.gz
--2021-04-08 20:14:54-- http://yum.baseurl.org/download/3.4/yum-3.4.3.tar.gz
Resolving yum.baseurl.org (yum.baseurl.org)... 140.211.9.35, 2605:bc80:3010:104::8cd3:923
Connecting to yum.baseurl.org (yum.baseurl.org)|140.211.9.35|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1140370 (1.1M) [application/x-gzip]
Saving to: ‘yum-3.4.3.tar.gz’
yum-3.4.3.tar.gz 100%[===================>] 1.09M 76.5KB/s in 12s
2021-04-08 20:15:10 (90.7 KB/s) - ‘yum-3.4.3.tar.gz’ saved [1140370/1140370]
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ tar -zxvf yum-3.4.3.tar.gzcd yum-3.4.3
tar (child): yum-3.4.3.tar.gzcd: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ ./yumain.py update -y
bash: ./yumain.py: No such file or directory
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ yum install libffi-devel -y
bash: yum: command not found
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ tar -zxvf yum-3.4.3.tar.gz
yum-3.4.3/
yum-3.4.3/utils.py
yum-3.4.3/yum.spec
yum-3.4.3/yummain.py
yum-3.4.3/.gitignore
yum-3.4.3/Makefile
yum-3.4.3/bin/
yum-3.4.3/bin/yum-updatesd.py
yum-3.4.3/bin/yum.py
yum-3.4.3/callback.py
yum-3.4.3/shell.py
yum-3.4.3/PLUGINS
yum-3.4.3/yum-updatesd.py
yum-3.4.3/etc/
yum-3.4.3/etc/yum-updatesd-dbus.conf
yum-3.4.3/etc/yum-weekly.yum
yum-3.4.3/etc/yum-daily.yum
yum-3.4.3/etc/yum.bash
yum-3.4.3/etc/yum-cron.sysconf
yum-3.4.3/etc/version-groups.conf
yum-3.4.3/etc/Makefile
yum-3.4.3/etc/yum.pam
yum-3.4.3/etc/0yum.cron
yum-3.4.3/etc/yum-cron
yum-3.4.3/etc/yum.conf
yum-3.4.3/etc/yum-updatesd.conf
yum-3.4.3/etc/yum.console
yum-3.4.3/etc/yum-updatesd.init
yum-3.4.3/etc/yum.logrotate
yum-3.4.3/COPYING
yum-3.4.3/output.py
yum-3.4.3/AUTHORS
yum-3.4.3/TODO
yum-3.4.3/FAQ
yum-3.4.3/docs/
yum-3.4.3/docs/yum-updatesd.conf.5
yum-3.4.3/docs/comps.rng
yum-3.4.3/docs/.gitignore
yum-3.4.3/docs/Makefile
yum-3.4.3/docs/yum-shell.8
yum-3.4.3/docs/yum.8
yum-3.4.3/docs/yum.conf.5
yum-3.4.3/docs/repomd.dtd
yum-3.4.3/docs/yum-updatesd.8
yum-3.4.3/rpmUtils/
yum-3.4.3/rpmUtils/Makefile
yum-3.4.3/rpmUtils/transaction.py
yum-3.4.3/rpmUtils/updates.py
yum-3.4.3/rpmUtils/__init__.py
yum-3.4.3/rpmUtils/miscutils.py
yum-3.4.3/rpmUtils/arch.py
yum-3.4.3/rpmUtils/tests/
yum-3.4.3/rpmUtils/tests/updates-test.py
yum-3.4.3/rpmUtils/oldUtils.py
yum-3.4.3/po/
yum-3.4.3/po/fi.po
yum-3.4.3/po/it.po
yum-3.4.3/po/lt_LT.po
yum-3.4.3/po/ru.po
yum-3.4.3/po/ja.po
yum-3.4.3/po/bn_IN.po
yum-3.4.3/po/eu.po
yum-3.4.3/po/el.po
yum-3.4.3/po/pa.po
yum-3.4.3/po/sr@latin.po
yum-3.4.3/po/.gitignore
yum-3.4.3/po/pygettext.py
yum-3.4.3/po/nb.po
yum-3.4.3/po/Makefile
yum-3.4.3/po/yum.pot
yum-3.4.3/po/de.po
yum-3.4.3/po/cs.po
yum-3.4.3/po/pl.po
yum-3.4.3/po/gu.po
yum-3.4.3/po/ca.po
yum-3.4.3/po/Makevars
yum-3.4.3/po/POTFILES.skip
yum-3.4.3/po/pt.po
yum-3.4.3/po/id.po
yum-3.4.3/po/zh_CN.po
yum-3.4.3/po/pt_BR.po
yum-3.4.3/po/sv.po
yum-3.4.3/po/en_GB.po
yum-3.4.3/po/ms.po
yum-3.4.3/po/id_ID.po
yum-3.4.3/po/ur.po
yum-3.4.3/po/fr.po
yum-3.4.3/po/uk.po
yum-3.4.3/po/hi.po
yum-3.4.3/po/mr.po
yum-3.4.3/po/zh_TW.po
yum-3.4.3/po/sr.po
yum-3.4.3/po/es.po
yum-3.4.3/po/hu.po
yum-3.4.3/po/POTFILES.in
yum-3.4.3/po/da.po
yum-3.4.3/cli.py
yum-3.4.3/INSTALL
yum-3.4.3/test/
yum-3.4.3/test/depsolvetests.py
yum-3.4.3/test/simpleupdatetests.py
yum-3.4.3/test/simpleobsoletestests.py
yum-3.4.3/test/simpleremovetests.py
yum-3.4.3/test/check-po-yes-no.py
yum-3.4.3/test/rpmdb-cache.py
yum-3.4.3/test/packagetests.py
yum-3.4.3/test/operationstests.py
yum-3.4.3/test/transactiontests.py
yum-3.4.3/test/yum-release-i18n-test.sh
yum-3.4.3/test/complexremovetests.py
yum-3.4.3/test/yum-leak-test.py
yum-3.4.3/test/skipbroken-tests.py
yum-3.4.3/test/testbase.py
yum-3.4.3/test/settestpath.py
yum-3.4.3/test/yum-pylintrc
yum-3.4.3/test/release.sh
yum-3.4.3/test/merge-history-transactions-tests.py
yum-3.4.3/test/misc-tests.py
yum-3.4.3/test/yum-release-test.sh
yum-3.4.3/yum/
yum-3.4.3/yum/rpmsack.py
yum-3.4.3/yum/mdparser.py
yum-3.4.3/yum/failover.py
yum-3.4.3/yum/metalink.py
yum-3.4.3/yum/i18n.py
yum-3.4.3/yum/sqlitesack.py
yum-3.4.3/yum/config.py
yum-3.4.3/yum/transactioninfo.py
yum-3.4.3/yum/logginglevels.py
yum-3.4.3/yum/parser.py
yum-3.4.3/yum/yumRepo.py
yum-3.4.3/yum/Makefile
yum-3.4.3/yum/pgpmsg.py
yum-3.4.3/yum/__init__.py
yum-3.4.3/yum/constants.py
yum-3.4.3/yum/history.py
yum-3.4.3/yum/callbacks.py
yum-3.4.3/yum/rpmtrans.py
yum-3.4.3/yum/sqlutils.py
yum-3.4.3/yum/comps.py
yum-3.4.3/yum/Errors.py
yum-3.4.3/yum/update_md.py
yum-3.4.3/yum/repoMDObject.py
yum-3.4.3/yum/repos.py
yum-3.4.3/yum/misc.py
yum-3.4.3/yum/depsolve.py
yum-3.4.3/yum/packageSack.py
yum-3.4.3/yum/plugins.py
yum-3.4.3/yum/pkgtag_db.py
yum-3.4.3/yum/packages.py
yum-3.4.3/ChangeLog
yum-3.4.3/yumcommands.py
yum-3.4.3/README
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ ./yummain.py update
bash: ./yummain.py: No such file or directory
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ whereis yum
yum:
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ whichis yum
bash: whichis: command not found
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ ls
deep_sort_pytorch requirements.txt track.py yum-3.4.3
inference test.mp4 yolov5 yum-3.4.3.tar.gz
README.md Town.gif yolov5_4.0
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ cd yum-3.4.3
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master/yum-3.4.3$ ls
AUTHORS COPYING Makefile rpmUtils yum
bin docs output.py shell.py yumcommands.py
callback.py etc PLUGINS test yummain.py
ChangeLog FAQ po TODO yum.spec
cli.py INSTALL README utils.py yum-updatesd.py
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master/yum-3.4.3$ python yummain.py update
File "yummain.py", line 75
except Errors.LockError, e:
^
SyntaxError: invalid syntax
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master/yum-3.4.3$ yummain.py update
bash: yummain.py: command not found
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master/yum-3.4.3$ python yummain.py
File "yummain.py", line 75
except Errors.LockError, e:
^
SyntaxError: invalid syntax
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master/yum-3.4.3$ cd ..
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ python track.py --source test.mp4
Traceback (most recent call last):
File "track.py", line 4, in <module>
from yolov5.utils.datasets import LoadImages, LoadStreams
File "/home/nano/Yolov5_DeepSort_Pytorch-master/yolov5/utils/datasets.py", line 17, in <module>
import torch
File "/usr/local/lib/python3.8/site-packages/torch/__init__.py", line 16, in <module>
import ctypes
File "/usr/local/lib/python3.8/ctypes/__init__.py", line 7, in <module>
from _ctypes import Union, Structure, Array
ModuleNotFoundError: No module named '_ctypes'
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ cd yum-3.4.3
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master/yum-3.4.3$ ls
AUTHORS COPYING Makefile rpmUtils yum
bin docs output.py shell.py yumcommands.py
callback.py etc PLUGINS test yummain.py
ChangeLog FAQ po TODO yum.spec
cli.py INSTALL README utils.py yum-updatesd.py
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master/yum-3.4.3$ wget http://mirrors.163.com/centos/7/os/x86_64/Packages/
--2021-04-08 20:24:16-- http://mirrors.163.com/centos/7/os/x86_64/Packages/
Resolving mirrors.163.com (mirrors.163.com)... 14.17.102.87, 113.107.250.86, 113.107.250.87, ...
Connecting to mirrors.163.com (mirrors.163.com)|14.17.102.87|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1330517 (1.3M) [text/html]
Saving to: ‘index.html’
index.html 100%[===================>] 1.27M 1.02MB/s in 1.2s
2021-04-08 20:24:18 (1.02 MB/s) - ‘index.html’ saved [1330517/1330517]
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master/yum-3.4.3$ rpm -ivh --force --nodeps python-iniparse-0.4-9.el7.noarch.rpm
bash: rpm: command not found
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master/yum-3.4.3$ cd ..
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ python track.py --source test.mp4
Traceback (most recent call last):
File "track.py", line 4, in <module>
from yolov5.utils.datasets import LoadImages, LoadStreams
File "/home/nano/Yolov5_DeepSort_Pytorch-master/yolov5/utils/datasets.py", line 17, in <module>
import torch
File "/usr/local/lib/python3.8/site-packages/torch/__init__.py", line 16, in <module>
import ctypes
File "/usr/local/lib/python3.8/ctypes/__init__.py", line 7, in <module>
from _ctypes import Union, Structure, Array
ModuleNotFoundError: No module named '_ctypes'
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ yum install libffi-devel -y
bash: yum: command not found
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ wget http://mirrors.centos.org/centos/7/os/x86_64/Packages/libffi-devel-3.0.13-19.el7.x86_64.rpm
--2021-04-08 20:27:55-- http://mirrors.centos.org/centos/7/os/x86_64/Packages/libffi-devel-3.0.13-19.el7.x86_64.rpm
Resolving mirrors.centos.org (mirrors.centos.org)... failed: Name or service not known.
wget: unable to resolve host address ‘mirrors.centos.org’
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ wget http://mirror.centos.org/centos/7/os/x86_64/Packages/libffi-devel-3.0.13-19.el7.x86_64.rpm
--2021-04-08 20:29:35-- http://mirror.centos.org/centos/7/os/x86_64/Packages/libffi-devel-3.0.13-19.el7.x86_64.rpm
Resolving mirror.centos.org (mirror.centos.org)... 54.169.224.98, 2604:1380:3000:2800::1
Connecting to mirror.centos.org (mirror.centos.org)|54.169.224.98|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 23776 (23K) [application/x-rpm]
Saving to: ‘libffi-devel-3.0.13-19.el7.x86_64.rpm’
libffi-devel-3.0.13 100%[===================>] 23.22K 30.4KB/s in 0.8s
2021-04-08 20:29:37 (30.4 KB/s) - ‘libffi-devel-3.0.13-19.el7.x86_64.rpm’ saved [23776/23776]
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ rpm -ivh libffi-devel-3.0.13-19.el7.x86_64.rpm
bash: rpm: command not found
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ rpm-ivh libffi-devel-3.0.13-19.el7.x86_64.rpm
bash: rpm-ivh: command not found
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ rpm -ivh libffi-devel-3.0.13-19.el7.x86_64.rpm
bash: rpm: command not found
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ brew search rpm
bash: brew: command not found
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ brew install rpm
bash: brew: command not found
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ sudo pip install rpm
[sudo] password for nano:
WARNING: The directory '/home/nano/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting rpm
Downloading rpm-0.0.2-py2.py3-none-any.whl (19 kB)
Installing collected packages: rpm
Successfully installed rpm-0.0.2
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ rpm -ivh libffi-devel-3.0.13-19.el7.x86_64.rpm
bash: rpm: command not found
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ sudo rpm -ivh libffi-devel-3.0.13-19.el7.x86_64.rpm
sudo: rpm: command not found
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ rmp -ivh libffi-devel-3.0.13-19.el7.x86_64.rpm
bash: rmp: command not found
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ which rpm
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ find /-name rpm
find: ‘/-name’: No such file or directory
find: ‘rpm’: No such file or directory
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ sudo apt-get install rpm
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
没有可用的软件包 rpm,但是它被其它的软件包引用了。
这可能意味着这个缺失的软件包可能已被废弃,
或者只能在其他发布源中找到
E: 软件包 rpm 没有可安装候选
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ sudo apt-get install rpm
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
没有可用的软件包 rpm,但是它被其它的软件包引用了。
这可能意味着这个缺失的软件包可能已被废弃,
或者只能在其他发布源中找到
E: 软件包 rpm 没有可安装候选
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ python track.py --source test.mp4
Traceback (most recent call last):
File "track.py", line 4, in <module>
from yolov5.utils.datasets import LoadImages, LoadStreams
File "/home/nano/Yolov5_DeepSort_Pytorch-master/yolov5/utils/datasets.py", line 17, in <module>
import torch
File "/usr/local/lib/python3.8/site-packages/torch/__init__.py", line 16, in <module>
import ctypes
File "/usr/local/lib/python3.8/ctypes/__init__.py", line 7, in <module>
from _ctypes import Union, Structure, Array
ModuleNotFoundError: No module named '_ctypes'
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ sudo apt-get install libffi-dev
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
E: 无法定位软件包 libffi-dev
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ sudo apt-get install libffi-dev
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
E: 无法定位软件包 libffi-dev
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ yum install libffi-devel -y
bash: yum: command not found
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ pip install -U -r requirements.txt
Defaulting to user installation because normal site-packages is not writeable
Collecting Cython
Using cached Cython-0.29.22-py2.py3-none-any.whl (980 kB)
Collecting matplotlib>=3.2.2
Downloading matplotlib-3.4.1-cp38-cp38-manylinux2014_aarch64.whl (9.0 MB)
|██ | 542 kB 4.3 kB/s eta 0:32:18ERROR: Exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/pip/_vendor/resolvelib/resolvers.py", line 171, in _merge_into_criterion
crit = self.state.criteria[name]
KeyError: 'matplotlib'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/pip/_vendor/urllib3/response.py", line 438, in _error_catcher
yield
File "/usr/local/lib/python3.8/site-packages/pip/_vendor/urllib3/response.py", line 519, in read
data = self._fp.read(amt) if not fp_closed else b""
File "/usr/local/lib/python3.8/site-packages/pip/_vendor/cachecontrol/filewrapper.py", line 62, in read
data = self.__fp.read(amt)
File "/usr/local/lib/python3.8/http/client.py", line 454, in read
n = self.readinto(b)
File "/usr/local/lib/python3.8/http/client.py", line 498, in readinto
n = self.fp.readinto(b)
File "/usr/local/lib/python3.8/socket.py", line 669, in readinto
return self._sock.recv_into(b)
File "/usr/local/lib/python3.8/ssl.py", line 1241, in recv_into
return self.read(nbytes, buffer)
File "/usr/local/lib/python3.8/ssl.py", line 1099, in read
return self._sslobj.read(len, buffer)
socket.timeout: The read operation timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 189, in _main
status = self.run(options, args)
File "/usr/local/lib/python3.8/site-packages/pip/_internal/cli/req_command.py", line 178, in wrapper
return func(self, options, args)
File "/usr/local/lib/python3.8/site-packages/pip/_internal/commands/install.py", line 316, in run
requirement_set = resolver.resolve(
File "/usr/local/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 121, in resolve
self._result = resolver.resolve(
File "/usr/local/lib/python3.8/site-packages/pip/_vendor/resolvelib/resolvers.py", line 453, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "/usr/local/lib/python3.8/site-packages/pip/_vendor/resolvelib/resolvers.py", line 318, in resolve
name, crit = self._merge_into_criterion(r, parent=None)
File "/usr/local/lib/python3.8/site-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _merge_into_criterion
crit = Criterion.from_requirement(self._p, requirement, parent)
File "/usr/local/lib/python3.8/site-packages/pip/_vendor/resolvelib/resolvers.py", line 82, in from_requirement
if not cands:
File "/usr/local/lib/python3.8/site-packages/pip/_vendor/resolvelib/structs.py", line 124, in __bool__
return bool(self._sequence)
File "/usr/local/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in __bool__
return any(self)
File "/usr/local/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 38, in _iter_built
candidate = func()
File "/usr/local/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 167, in _make_candidate_from_link
self._link_candidate_cache[link] = LinkCandidate(
File "/usr/local/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 300, in __init__
super().__init__(
File "/usr/local/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 144, in __init__
self.dist = self._prepare()
File "/usr/local/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 226, in _prepare
dist = self._prepare_distribution()
File "/usr/local/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 311, in _prepare_distribution
return self._factory.preparer.prepare_linked_requirement(
File "/usr/local/lib/python3.8/site-packages/pip/_internal/operations/prepare.py", line 457, in prepare_linked_requirement
return self._prepare_linked_requirement(req, parallel_builds)
File "/usr/local/lib/python3.8/site-packages/pip/_internal/operations/prepare.py", line 480, in _prepare_linked_requirement
local_file = unpack_url(
File "/usr/local/lib/python3.8/site-packages/pip/_internal/operations/prepare.py", line 230, in unpack_url
file = get_http_url(
File "/usr/local/lib/python3.8/site-packages/pip/_internal/operations/prepare.py", line 108, in get_http_url
from_path, content_type = download(link, temp_dir.path)
File "/usr/local/lib/python3.8/site-packages/pip/_internal/network/download.py", line 163, in __call__
for chunk in chunks:
File "/usr/local/lib/python3.8/site-packages/pip/_internal/cli/progress_bars.py", line 159, in iter
for x in it:
File "/usr/local/lib/python3.8/site-packages/pip/_internal/network/utils.py", line 64, in response_chunks
for chunk in response.raw.stream(
File "/usr/local/lib/python3.8/site-packages/pip/_vendor/urllib3/response.py", line 576, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "/usr/local/lib/python3.8/site-packages/pip/_vendor/urllib3/response.py", line 541, in read
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
File "/usr/local/lib/python3.8/contextlib.py", line 131, in __exit__
self.gen.throw(type, value, traceback)
File "/usr/local/lib/python3.8/site-packages/pip/_vendor/urllib3/response.py", line 443, in _error_catcher
raise ReadTimeoutError(self._pool, None, "Read timed out.")
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ pip install -U -r requirements.txt
Defaulting to user installation because normal site-packages is not writeable
Collecting Cython
Using cached Cython-0.29.22-py2.py3-none-any.whl (980 kB)
Collecting matplotlib>=3.2.2
Downloading matplotlib-3.4.1-cp38-cp38-manylinux2014_aarch64.whl (9.0 MB)
|███████████████████████▉ | 6.7 MB 7.4 kB/s eta 0:05:10ERROR: Exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/pip/_vendor/resolvelib/resolvers.py", line 171, in _merge_into_criterion
crit = self.state.criteria[name]
KeyError: 'matplotlib'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/pip/_vendor/urllib3/response.py", line 438, in _error_catcher
yield
File "/usr/local/lib/python3.8/site-packages/pip/_vendor/urllib3/response.py", line 519, in read
data = self._fp.read(amt) if not fp_closed else b""
File "/usr/local/lib/python3.8/site-packages/pip/_vendor/cachecontrol/filewrapper.py", line 62, in read
data = self.__fp.read(amt)
File "/usr/local/lib/python3.8/http/client.py", line 454, in read
n = self.readinto(b)
File "/usr/local/lib/python3.8/http/client.py", line 498, in readinto
n = self.fp.readinto(b)
File "/usr/local/lib/python3.8/socket.py", line 669, in readinto
return self._sock.recv_into(b)
File "/usr/local/lib/python3.8/ssl.py", line 1241, in recv_into
return self.read(nbytes, buffer)
File "/usr/local/lib/python3.8/ssl.py", line 1099, in read
return self._sslobj.read(len, buffer)
socket.timeout: The read operation timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 189, in _main
status = self.run(options, args)
File "/usr/local/lib/python3.8/site-packages/pip/_internal/cli/req_command.py", line 178, in wrapper
return func(self, options, args)
File "/usr/local/lib/python3.8/site-packages/pip/_internal/commands/install.py", line 316, in run
requirement_set = resolver.resolve(
File "/usr/local/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 121, in resolve
self._result = resolver.resolve(
File "/usr/local/lib/python3.8/site-packages/pip/_vendor/resolvelib/resolvers.py", line 453, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "/usr/local/lib/python3.8/site-packages/pip/_vendor/resolvelib/resolvers.py", line 318, in resolve
name, crit = self._merge_into_criterion(r, parent=None)
File "/usr/local/lib/python3.8/site-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _merge_into_criterion
crit = Criterion.from_requirement(self._p, requirement, parent)
File "/usr/local/lib/python3.8/site-packages/pip/_vendor/resolvelib/resolvers.py", line 82, in from_requirement
if not cands:
File "/usr/local/lib/python3.8/site-packages/pip/_vendor/resolvelib/structs.py", line 124, in __bool__
return bool(self._sequence)
File "/usr/local/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in __bool__
return any(self)
File "/usr/local/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 38, in _iter_built
candidate = func()
File "/usr/local/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 167, in _make_candidate_from_link
self._link_candidate_cache[link] = LinkCandidate(
File "/usr/local/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 300, in __init__
super().__init__(
File "/usr/local/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 144, in __init__
self.dist = self._prepare()
File "/usr/local/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 226, in _prepare
dist = self._prepare_distribution()
File "/usr/local/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 311, in _prepare_distribution
return self._factory.preparer.prepare_linked_requirement(
File "/usr/local/lib/python3.8/site-packages/pip/_internal/operations/prepare.py", line 457, in prepare_linked_requirement
return self._prepare_linked_requirement(req, parallel_builds)
File "/usr/local/lib/python3.8/site-packages/pip/_internal/operations/prepare.py", line 480, in _prepare_linked_requirement
local_file = unpack_url(
File "/usr/local/lib/python3.8/site-packages/pip/_internal/operations/prepare.py", line 230, in unpack_url
file = get_http_url(
File "/usr/local/lib/python3.8/site-packages/pip/_internal/operations/prepare.py", line 108, in get_http_url
from_path, content_type = download(link, temp_dir.path)
File "/usr/local/lib/python3.8/site-packages/pip/_internal/network/download.py", line 163, in __call__
for chunk in chunks:
File "/usr/local/lib/python3.8/site-packages/pip/_internal/cli/progress_bars.py", line 159, in iter
for x in it:
File "/usr/local/lib/python3.8/site-packages/pip/_internal/network/utils.py", line 64, in response_chunks
for chunk in response.raw.stream(
File "/usr/local/lib/python3.8/site-packages/pip/_vendor/urllib3/response.py", line 576, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "/usr/local/lib/python3.8/site-packages/pip/_vendor/urllib3/response.py", line 541, in read
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
File "/usr/local/lib/python3.8/contextlib.py", line 131, in __exit__
self.gen.throw(type, value, traceback)
File "/usr/local/lib/python3.8/site-packages/pip/_vendor/urllib3/response.py", line 443, in _error_catcher
raise ReadTimeoutError(self._pool, None, "Read timed out.")
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ pip install -U -r requirements.txt
Defaulting to user installation because normal site-packages is not writeable
Collecting Cython
Using cached Cython-0.29.22-py2.py3-none-any.whl (980 kB)
Collecting matplotlib>=3.2.2
Downloading matplotlib-3.4.1-cp38-cp38-manylinux2014_aarch64.whl (9.0 MB)
|████████████████████████████████| 9.0 MB 274 kB/s
Requirement already satisfied: numpy>=1.18.5 in /usr/local/lib/python3.8/site-packages (from -r requirements.txt (line 4)) (1.20.2)
Requirement already satisfied: opencv-python>=4.1.2 in /usr/local/lib/python3.8/site-packages (from -r requirements.txt (line 5)) (4.5.1.48)
Collecting Pillow
Downloading Pillow-8.2.0-cp38-cp38-manylinux2014_aarch64.whl (2.8 MB)
|████████████████████████████████| 2.8 MB 207 kB/s
Collecting PyYAML>=5.3
Downloading PyYAML-5.4.1-cp38-cp38-manylinux2014_aarch64.whl (818 kB)
|████████████████████████████████| 818 kB 182 kB/s
Collecting scipy>=1.4.1
Downloading scipy-1.6.2-cp38-cp38-manylinux2014_aarch64.whl (26.1 MB)
|████████████████████████████████| 26.1 MB 35 kB/s
Collecting tensorboard>=2.2
Using cached tensorboard-2.4.1-py3-none-any.whl (10.6 MB)
Requirement already satisfied: torch>=1.7.0 in /usr/local/lib/python3.8/site-packages (from -r requirements.txt (line 10)) (1.8.1)
Collecting torchvision>=0.8.1
Downloading torchvision-0.9.1-cp38-cp38-manylinux2014_aarch64.whl (11.8 MB)
|████████████████████████████████| 11.8 MB 54 kB/s
Collecting tqdm>=4.41.0
Downloading tqdm-4.60.0-py2.py3-none-any.whl (75 kB)
|████████████████████████████████| 75 kB 67 kB/s
Collecting seaborn>=0.11.0
Using cached seaborn-0.11.1-py3-none-any.whl (285 kB)
Collecting cycler>=0.10
Downloading cycler-0.10.0-py2.py3-none-any.whl (6.5 kB)
Collecting pyparsing>=2.2.1
Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
|████████████████████████████████| 67 kB 92 kB/s
Collecting python-dateutil>=2.7
Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting kiwisolver>=1.0.1
Downloading kiwisolver-1.3.1-cp38-cp38-manylinux2014_aarch64.whl (78 kB)
|████████████████████████████████| 78 kB 68 kB/s
Collecting pandas>=0.23
Downloading pandas-1.2.3.tar.gz (5.5 MB)
|████████████████████████████████| 5.5 MB 47 kB/s
Installing build dependencies ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python /usr/local/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-uelydyft/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel 'Cython>=0.29.21,<3' 'numpy==1.16.5; python_version=='"'"'3.7'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.17.3; python_version=='"'"'3.8'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.16.5; python_version=='"'"'3.7'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.17.3; python_version=='"'"'3.8'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy; python_version>='"'"'3.9'"'"''
cwd: None
Complete output (31 lines):
Ignoring numpy: markers 'python_version == "3.7" and platform_system != "AIX"' don't match your environment
Ignoring numpy: markers 'python_version == "3.7" and platform_system == "AIX"' don't match your environment
Ignoring numpy: markers 'python_version == "3.8" and platform_system == "AIX"' don't match your environment
Ignoring numpy: markers 'python_version >= "3.9"' don't match your environment
Collecting setuptools
Downloading setuptools-54.2.0-py3-none-any.whl (785 kB)
Collecting wheel
Downloading wheel-0.36.2-py2.py3-none-any.whl (35 kB)
Collecting Cython<3,>=0.29.21
Using cached Cython-0.29.22-py2.py3-none-any.whl (980 kB)
Collecting numpy==1.17.3
Downloading numpy-1.17.3.zip (6.4 MB)
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-md7_5d4m/numpy_7ea32ba4e7924ca8b6ebdf7eb16b4e12/setup.py'"'"'; __file__='"'"'/tmp/pip-install-md7_5d4m/numpy_7ea32ba4e7924ca8b6ebdf7eb16b4e12/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-32zzzvor
cwd: /tmp/pip-install-md7_5d4m/numpy_7ea32ba4e7924ca8b6ebdf7eb16b4e12/
Complete output (11 lines):
Traceback (most recent call last):
File "" , line 1, in <module>
File "/usr/local/lib/python3.8/site-packages/setuptools/__init__.py", line 20, in <module>
from setuptools.dist import Distribution, Feature
File "/usr/local/lib/python3.8/site-packages/setuptools/dist.py", line 35, in <module>
from setuptools import windows_support
File "/usr/local/lib/python3.8/site-packages/setuptools/windows_support.py", line 2, in <module>
import ctypes
File "/usr/local/lib/python3.8/ctypes/__init__.py", line 7, in <module>
from _ctypes import Union, Structure, Array
ModuleNotFoundError: No module named '_ctypes'
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/b6/d6/be8f975f5322336f62371c9abeb936d592c98c047ad63035f1b38ae08efe/numpy-1.17.3.zip#sha256=a0678793096205a4d784bd99f32803ba8100f639cf3b932dc63b21621390ea7e (from https://pypi.org/simple/numpy/) (requires-python:>=3.5). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement numpy==1.17.3
ERROR: No matching distribution found for numpy==1.17.3
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/8a/6f/7fcef020b5b305862cacf376183eaa0f907f2fa42f0b687b2a9a2c6cda4d/pandas-1.2.3.tar.gz#sha256=df6f10b85aef7a5bb25259ad651ad1cc1d6bb09000595cab47e718cbac250b1d (from https://pypi.org/simple/pandas/) (requires-python:>=3.7.1). Command errored out with exit status 1: /usr/local/bin/python /usr/local/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-uelydyft/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel 'Cython>=0.29.21,<3' 'numpy==1.16.5; python_version=='"'"'3.7'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.17.3; python_version=='"'"'3.8'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.16.5; python_version=='"'"'3.7'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.17.3; python_version=='"'"'3.8'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy; python_version>='"'"'3.9'"'"'' Check the logs for full command output.
Downloading pandas-1.2.2-cp38-cp38-manylinux2014_aarch64.whl (10.0 MB)
|████████████████████████████████| 10.0 MB 128 kB/s
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/markdown/
Collecting markdown>=2.6.8
Downloading Markdown-3.3.4-py3-none-any.whl (97 kB)
|████████████████████████████████| 97 kB 193 kB/s
Collecting absl-py>=0.4
Downloading absl_py-0.12.0-py3-none-any.whl (129 kB)
|████████████████████████████████| 129 kB 137 kB/s
Collecting six>=1.10.0
Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting protobuf>=3.6.0
Downloading protobuf-3.15.7-py2.py3-none-any.whl (173 kB)
|████████████████████████████████| 173 kB 203 kB/s
Requirement already satisfied: setuptools>=41.0.0 in /usr/local/lib/python3.8/site-packages (from tensorboard>=2.2->-r requirements.txt (line 9)) (41.2.0)
Collecting requests<3,>=2.21.0
Downloading requests-2.25.1-py2.py3-none-any.whl (61 kB)
|████████████████████████████████| 61 kB 189 kB/s
Collecting werkzeug>=0.11.15
Using cached Werkzeug-1.0.1-py2.py3-none-any.whl (298 kB)
Collecting tensorboard-plugin-wit>=1.6.0
Downloading tensorboard_plugin_wit-1.8.0-py3-none-any.whl (781 kB)
|████████████████████████████████| 781 kB 162 kB/s
Collecting google-auth-oauthlib<0.5,>=0.4.1
Downloading google_auth_oauthlib-0.4.4-py2.py3-none-any.whl (18 kB)
Collecting google-auth<2,>=1.6.3
Downloading google_auth-1.28.0-py2.py3-none-any.whl (136 kB)
|████████████████████████████████| 136 kB 163 kB/s
Collecting grpcio>=1.24.3
Downloading grpcio-1.37.0-cp38-cp38-manylinux2014_aarch64.whl (37.4 MB)
|████████████████████████████████| 37.4 MB 34 kB/s
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/wheel/
Collecting wheel>=0.26
Using cached wheel-0.36.2-py2.py3-none-any.whl (35 kB)
Requirement already satisfied: typing-extensions in /usr/local/lib/python3.8/site-packages (from torch>=1.7.0->-r requirements.txt (line 10)) (3.7.4.3)
Collecting cachetools<5.0,>=2.0.0
Downloading cachetools-4.2.1-py3-none-any.whl (12 kB)
Collecting pyasn1-modules>=0.2.1
Using cached pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
Collecting rsa<5,>=3.1.4
Downloading rsa-4.7.2-py3-none-any.whl (34 kB)
Collecting requests-oauthlib>=0.7.0
Using cached requests_oauthlib-1.3.0-py2.py3-none-any.whl (23 kB)
Collecting pytz>=2017.3
Downloading pytz-2021.1-py2.py3-none-any.whl (510 kB)
|████████████████████████████████| 510 kB 123 kB/s
Collecting pyasn1<0.5.0,>=0.4.6
Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
Collecting certifi>=2017.4.17
Using cached certifi-2020.12.5-py2.py3-none-any.whl (147 kB)
Collecting idna<3,>=2.5
Downloading idna-2.10-py2.py3-none-any.whl (58 kB)
|████████████████████████████████| 58 kB 41 kB/s
Collecting urllib3<1.27,>=1.21.1
Downloading urllib3-1.26.4-py2.py3-none-any.whl (153 kB)
|████████████████████████████████| 153 kB 19 kB/s
Collecting chardet<5,>=3.0.2
Downloading chardet-4.0.0-py2.py3-none-any.whl (178 kB)
|████████████████████████████████| 178 kB 33 kB/s
Collecting oauthlib>=3.0.0
Using cached oauthlib-3.1.0-py2.py3-none-any.whl (147 kB)
Installing collected packages: urllib3, pyasn1, idna, chardet, certifi, six, rsa, requests, pyasn1-modules, oauthlib, cachetools, requests-oauthlib, pytz, python-dateutil, pyparsing, Pillow, kiwisolver, google-auth, cycler, wheel, werkzeug, tensorboard-plugin-wit, scipy, protobuf, pandas, matplotlib, markdown, grpcio, google-auth-oauthlib, absl-py, tqdm, torchvision, tensorboard, seaborn, PyYAML, Cython
Successfully installed Cython-0.29.22 Pillow-8.2.0 PyYAML-5.4.1 absl-py-0.12.0 cachetools-4.2.1 certifi-2020.12.5 chardet-4.0.0 cycler-0.10.0 google-auth-1.28.0 google-auth-oauthlib-0.4.4 grpcio-1.37.0 idna-2.10 kiwisolver-1.3.1 markdown-3.3.4 matplotlib-3.4.1 oauthlib-3.1.0 pandas-1.2.2 protobuf-3.15.7 pyasn1-0.4.8 pyasn1-modules-0.2.8 pyparsing-2.4.7 python-dateutil-2.8.1 pytz-2021.1 requests-2.25.1 requests-oauthlib-1.3.0 rsa-4.7.2 scipy-1.6.2 seaborn-0.11.1 six-1.15.0 tensorboard-2.4.1 tensorboard-plugin-wit-1.8.0 torchvision-0.9.1 tqdm-4.60.0 urllib3-1.26.4 werkzeug-1.0.1 wheel-0.36.2
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ python track.py --source test.mp4
Traceback (most recent call last):
File "track.py", line 4, in <module>
from yolov5.utils.datasets import LoadImages, LoadStreams
File "/home/nano/Yolov5_DeepSort_Pytorch-master/yolov5/utils/datasets.py", line 17, in <module>
import torch
File "/usr/local/lib/python3.8/site-packages/torch/__init__.py", line 16, in <module>
import ctypes
File "/usr/local/lib/python3.8/ctypes/__init__.py", line 7, in <module>
from _ctypes import Union, Structure, Array
ModuleNotFoundError: No module named '_ctypes'
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ wget http://mirror.centos.org/centos/7/os/x86_64/Packages/libffi-devel-3.0.13-19.el7.x86_64.rpm
--2021-04-08 21:32:35-- http://mirror.centos.org/centos/7/os/x86_64/Packages/libffi-devel-3.0.13-19.el7.x86_64.rpm
Resolving mirror.centos.org (mirror.centos.org)... 160.116.15.18, 2406:da1a:fcb:2f01:b6e2:c6:795:b503
Connecting to mirror.centos.org (mirror.centos.org)|160.116.15.18|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 23776 (23K) [application/x-rpm]
Saving to: ‘libffi-devel-3.0.13-19.el7.x86_64.rpm.1’
libffi-devel-3.0.13 100%[===================>] 23.22K 61.9KB/s in 0.4s
2021-04-08 21:32:37 (61.9 KB/s) - ‘libffi-devel-3.0.13-19.el7.x86_64.rpm.1’ saved [23776/23776]
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ rmp -ivh libffi-devel-3.0.13-19.el7.x86_64.rpm
bash: rmp: command not found
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ rpm -ivh libffi-devel-3.0.13-19.el7.x86_64.rpm
bash: rpm: command not found
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ yum install libffi-devel
bash: yum: command not found
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ python track.py --source test.mp4
Traceback (most recent call last):
File "track.py", line 4, in <module>
from yolov5.utils.datasets import LoadImages, LoadStreams
File "/home/nano/Yolov5_DeepSort_Pytorch-master/yolov5/utils/datasets.py", line 17, in <module>
import torch
File "/usr/local/lib/python3.8/site-packages/torch/__init__.py", line 16, in <module>
import ctypes
File "/usr/local/lib/python3.8/ctypes/__init__.py", line 7, in <module>
from _ctypes import Union, Structure, Array
ModuleNotFoundError: No module named '_ctypes'
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ sudo apt-get install libffi-dev
[sudo] password for nano:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
E: 无法定位软件包 libffi-dev
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ yum install libffi-devel
bash: yum: command not found
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ yum -y install libffi-devel
bash: yum: command not found
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ rpm -qa |grep yum
bash: rpm: command not found
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ wget http://mirrors.163.com/ubuntu/18/os/x86_64/Packages/python-iniparse-0.4-9.el7.noarch.rpm
--2021-04-08 21:49:32-- http://mirrors.163.com/ubuntu/18/os/x86_64/Packages/python-iniparse-0.4-9.el7.noarch.rpm
Resolving mirrors.163.com (mirrors.163.com)... 113.107.250.85, 113.107.250.87, 113.107.250.86, ...
Connecting to mirrors.163.com (mirrors.163.com)|113.107.250.85|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-04-08 21:49:32 ERROR 404: Not Found.
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ wget http://mirrors.163.com/ubuntu/18/os/x86_64/Packages/python-iniparse-0.4-9.el7.noarch.rpm
--2021-04-08 21:49:39-- http://mirrors.163.com/ubuntu/18/os/x86_64/Packages/python-iniparse-0.4-9.el7.noarch.rpm
Resolving mirrors.163.com (mirrors.163.com)... 113.107.250.85, 113.107.250.87, 113.107.250.86, ...
Connecting to mirrors.163.com (mirrors.163.com)|113.107.250.85|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-04-08 21:49:39 ERROR 404: Not Found.
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ wget http://mirrors.163.com/ubuntu/18/os/x86_64/Packages/yum-metadata-parser-1.1.4-10.el7.x86_64.rpm
--2021-04-08 21:50:57-- http://mirrors.163.com/ubuntu/18/os/x86_64/Packages/yum-metadata-parser-1.1.4-10.el7.x86_64.rpm
Resolving mirrors.163.com (mirrors.163.com)... 113.107.250.85, 113.107.250.87, 113.107.250.86, ...
Connecting to mirrors.163.com (mirrors.163.com)|113.107.250.85|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-04-08 21:50:58 ERROR 404: Not Found.
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ rpm -qa |grep yum
bash: rpm: command not found
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ sudo apt-get update
[sudo] password for nano:
正在读取软件包列表... 完成
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ sudo apt-get install rpm
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
没有可用的软件包 rpm,但是它被其它的软件包引用了。
这可能意味着这个缺失的软件包可能已被废弃,
或者只能在其他发布源中找到
E: 软件包 rpm 没有可安装候选
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ sudo apt-get install libffi-dev
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
E: 无法定位软件包 libffi-dev
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ sudo apt-get update
正在读取软件包列表... 完成
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ sudo apt-get upgrade
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
正在计算更新... 完成
下列软件包是自动安装的并且现在不需要了:
apt-clone archdetect-deb bogl-bterm busybox-static cryptsetup-bin
dpkg-repack gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 grub-common
kde-window-manager kinit kio kpackagetool5 kwayland-data kwin-common
kwin-data kwin-x11 libdebian-installer4 libkdecorations2-5v5
libkdecorations2private5v5 libkf5activities5 libkf5attica5
libkf5completion-data libkf5completion5 libkf5declarative-data
libkf5declarative5 libkf5doctools5 libkf5globalaccel-data libkf5globalaccel5
libkf5globalaccelprivate5 libkf5idletime5 libkf5jobwidgets-data
libkf5jobwidgets5 libkf5kcmutils-data libkf5kcmutils5 libkf5kiocore5
libkf5kiontlm5 libkf5kiowidgets5 libkf5newstuff-data libkf5newstuff5
libkf5newstuffcore5 libkf5package-data libkf5package5 libkf5plasma5
libkf5quickaddons5 libkf5solid5 libkf5solid5-data libkf5sonnet5-data
libkf5sonnetcore5 libkf5sonnetui5 libkf5textwidgets-data libkf5textwidgets5
libkf5waylandclient5 libkf5waylandserver5 libkf5xmlgui-bin libkf5xmlgui-data
libkf5xmlgui5 libkscreenlocker5 libkwin4-effect-builtins1 libkwineffects11
libkwinglutils11 libkwinxrenderutils11 libllvm9 libqgsttools-p1
libqt5designer5 libqt5help5 libqt5multimedia5 libqt5multimedia5-plugins
libqt5multimediaquick-p5 libqt5multimediawidgets5 libqt5positioning5
libqt5qml5 libqt5quick5 libqt5quickwidgets5 libqt5sensors5 libqt5webchannel5
libqt5webkit5 libxcb-composite0 libxcb-cursor0 libxcb-damage0 os-prober
python3-dbus.mainloop.pyqt5 python3-icu python3-pam python3-pyqt5
python3-pyqt5.qtsvg python3-pyqt5.qtwebkit
qml-module-org-kde-kquickcontrolsaddons qml-module-qtmultimedia
qml-module-qtquick2 rdate tasksel tasksel-data
使用'sudo apt autoremove'来卸载它(它们)。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ sudo apt-get install build-essential python-dev python-setuptools python-pip python-smbus
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
没有可用的软件包 python-smbus,但是它被其它的软件包引用了。
这可能意味着这个缺失的软件包可能已被废弃,
或者只能在其他发布源中找到
没有可用的软件包 python-setuptools,但是它被其它的软件包引用了。
这可能意味着这个缺失的软件包可能已被废弃,
或者只能在其他发布源中找到
E: 软件包 python-setuptools 没有可安装候选
E: 无法定位软件包 python-pip
E: 软件包 python-smbus 没有可安装候选
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ sudo apt-get install libncursesw5-dev libgdbm-dev libc6-dev
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
E: 无法定位软件包 libncursesw5-dev
E: 无法定位软件包 libgdbm-dev
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ sudo apt-get install zlib1g-dev libsqlite3-dev tk-dev
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
没有可用的软件包 libsqlite3-dev,但是它被其它的软件包引用了。
这可能意味着这个缺失的软件包可能已被废弃,
或者只能在其他发布源中找到
E: 软件包 libsqlite3-dev 没有可安装候选
E: 无法定位软件包 tk-dev
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ sudo apt-get install libssl-dev openssl
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
没有可用的软件包 libssl-dev,但是它被其它的软件包引用了。
这可能意味着这个缺失的软件包可能已被废弃,
或者只能在其他发布源中找到
E: 软件包 libssl-dev 没有可安装候选
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ sudo apt-get install libffi-dev
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
E: 无法定位软件包 libffi-dev
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ ./confgi
bash: ./confgi: No such file or directory
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ ./confgig
bash: ./confgig: No such file or directory
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ sudo yum -y install gcc gcc-c++
sudo: yum: command not found
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$ python3 -v
import _frozen_importlib # frozen
import _imp # builtin
import '_thread' #
import '_warnings' #
import '_weakref' #
import '_frozen_importlib_external' #
import '_io' #
import 'marshal' #
import 'posix' #
import _thread # previously loaded ('_thread')
import '_thread' #
import _weakref # previously loaded ('_weakref')
import '_weakref' #
# installing zipimport hook
import 'time' #
import 'zipimport' #
# installed zipimport hook
# /usr/local/lib/python3.8/encodings/__pycache__/__init__.cpython-38.pyc matches /usr/local/lib/python3.8/encodings/__init__.py
# code object from '/usr/local/lib/python3.8/encodings/__pycache__/__init__.cpython-38.pyc'
# /usr/local/lib/python3.8/__pycache__/codecs.cpython-38.pyc matches /usr/local/lib/python3.8/codecs.py
# code object from '/usr/local/lib/python3.8/__pycache__/codecs.cpython-38.pyc'
import '_codecs' #
import 'codecs' # <_frozen_importlib_external.SourceFileLoader object at 0x7fa781fa90>
# /usr/local/lib/python3.8/encodings/__pycache__/aliases.cpython-38.pyc matches /usr/local/lib/python3.8/encodings/aliases.py
# code object from '/usr/local/lib/python3.8/encodings/__pycache__/aliases.cpython-38.pyc'
import 'encodings.aliases' # <_frozen_importlib_external.SourceFileLoader object at 0x7fa77b36a0>
import 'encodings' # <_frozen_importlib_external.SourceFileLoader object at 0x7fa781f880>
# /usr/local/lib/python3.8/encodings/__pycache__/utf_8.cpython-38.pyc matches /usr/local/lib/python3.8/encodings/utf_8.py
# code object from '/usr/local/lib/python3.8/encodings/__pycache__/utf_8.cpython-38.pyc'
import 'encodings.utf_8' # <_frozen_importlib_external.SourceFileLoader object at 0x7fa781f910>
import '_signal' #
# /usr/local/lib/python3.8/encodings/__pycache__/latin_1.cpython-38.pyc matches /usr/local/lib/python3.8/encodings/latin_1.py
# code object from '/usr/local/lib/python3.8/encodings/__pycache__/latin_1.cpython-38.pyc'
import 'encodings.latin_1' # <_frozen_importlib_external.SourceFileLoader object at 0x7fa77ca190>
# /usr/local/lib/python3.8/__pycache__/io.cpython-38.pyc matches /usr/local/lib/python3.8/io.py
# code object from '/usr/local/lib/python3.8/__pycache__/io.cpython-38.pyc'
# /usr/local/lib/python3.8/__pycache__/abc.cpython-38.pyc matches /usr/local/lib/python3.8/abc.py
# code object from '/usr/local/lib/python3.8/__pycache__/abc.cpython-38.pyc'
import '_abc' #
import 'abc' # <_frozen_importlib_external.SourceFileLoader object at 0x7fa77ca640>
import 'io' # <_frozen_importlib_external.SourceFileLoader object at 0x7fa77ca370>
# /usr/local/lib/python3.8/__pycache__/site.cpython-38.pyc matches /usr/local/lib/python3.8/site.py
# code object from '/usr/local/lib/python3.8/__pycache__/site.cpython-38.pyc'
# /usr/local/lib/python3.8/__pycache__/os.cpython-38.pyc matches /usr/local/lib/python3.8/os.py
# code object from '/usr/local/lib/python3.8/__pycache__/os.cpython-38.pyc'
# /usr/local/lib/python3.8/__pycache__/stat.cpython-38.pyc matches /usr/local/lib/python3.8/stat.py
# code object from '/usr/local/lib/python3.8/__pycache__/stat.cpython-38.pyc'
import '_stat' #
import 'stat' # <_frozen_importlib_external.SourceFileLoader object at 0x7fa7771fa0>
# /usr/local/lib/python3.8/__pycache__/posixpath.cpython-38.pyc matches /usr/local/lib/python3.8/posixpath.py
# code object from '/usr/local/lib/python3.8/__pycache__/posixpath.cpython-38.pyc'
# /usr/local/lib/python3.8/__pycache__/genericpath.cpython-38.pyc matches /usr/local/lib/python3.8/genericpath.py
# code object from '/usr/local/lib/python3.8/__pycache__/genericpath.cpython-38.pyc'
import 'genericpath' # <_frozen_importlib_external.SourceFileLoader object at 0x7fa7778a90>
import 'posixpath' # <_frozen_importlib_external.SourceFileLoader object at 0x7fa7771eb0>
# /usr/local/lib/python3.8/__pycache__/_collections_abc.cpython-38.pyc matches /usr/local/lib/python3.8/_collections_abc.py
# code object from '/usr/local/lib/python3.8/__pycache__/_collections_abc.cpython-38.pyc'
import '_collections_abc' # <_frozen_importlib_external.SourceFileLoader object at 0x7fa7778eb0>
import 'os' # <_frozen_importlib_external.SourceFileLoader object at 0x7fa77e26d0>
# /usr/local/lib/python3.8/__pycache__/_sitebuiltins.cpython-38.pyc matches /usr/local/lib/python3.8/_sitebuiltins.py
# code object from '/usr/local/lib/python3.8/__pycache__/_sitebuiltins.cpython-38.pyc'
import '_sitebuiltins' # <_frozen_importlib_external.SourceFileLoader object at 0x7fa77e2f40>
# /usr/local/lib/python3.8/__pycache__/_bootlocale.cpython-38.pyc matches /usr/local/lib/python3.8/_bootlocale.py
# code object from '/usr/local/lib/python3.8/__pycache__/_bootlocale.cpython-38.pyc'
import '_locale' #
import '_bootlocale' # <_frozen_importlib_external.SourceFileLoader object at 0x7fa77899a0>
# /usr/local/lib/python3.8/__pycache__/types.cpython-38.pyc matches /usr/local/lib/python3.8/types.py
# code object from '/usr/local/lib/python3.8/__pycache__/types.cpython-38.pyc'
import 'types' # <_frozen_importlib_external.SourceFileLoader object at 0x7fa7771c10>
# /usr/local/lib/python3.8/importlib/__pycache__/__init__.cpython-38.pyc matches /usr/local/lib/python3.8/importlib/__init__.py
# code object from '/usr/local/lib/python3.8/importlib/__pycache__/__init__.cpython-38.pyc'
# /usr/local/lib/python3.8/__pycache__/warnings.cpython-38.pyc matches /usr/local/lib/python3.8/warnings.py
# code object from '/usr/local/lib/python3.8/__pycache__/warnings.cpython-38.pyc'
import 'warnings' # <_frozen_importlib_external.SourceFileLoader object at 0x7fa7735c40>
import 'importlib' # <_frozen_importlib_external.SourceFileLoader object at 0x7fa77358e0>
# /usr/local/lib/python3.8/importlib/__pycache__/util.cpython-38.pyc matches /usr/local/lib/python3.8/importlib/util.py
# code object from '/usr/local/lib/python3.8/importlib/__pycache__/util.cpython-38.pyc'
# /usr/local/lib/python3.8/importlib/__pycache__/abc.cpython-38.pyc matches /usr/local/lib/python3.8/importlib/abc.py
# code object from '/usr/local/lib/python3.8/importlib/__pycache__/abc.cpython-38.pyc'
# /usr/local/lib/python3.8/importlib/__pycache__/machinery.cpython-38.pyc matches /usr/local/lib/python3.8/importlib/machinery.py
# code object from '/usr/local/lib/python3.8/importlib/__pycache__/machinery.cpython-38.pyc'
import 'importlib.machinery' # <_frozen_importlib_external.SourceFileLoader object at 0x7fa775a4c0>
import 'importlib.abc' # <_frozen_importlib_external.SourceFileLoader object at 0x7fa774e7c0>
# /usr/local/lib/python3.8/__pycache__/contextlib.cpython-38.pyc matches /usr/local/lib/python3.8/contextlib.py
# code object from '/usr/local/lib/python3.8/__pycache__/contextlib.cpython-38.pyc'
# /usr/local/lib/python3.8/collections/__pycache__/__init__.cpython-38.pyc matches /usr/local/lib/python3.8/collections/__init__.py
# code object from '/usr/local/lib/python3.8/collections/__pycache__/__init__.cpython-38.pyc'
# /usr/local/lib/python3.8/__pycache__/operator.cpython-38.pyc matches /usr/local/lib/python3.8/operator.py
# code object from '/usr/local/lib/python3.8/__pycache__/operator.cpython-38.pyc'
import '_operator' #
import 'operator' # <_frozen_importlib_external.SourceFileLoader object at 0x7fa77079d0>
# /usr/local/lib/python3.8/__pycache__/keyword.cpython-38.pyc matches /usr/local/lib/python3.8/keyword.py
# code object from '/usr/local/lib/python3.8/__pycache__/keyword.cpython-38.pyc'
import 'keyword' # <_frozen_importlib_external.SourceFileLoader object at 0x7fa7707ac0>
# /usr/local/lib/python3.8/__pycache__/heapq.cpython-38.pyc matches /usr/local/lib/python3.8/heapq.py
# code object from '/usr/local/lib/python3.8/__pycache__/heapq.cpython-38.pyc'
# extension module '_heapq' loaded from '/usr/local/lib/python3.8/lib-dynload/_heapq.cpython-38-aarch64-linux-gnu.so'
# extension module '_heapq' executed from '/usr/local/lib/python3.8/lib-dynload/_heapq.cpython-38-aarch64-linux-gnu.so'
import '_heapq' # <_frozen_importlib_external.ExtensionFileLoader object at 0x7fa770d430>
import 'heapq' # <_frozen_importlib_external.SourceFileLoader object at 0x7fa7707c40>
import 'itertools' #
# /usr/local/lib/python3.8/__pycache__/reprlib.cpython-38.pyc matches /usr/local/lib/python3.8/reprlib.py
# code object from '/usr/local/lib/python3.8/__pycache__/reprlib.cpython-38.pyc'
import 'reprlib' # <_frozen_importlib_external.SourceFileLoader object at 0x7fa7707fd0>
import '_collections' #
import 'collections' # <_frozen_importlib_external.SourceFileLoader object at 0x7fa7768bb0>
# /usr/local/lib/python3.8/__pycache__/functools.cpython-38.pyc matches /usr/local/lib/python3.8/functools.py
# code object from '/usr/local/lib/python3.8/__pycache__/functools.cpython-38.pyc'
import '_functools' #
import 'functools' # <_frozen_importlib_external.SourceFileLoader object at 0x7fa7768d60>
import 'contextlib' # <_frozen_importlib_external.SourceFileLoader object at 0x7fa774ee80>
import 'importlib.util' # <_frozen_importlib_external.SourceFileLoader object at 0x7fa7735ac0>
# possible namespace for /home/nano/.local/lib/python3.8/site-packages/google
# possible namespace for /home/nano/.local/lib/python3.8/site-packages/mpl_toolkits
# possible namespace for /home/nano/.local/lib/python3.8/site-packages/google
# destroy google
import 'site' # <_frozen_importlib_external.SourceFileLoader object at 0x7fa77cafa0>
Python 3.8.0 (default, Apr 3 2021, 09:56:58)
[GCC 7.5.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
import 'atexit' #
>>> virtualenv -p python3 venv
File "" , line 1
virtualenv -p python3 venv
^
SyntaxError: invalid syntax
>>> ^[
File "" , line 1
#
^
SyntaxError: invalid syntax
>>> wq
Traceback (most recent call last):
File "" , line 1, in <module>
NameError: name 'wq' is not defined
>>> exit
Use exit() or Ctrl-D (i.e. EOF) to exit
>>> exit()
# clear sys.audit hooks
# clear builtins._
# clear sys.path
# clear sys.argv
# clear sys.ps1
# clear sys.ps2
# clear sys.last_type
# clear sys.last_value
# clear sys.last_traceback
# clear sys.path_hooks
# clear sys.path_importer_cache
# clear sys.meta_path
# clear sys.__interactivehook__
# restore sys.stdin
# restore sys.stdout
# restore sys.stderr
# cleanup[2] removing sys
# cleanup[2] removing builtins
# cleanup[2] removing _frozen_importlib
# cleanup[2] removing _imp
# cleanup[2] removing _warnings
# cleanup[2] removing _frozen_importlib_external
# cleanup[2] removing _io
# cleanup[2] removing marshal
# cleanup[2] removing posix
# cleanup[2] removing _thread
# cleanup[2] removing _weakref
# cleanup[2] removing time
# cleanup[2] removing zipimport
# destroy zipimport
# cleanup[2] removing _codecs
# cleanup[2] removing codecs
# cleanup[2] removing encodings.aliases
# cleanup[2] removing encodings
# destroy encodings
# cleanup[2] removing encodings.utf_8
# cleanup[2] removing _signal
# cleanup[2] removing __main__
# destroy __main__
# cleanup[2] removing encodings.latin_1
# cleanup[2] removing _abc
# cleanup[2] removing abc
# cleanup[2] removing io
# cleanup[2] removing _stat
# cleanup[2] removing stat
# cleanup[2] removing genericpath
# cleanup[2] removing posixpath
# cleanup[2] removing os.path
# cleanup[2] removing _collections_abc
# cleanup[2] removing os
# cleanup[2] removing _sitebuiltins
# cleanup[2] removing _locale
# cleanup[2] removing _bootlocale
# destroy _bootlocale
# cleanup[2] removing types
# cleanup[2] removing importlib._bootstrap
# cleanup[2] removing importlib._bootstrap_external
# cleanup[2] removing warnings
# cleanup[2] removing importlib
# destroy importlib
# cleanup[2] removing importlib.machinery
# cleanup[2] removing importlib.abc
# cleanup[2] removing _operator
# cleanup[2] removing operator
# destroy operator
# cleanup[2] removing keyword
# destroy keyword
# cleanup[2] removing _heapq
# cleanup[2] removing heapq
# cleanup[2] removing itertools
# cleanup[2] removing reprlib
# destroy reprlib
# cleanup[2] removing _collections
# cleanup[2] removing collections
# destroy collections
# cleanup[2] removing _functools
# cleanup[2] removing functools
# cleanup[2] removing contextlib
# destroy contextlib
# cleanup[2] removing importlib.util
# cleanup[2] removing google
# destroy google
# cleanup[2] removing mpl_toolkits
# destroy mpl_toolkits
# cleanup[2] removing site
# destroy site
# cleanup[2] removing atexit
# destroy time
# destroy _signal
# destroy _sitebuiltins
# destroy io
# destroy posixpath
# destroy _stat
# destroy genericpath
# destroy os
# destroy stat
# destroy _locale
# destroy importlib.util
# destroy importlib.abc
# destroy functools
# destroy types
# destroy importlib.machinery
# destroy warnings
# destroy abc
# destroy _collections_abc
# destroy heapq
# destroy _operator
# destroy _heapq
# destroy itertools
# destroy _collections
# destroy atexit
# destroy _abc
# destroy _functools
# cleanup[3] wiping importlib._bootstrap_external
# cleanup[3] wiping importlib._bootstrap
# destroy _frozen_importlib_external
# cleanup[3] wiping encodings.latin_1
# cleanup[3] wiping encodings.utf_8
# cleanup[3] wiping encodings.aliases
# cleanup[3] wiping codecs
# cleanup[3] wiping _codecs
# cleanup[3] wiping _weakref
# destroy _weakref
# cleanup[3] wiping _thread
# destroy _thread
# cleanup[3] wiping posix
# destroy posix
# cleanup[3] wiping marshal
# destroy marshal
# cleanup[3] wiping _io
# destroy io
# cleanup[3] wiping _warnings
# destroy _warnings
# cleanup[3] wiping _imp
# destroy _imp
# cleanup[3] wiping _frozen_importlib
# cleanup[3] wiping sys
# cleanup[3] wiping builtins
# destroy _frozen_importlib
nano@nano-desktop:~/Yolov5_DeepSort_Pytorch-master$
今天还是充满bug的一天。。。。。。。。。明天继续加油改!行的!