Aug-04-2018, 02:23 AM
(This post was last modified: Aug-04-2018, 02:29 AM by St_Patrick.)
(Aug-04-2018, 02:12 AM)Larz60+ Wrote: you need to provide more information. how are you importing, is the file in the same directory as the program importing it? if not, have you set up an __init__.py which shows project structure? is the spelling correct (including case if on Linux) It would be most helpful if we could see your code.The file isn't in the same directory as the program importing it, but I have other files in the same directory as threenames which do work. The spelling is correct I have done it multiple times and I have also had other people try which also didn't work.
Down below is what I have been typing. I have done the same things for other files and those have all been successful.
>>> import threenames Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named threenames