-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
pkg_resources is depreciated. #22
Comments
Currently experiencing |
Same issue |
Same Issue Any solutions? |
Using import importlib.resources
def from_file(name: str):
"""Read script from ./js directory"""
return (
importlib.resources.files("playwright_stealth").joinpath("js", name).read_text()
) |
I'm having the same issue... Will the paveldudka PR be pushed one day? |
I've run into this issue a few times, the solution being |
Note that installing setuptools is also more of a temporary work-around, and not a very sustainable solution. As per the setuptools docs: Fortunately, the usage of @AtuboDad It would be great if #32 could be merged and released to PyPI. |
Looks like this repo is no longer maintained. https://github.com/tinyfish-io/tf-playwright-stealth
|
This is used here:
In 3.12.0 I was getting pkg_resources not found, so perhaps setuptools needs to be a dependency?
The text was updated successfully, but these errors were encountered: