Monocular Total Capture usage error : import numpy as np ImportError: No module named 'numpy'

只谈情不闲聊 提交于 2020-05-14 09:02:17

问题


I'm trying to use this repo :

https://github.com/CMU-Perceptual-Computing-Lab/MonocularTotalCapture

I've completed the installation part and I started to use it. This is what I should do :

In ${ROOT}, run "bash run_pipeline.sh ${seqName}"; if the subject in the video shows only upper body, run "bash run_pipeline.sh ${seqName} -f".

So,I created a folder and I named it "example_dance" and inside of it I have copied the file named "example_dance.mp4",the same file used as an example and then I ran :

mario@ziom-Z87-HD3:/home/ziom/Scrivania/MonocularTotalCapture# bash run_pipeline.sh example_dance

ls: can't log into '/home/ziom/Scrivania/MonocularTotalCapture/data/example_dance/openpose_result/*': File o directory not found
Traceback (most recent call last):
  File "POF/collect_openpose.py", line 2, in <module>
    import numpy as np
ImportError: No module named 'numpy

how to fix it ? I tried some experiments,such as :

mario@ziom-Z87-HD3:/home/ziom/Scrivania/MonocularTotalCapture# python
Python 2.7.12 (default, Oct  8 2019, 14:14:10) 
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy as np
>>> exit()

and :

pip install numpy
pip2 install numpy 
pip3 install numpy
apt-get install python-numpy

I have also tried get the source of the numpy and then I did :

python setup.py install

,numpy has been installed correctly,but the error is still there.

来源:https://stackoverflow.com/questions/60622518/monocular-total-capture-usage-error-import-numpy-as-np-importerror-no-module

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!