Aug-29-2018, 08:10 PM
Ok, I've made a little bit of progress. I encounter versions of this error when I use terminal and I solve it by doing this:
import sys str1 = "/library/frameworks/python.framework/versions/3.6/lib/python3.6/site-packages/" sys.path.append(str1)When I remove that code I get the following error:
Traceback (most recent call last): File "/Users/kylefoley/PycharmProjects/inference_engine2/inference2/Proofs/other/activities/main.py", line 6, in <module> import xlwings ModuleNotFoundError: No module named 'xlwings'So I'm on the right track. I just need to find out what path to append to sys so that I do not get this error:
Traceback (most recent call last): File "/Users/kylefoley/PycharmProjects/inference_engine2/inference2/Proofs/other/activities/main.py", line 6, in <module> import xlwings File "/library/frameworks/python.framework/versions/3.6/lib/python3.6/site-packages/xlwings/__init__.py", line 25, in <module> from . import _xlmac as xlplatform File "/library/frameworks/python.framework/versions/3.6/lib/python3.6/site-packages/xlwings/_xlmac.py", line 10, in <module> import aem ModuleNotFoundError: No module named 'aem'So after I found the module 'aem' I put in the following code:
str1 = "/library/frameworks/python.framework/versions/3.6/lib/python3.6/site-packages/aeosa/aem/" sys.path.append(str1)That didn't work however. I'm getting the same error message.