ivandokov / phockup

Media sorting tool to organize photos and videos from your camera in folders by year, month and day.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TQDM not found

MMMXXXZZZ opened this issue · comments

commented

Command used: phockup.py "Input" "Output" --date "YYYY/MM" --move --original-names --timestamp --dry-run --progress

Console output:

Traceback (most recent call last):
  File "C:\Users\USER\Downloads\phockup-latest\phockup.py", line 11, in <module>
    from src.phockup import Phockup
  File "C:\Users\USER\Downloads\phockup-latest\src\phockup.py", line 11, in <module>
    from tqdm import tqdm
ModuleNotFoundError: No module named 'tqdm'

Latest Python3, Win11

I have the same issue on Ubuntu 22.04

Ah, there's been issue #129 already earlier, but it has been closed even though it seems not to got truly solved

Same issue with phockup installed through brew

commented

Solved on Mac

Install TQDM module with pip install tqdm or pip3 install tqdm

Still having this issue on Ubuntu 22.04 LTS even though tqdm is installed. I believe the problem is that the snap install runs in a container and doesn't have access to the system libraries.

elplatt@marvin:~$ pip3 list | grep tqdm
tqdm                    4.64.1

elplatt@marvin:~$ python3 -c "from tqdm import tqdm; print(tqdm);"
<class 'tqdm.std.tqdm'>

elplatt@marvin:~$ phockup
Traceback (most recent call last):
  File "/snap/phockup/407/phockup.py", line 11, in <module>
    from src.phockup import Phockup
  File "/snap/phockup/407/src/phockup.py", line 9, in <module>
    from tqdm import tqdm
ModuleNotFoundError: No module named 'tqdm'