HOWZ1T / py_proxy

Python proxy helper. Please use deligently and respectfully! Always respect a websites ROBOTS.txt!
MIT License
7 stars 5 forks source link

import error. #10

Open random-robbie opened 1 year ago

random-robbie commented 1 year ago

Constantly getting the following error.

Tried in docker and virtenv.

Traceback (most recent call last):
  File "/private/tmp/wayb.py", line 2, in <module>
    from py_proxy import ProxyScraper
ModuleNotFoundError: No module named 'py_proxy

using the folllowing.

from py_proxy import ProxyScraper

Python 3.10

ramsy0dev commented 11 months ago

@random-robbie When importing the package name is proxy, so you should edit your code to

from proxy import Proxy

It is mentioned in the example in the README.md