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

problem with sudo python extract_C3D_feature.py i faced this problem #15

Open
cervantes-loves-ai opened this issue Apr 3, 2020 · 1 comment

Comments

@cervantes-loves-ai
Copy link

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

@AhmedEldemoksy
Copy link

How you solve this problem?

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

2 participants