PythonSIFT icon indicating copy to clipboard operation
PythonSIFT copied to clipboard

Fails missing urlparse

Open GeneralAccess opened this issue 11 months ago • 0 comments

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.

GeneralAccess avatar Jan 16 '25 19:01 GeneralAccess