Import Problem on WIndows py3

J

jimmyli1528

I have a main program and a 3rd party module. Trying to import colorama, where colorama is a folder with files in it, returns an ImportError: No module named colorama. How should I import folders?
 
W

Werner Thie

I have a main program and a 3rd party module. Trying to import colorama, where colorama is a folder with files in it, returns an ImportError: No module named colorama. How should I import folders?


Do you have a (empty) __init__.py file present in this particular directory?

Werner
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Import Problem - Please help 3
python import error 7
import serial failure 2
Question about import hooks 0
import problems. 0
unable to import rlcompleter readline 0
Crawling 1
Building tkinter on Windows 2

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top