rdegges/django-twilio

ModuleNotFoundError: No module named 'phonenumbers'

steverecio opened this issue · 7 comments

Installing django-twilio and the server throws the following error on startup:

ModuleNotFoundError: No module named 'phonenumbers'

I was able to fix it by adding phonenumbers to my requirements.txt file but maybe we should add that to the requirements file in this project. I also noticed the package requires django-phonenumber-field==0.6 even though the latest version on pypi is 3.0.1. Maybe that should be upgraded too...

jheld commented

I haven't had the module issue. But my req file has likely included it for a long time.

There are also some deprecation warnings that I think are solved by upgrading the package. Agreed we should do so.

The django 2.2 support should be official this week -- testing has been good.

After that, yes, req/upgrades could be a good next release.

is the 2.2 support out yet?

Btw.. it's strange but after instsalling phone numbers via conda

conda install -c conda-forge phonenumbers

for some strange reason, pipen install phonenumbers does't seem to "break" (i was getting weird zlib error)

of course, this applies if you're using ana/min-conda only

jheld commented

@taewookim yes, django 2.2 support is out. as of 0.11.0

jheld commented

#159 is supposed to fix this. Please see my question on there. I don't see anything in this repo which uses that package so I'm surprised it fails without it being installed.

Thanks

jheld commented

That was merged. Closing.