mjishnu / pypdl

A concurrent pure python downloader with resume capablities
https://pypi.org/project/pypdl/
MIT License
51 stars 9 forks source link

ModuleNotFoundError: No module named 'utls' #4

Closed shuowei closed 1 year ago

shuowei commented 1 year ago

I am getting a ModuleNotFoundError: No module named 'utls' while trying to from pypdl import Downloader

Looking at the source code and commit history, I think this is caused by removing the dot in main.py

from .utls import Multidown, Singledown, timestring

Can you guys help take a look? From my experience, it should work without dot, so I am not sure what the root cause is ...

Thanks,

mjishnu commented 1 year ago

fixed, it was as you said caused because i removed the dot for testing and forgot to add it back, the dot is needed when using as a package