yqyao / SSD_Pytorch

support different SSDs and different scale test, support refineDet.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

./make.sh

Ranchentx opened this issue · comments

/make.sh
Error processing line 1 of /home/jnie/anaconda2/envs/pytorch04/lib/python3.6/site-packages/matplotlib-3.0.0-py3.6-nspkg.pth:

Failed to import the site module
Traceback (most recent call last):
File "/home/jnie/anaconda2/envs/pytorch04/lib/python3.6/site.py", line 168, in addpackage
exec(line)
File "", line 1, in
File "/home/jnie/anaconda2/envs/pytorch04/lib/python3.6/types.py", line 171, in
import functools as _functools
File "/home/jnie/anaconda2/envs/pytorch04/lib/python3.6/functools.py", line 21, in
from collections import namedtuple
ImportError: cannot import name 'namedtuple'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/jnie/anaconda2/envs/pytorch04/lib/python3.6/site.py", line 544, in
main()
File "/home/jnie/anaconda2/envs/pytorch04/lib/python3.6/site.py", line 531, in main
known_paths = addsitepackages(known_paths)
File "/home/jnie/anaconda2/envs/pytorch04/lib/python3.6/site.py", line 328, in addsitepackages
addsitedir(sitedir, known_paths)
File "/home/jnie/anaconda2/envs/pytorch04/lib/python3.6/site.py", line 207, in addsitedir
addpackage(sitedir, name, known_paths)
File "/home/jnie/anaconda2/envs/pytorch04/lib/python3.6/site.py", line 178, in addpackage
import traceback
File "/home/jnie/anaconda2/envs/pytorch04/lib/python3.6/traceback.py", line 5, in
import linecache
File "/home/jnie/anaconda2/envs/pytorch04/lib/python3.6/linecache.py", line 8, in
import functools
File "/home/jnie/anaconda2/envs/pytorch04/lib/python3.6/functools.py", line 21, in
from collections import namedtuple
ImportError: cannot import name 'namedtuple'
mv: cannot stat 'nms/cpu_nms.cpython-36m-x86_64-linux-gnu.so': No such file or directory
mv: cannot stat 'nms/gpu_nms.cpython-36m-x86_64-linux-gnu.so': No such file or directory

how to solve it?

commented

maybe you installl collections and delete the line 9 and 10. @Ranchentx

when I delete line9 and 10, there still has an error:
ImportError: cannot import name 'namedtuple'