Python Forum

Full Version: Nameparser - Traceback error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Greetings!

I'm getting the following error when I try to run a python file based on data in an Excel spreadsheet. I have installed the modules under C:\Users\Spec User\.

Traceback (most recent call last):
File "W:\DATABASES\2007 databases\CACS\SOURCE\BOWCDS.py", line 4, in <module>
from nameparser import HumanName
ModuleNotFoundError: No module named 'nameparser'

Many thanks for your help!
I've tried uninstalling Python. Installing pip nameparser with the new installation of Python as well as the other two modules this file uses. This works on other machines of the same setup (model, OS, hardware, etc.).

The only difference that I see with this is my machine has an installation of Windows that crashed. When I used the repair tool to reinstall it, it left the broken one. I don't know how to get rid of it. Nor do I know if this might be causing my problem.

Any insight would be most appreciated!

Thanks!
Hi @tjnichols
You can try like this:
on command line: pip install nameparser(windows) or sudo pip install nameparser(Linux)
If you still meet the issue, means, your installed python is not correct or broken.

Suggesting repair/reinstall Python.
https://docs.python.org/3/using/windows.html