0

So I was trying to install a package called 'gdsCAD', and this is where I ended up:

C:\Anaconda\python.exe "C:/Users/HUANG/PycharmProjects/pythonProject2/trial1.py"

Traceback (most recent call last):

File "C:/Users/HUANG/PycharmProjects/pythonProject2/trial1.py", line 2, in import gdsCAD

File "C:\Anaconda\lib\site-packages\gdsCAD\_init_.py", line 26, in import core

ModuleNotFoundError: No module named 'core'

And these are the first lines of '_init_.py' which runs fine:

import core
import shapes
import utils
import templates

I can also find the 'core.py' in the same folder which also runs fine. Somehow all these files can run individually, but error occurs when I import the whole package. Could you please shed some lights on it? Thanks!

0 Answers0