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

Nice work, but when i wanna run this code there is a mistake. #17

Closed
404hasbeenfound opened this issue Dec 19, 2018 · 1 comment
Closed

Comments

@404hasbeenfound
Copy link

Traceback (most recent call last):
File "eval_mot.py", line 2, in
import cv2
ImportError: /lib/x86_64-linux-gnu/libz.so.1: version `ZLIB_1.2.9' not found (required by /home/adminroot/anaconda3/envs/zmh/lib/libpng16.so.16)
(zmh) adminroot@adminroot:~/zmh/MOTDT-master$ pip install zlib
Collecting zlib
Could not find a version that satisfies the requirement zlib (from versions: )
No matching distribution found for zlib

i try pip install ZLIB, but it fails, i donot know why, would you have some suggestions?

@404hasbeenfound
Copy link
Author

404hasbeenfound commented Dec 19, 2018

when i follow your steps one by one, but when i run 'python eval_mot.py' there is a mistake like:

(zmh) adminroot@adminroot:~/zmh/MOTDT-master$ python eval_mot.py
Traceback (most recent call last):
File "eval_mot.py", line 158, in
show_image=False)
File "eval_mot.py", line 93, in main
mkdirs(result_root)
File "eval_mot.py", line 17, in mkdirs
os.makedirs(path)
File "/home/adminroot/anaconda3/envs/zmh/lib/python3.6/os.py", line 210, in makedirs
makedirs(head, mode, exist_ok)
File "/home/adminroot/anaconda3/envs/zmh/lib/python3.6/os.py", line 210, in makedirs
makedirs(head, mode, exist_ok)
File "/home/adminroot/anaconda3/envs/zmh/lib/python3.6/os.py", line 210, in makedirs
makedirs(head, mode, exist_ok)
[Previous line repeated 2 more times]
File "/home/adminroot/anaconda3/envs/zmh/lib/python3.6/os.py", line 220, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/data'

then i think that it havn't the permission to run this code, then i run sudo python eval_mot.py,
but another mistake is occur like the following:

Traceback (most recent call last):
File "eval_mot.py", line 2, in
import cv2
ImportError: /lib/x86_64-linux-gnu/libz.so.1: version `ZLIB_1.2.9' not found (required by /home/adminroot/anaconda3/envs/zmh/lib/libpng16.so.16)
(zmh) adminroot@adminroot:~/zmh/MOTDT-master$ pip install zlib
Collecting zlib
Could not find a version that satisfies the requirement zlib (from versions: )
No matching distribution found for zlib

i try pip install ZLIB, but it fails, i donot know why, would you have some suggestions?

thanks a lot!

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

1 participant