juliomalegria / python-craigslist

Simple Craigslist wrapper
MIT No Attribution
389 stars 117 forks source link

Was working in Python 2, getting import error in Python 3 #47

Closed JRHutson closed 7 years ago

JRHutson commented 7 years ago

I had the module working well in Python 2, but I want to use it in a script that needs to be in Python 3 and I keep getting an import error.

from craigslist import CraigslistHousing

returns "ImportError: cannot import name 'CraigslistHousing'"

There was some other module called "craigslist" rather than "python-craigslist" installed that I tried to remove. It's not showing up when I use "pip3 list" but I'm not sure if it's causing some sort of conflict.

JRHutson commented 7 years ago

I tried a different system and am not getting the error. Will try uninstalling and reinstalling modules on the one giving me an issue.

JRHutson commented 7 years ago

After uninstalling the module named Craigslist didn't resolve it, I finally uninstalled and reinstalled Python-Craigslist. Something in the install process resolved the conflict.