sh c3d_sport1m_feature_extraction_frm.sh runs perfectly but while run sudo python extract_C3D_feature.py i faced this problem
sudo python extract_C3D_feature.py
Traceback (most recent call last):
File "extract_C3D_feature.py", line 7, in
import numpy as np
File "/usr/local/lib/python2.7/dist-packages/numpy/init.py", line 142, in
from . import core
File "/usr/local/lib/python2.7/dist-packages/numpy/core/init.py", line 91, in
raise ImportError(msg.format(path))
ImportError: Something is wrong with the numpy installation. While importing we detected an older version of numpy in ['/usr/local/lib/python2.7/dist-packages/numpy']. One method of fixing this is to repeatedly uninstall numpy until none is found, then reinstall this version.
even though i reinstall numpy sevaral times but still have same error. also when i run with python3 i saw this error
sudo python3 extract_C3D_feature.py
File "extract_C3D_feature.py", line 32
print "[Info] trained_model={} found. Good to go!".format(trained_model)
^
SyntaxError: invalid syntax
sh c3d_sport1m_feature_extraction_frm.sh runs perfectly but while run sudo python extract_C3D_feature.py i faced this problem
sudo python extract_C3D_feature.py Traceback (most recent call last): File "extract_C3D_feature.py", line 7, in
import numpy as np
File "/usr/local/lib/python2.7/dist-packages/numpy/init.py", line 142, in
from . import core
File "/usr/local/lib/python2.7/dist-packages/numpy/core/init.py", line 91, in
raise ImportError(msg.format(path))
ImportError: Something is wrong with the numpy installation. While importing we detected an older version of numpy in ['/usr/local/lib/python2.7/dist-packages/numpy']. One method of fixing this is to repeatedly uninstall numpy until none is found, then reinstall this version.
even though i reinstall numpy sevaral times but still have same error. also when i run with python3 i saw this error
sudo python3 extract_C3D_feature.py File "extract_C3D_feature.py", line 32 print "[Info] trained_model={} found. Good to go!".format(trained_model) ^ SyntaxError: invalid syntax
thanks in advance