phockup icon indicating copy to clipboard operation
phockup copied to clipboard

TQDM not found

Open MMMXXXZZZ opened this issue 2 years ago • 3 comments

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

MMMXXXZZZ avatar Jul 30 '22 21:07 MMMXXXZZZ

I have the same issue on Ubuntu 22.04

anttitelio avatar Aug 03 '22 18:08 anttitelio

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

anttitelio avatar Aug 04 '22 15:08 anttitelio

Same issue with phockup installed through brew

tugdualenligne avatar Sep 01 '22 20:09 tugdualenligne

Solved on Mac

Install TQDM module with pip install tqdm or pip3 install tqdm

MMMXXXZZZ avatar Sep 25 '22 03:09 MMMXXXZZZ

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'

elplatt avatar Feb 04 '23 20:02 elplatt