crawlbase / proxycrawl-python

ProxyCrawl Python library for scraping and crawling
https://proxycrawl.com
Apache License 2.0
60 stars 19 forks source link

ImportError: cannot import name 'CrawlingAPI' from partially initialized module 'proxycrawl' (most likely due to a circular import) #9

Closed null15 closed 3 years ago

null15 commented 3 years ago

Title, does anyone know why?

null15 commented 3 years ago

Since I use python 3.9.7, I should use this import

from proxycrawl.proxycrawl_api import ProxyCrawlAPI

However, this returns

ModuleNotFoundError: No module named 'proxycrawl.proxycrawl_api'; 'proxycrawl' is not a package

null15 commented 3 years ago

My file name was the problem...