volotat / DiffMorph

Image morphing without reference points by applying warp maps and optimizing over them.
MIT License
458 stars 53 forks source link

ModuleNotFoundError: No module named 'tqdm' #15

Closed cardboardcode closed 1 year ago

cardboardcode commented 1 year ago

Issue Description

After setting up the virtualenv, the following error was printed to terminal when running python3 morph.py -s images/image_1.png -t images/image_2.png

Traceback (most recent call last):
  File "./morph.py", line 8, in <module>
    from tqdm import tqdm
ModuleNotFoundError: No module named 'tqdm'

Environment

Steps to Reproduce

Follow the steps below to reproduce the error described above:

virtualenv -p python3 venv
source venv/bin/activate
pip3 install -r requirements.txt
python3 morph.py -s images/image_1.png -t images/image_2.png

Others

This issue has been resolved. See below for the solution. Posting this issue to simply publish the solution.

cardboardcode commented 1 year ago

Solution :partying_face:

Just install tqdm in your virtualenv or Anaconda environment:

pip3 install tqdm==4.64.0

Will probably make a pull request to add in the missing dependencies within requirements.txt.