bearpaw/pytorch-pose

ModuleNotFoundError: No module named 'progress'

Closed this issue · 4 comments

when i train the net ,there are some error,
Traceback (most recent call last):
File "example/mpii.py", line 14, in
from pose import Bar
File "/mnt/md0/xur/HumanPose/pytorch-pose/pose/init.py", line 10, in
from progress.bar import Bar as Bar

Add the following command to your bashrc:

export PYTHONPATH=".:$PYTHONPATH"

thanks for your reply,but i try this ,but still doesnot work

After saving the bashrc file, run source ~/.bashrc, or open a new terminal before training the network.

Nope @bearpaw . I think that is not a correct answer. After cloning this repository, then you should copy other submodules to run this code.
Type git submodule update --init --recursive in copied directory on your computer.
After that, you can run this code.

git clone some_address cannot copy all the submodules at a once.
This is the correct answer.