question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ModuleNotFoundError: No module named 'phonenumbers'

See original GitHub issue

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…

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
jheldcommented, Oct 22, 2019

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.

0reactions
jheldcommented, Feb 9, 2020

That was merged. Closing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ModuleNotFoundError: No module named 'phonenumbers'
I am quite new to Django/Python, coming from Ruby. Is there a solution for this problem please ? it works very well in...
Read more >
ImportError: No module named 'phonenumbers' #2681 - GitHub
Hi! I'm trying to start a project from the beginning with 1.6rc1 version with python 3.5.0 virtualenv venv source venv/bin/activate pip ...
Read more >
No module named phonenumbers???? - Odoo
am trying to install the asteriks click2dial module in openerp and i get the error No module named phonenumbers.. please what do i...
Read more >
phonenumbers - PyPI
The main object that the library deals with is a PhoneNumber object. You can create this from a string representing a phone number...
Read more >
ModuleNotFoundError: No module named ... - RoseIndia.Net
Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'phonenumbers' How to remove the Modul.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found