Ok i have a file in
C:\Python27\pysec-master\pysec
and the sys.path
is
>>> print sys.path
['C:\\Python27\\pysec-master\\pysec', 'C:\\Python27\\Lib\\idlelib',
'C:\\Windows\\system32\\python27.zip', 'C:\\Python27\\DLLs', 'C:\\Python27\\lib',
'C:\\Python27\\lib\\plat-win', 'C:\\Python27\\lib\\lib-tk', 'C:\\Python27',
'C:\\Python27\\lib\\site-packages']
whenever i try to type
from pysec.models import *
it gives me a traceback
Traceback (most recent call last):
File "<pyshell#36>", line 1, in <module>
from pysec import *
ImportError: No module named pysec
How is this possible since pysec
is a physical file in the Python
file and C:\Python27\pysec-master\pysec
is in sys.path
?
Inside the pysec
file there is a models.py
also.
EDIT
wait, inside the pysec file there is a models.py also.? HOW?
Please see the pic. If you have the picture capacity dissabled please tell me so.