Python cannot see module -
hello guys have directory
c:\python27 --c:\python27\pysec-master ----c:\python27\pysec-master\pysec __init__.py example.py models.py xbrl.py xbrl_fundamentals.py
i trying run command
from pysec import xbrl
and getting error:
traceback (most recent call last): file "<pyshell#17>", line 1, in <module> pysec import xbrl importerror: no module named pysec
how possible? code written professional , can see file named pysec
the question has been answered mskimm in comments sections , runs as:
is c:\python27\pysec-master
in sys.path
? nope? add sys.path
sys.path.append(r'c:\python27\pysec-master')
Comments
Post a Comment