rajatomar788 / pywebcopy

Locally saves webpages to your hard disk with images, css, js & links as is.
https://rajatomar788.github.io/pywebcopy/
Other
546 stars 108 forks source link

ImportError: cannot import name 'findall' from 'parse' #24

Closed hkaur-in closed 4 years ago

hkaur-in commented 4 years ago

The issue seems to be here:

File "C:\Users\*\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pywebcopy\parsers.py", line 22, in <module>
    from parse import findall, search as parse_search
rajatomar788 commented 4 years ago

Those are extra dependencies. You are required to install these dependencies separately. Like so

pip install parse

Or any other error it throws.

On Sun, Jan 5, 2020, 2:33 AM Harjot Kaur notifications@github.com wrote:

The issue seems to be here:

File "C:\Users*\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pywebcopy\parsers.py", line 22, in from parse import findall, search as parse_search

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rajatomar788/pywebcopy/issues/24?email_source=notifications&email_token=AIGSNTR5XGAJNSOOEQBHAP3Q4D2TJA5CNFSM4KCX5I2KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IEBDRJQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIGSNTT2TD6ESIBOY6BBZCTQ4D2TJANCNFSM4KCX5I2A .

hkaur-in commented 4 years ago

Thank you for your reply.

On Wed, Jan 8, 2020 at 3:57 AM Raja Tomar notifications@github.com wrote:

Those are extra dependencies. You are required to install these dependencies separately. Like so

pip install parse

Or any other error it throws.

On Sun, Jan 5, 2020, 2:33 AM Harjot Kaur notifications@github.com wrote:

The issue seems to be here:

File "C:\Users*\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pywebcopy\parsers.py", line 22, in from parse import findall, search as parse_search

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub < https://github.com/rajatomar788/pywebcopy/issues/24?email_source=notifications&email_token=AIGSNTR5XGAJNSOOEQBHAP3Q4D2TJA5CNFSM4KCX5I2KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IEBDRJQ , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AIGSNTT2TD6ESIBOY6BBZCTQ4D2TJANCNFSM4KCX5I2A

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rajatomar788/pywebcopy/issues/24?email_source=notifications&email_token=AGHZRF4MRWJOBBQDCMBYTBDQ4U6IHA5CNFSM4KCX5I2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEILASEQ#issuecomment-571869458, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGHZRF367F7X5FMU7JHGDHDQ4U6IHANCNFSM4KCX5I2A .

rajatomar788 commented 4 years ago

Extra features requires extra dependencies. So if it gives any kind of ImportError then you should always install it using pip like this

$ pip install [modulename]