Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails missing urlparse #36

Open
GeneralAccess opened this issue Jan 16, 2025 · 0 comments
Open

Fails missing urlparse #36

GeneralAccess opened this issue Jan 16, 2025 · 0 comments

Comments

@GeneralAccess
Copy link

I wanted to assess whether PySift would be useful for my task, but it errored. ChatGPT says:

"It looks like you're encountering a compatibility issue. The urlparse module has been moved to urllib.parse in Python 3, and this is likely causing the ModuleNotFoundError.

To fix the error, you need to modify the import statement in the code that's triggering it. Specifically, instead of importing urlparse from urlparse (which was used in Python 2), you should import it from urllib.parse in Python 3."

I tried this but it didn't work. I don't want to have to fix the code just to do a test, so I will use something else. By-the-way it looks as though this may have been abandoned looking at the dates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant