Top "Importerror" questions

Refers to errors that result from attempting to import a module or library into one's code

ImportError: No module named visual

I am trying to run this Python Program on Ubuntu but I am getting an error that says ImportError: No …

python 3d importerror vpython
ImportError: cannot import name get_column_letter

I am able to use openpyxl as an import in my code. But when I try to do the following: …

python python-2.7 module importerror openpyxl
psycopg2: AttributeError: 'module' object has no attribute 'extras'

In my code I use the DictCursor from psycopg2.extras like this dict_cur = conn.cursor(cursor_factory=psycopg2.extras.…

python psycopg2 importerror
ModuleNotFoundError: No module named 'sklearn.externals.six'

I keep getting the error ModuleNotFoundError: No module named 'sklearn.externals.six' when running the code below: from sklearn.datasets …

python scikit-learn importerror
ImportError: Failed to import pydot. You must install pydot and graphviz for `pydotprint` to work

I have seen similar issue but it is not solved either, so I decided to ask. I am trying to …

keras graphviz importerror pydot
Setting up a virtualenv: No module named 'pip'

I have a fresh install of Python 3.3.4 on a Windows Server 2008 R2 machine. I've successfully installed the latest versions of …

python virtualenv pip importerror
PyQt 4.7 - ImportError after installing on Windows

I've been trying to install PyQt 4.7 on Vista, but I am getting an ImportError when I try to do: from …

python windows pyqt importerror
Cannot install PyPdf 2 module

Trying to install PyPdf2 module, I downloaded the zip and unzipped it, I executed python setup.py build and python …

python module importerror pypdf
NumPy library ImportError: DLL load failed: The specified procedure could not be found

I'm learning python using Visual Studio 2017 on Windows 10. When I'm trying to import NumPy library into my code, this error …

python visual-studio numpy dll importerror
Unable to import sqlite3 using Anaconda Python

I am trying to do the following in Python 3.7.1 on Windows import sqlite3 but I get the following error message …

python-3.x windows sqlite anaconda importerror