It looks like you're new here. If you want to get involved, click one of these buttons!
I have been using the KLayout Python module a lot and see the following:
On RedHat EL 6 I can compile the "master" branch (0.26?) and get the module to work on a Python 3.6.7 install just by setting the $PYTHONPATH variable to include the .../pymod directory from the install directory.
On Windows 10 with Windows Subsystem for Linux I can install the .deb file for Ubuntu 16.04, and then I can run python3 on WSL with klayout (and Pycharm Professional Edition on the Windows side). Working well.
On MS Windows (outside of WSL), I can install the PyPI module (or the one from: http://www.klayout.org/downloads/pymod/) with "PowerShell" but then when I start the Python and import klayout I get:
import klayout.db as kl
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\nxa11113\AppData\Local\Python36\lib\site-packages\klayout\db__init__.py", line 1, in
ImportError: DLL load failed: The specified module could not be found.
I have Python 3.6.7 (from python.org, the 64-bit install) installed in:
Does this module work for anyone, and if so, does Python need to be installed anywhere else? Also I have lots of other stuff installed and I can't exclude side effects.
Thanks for any suggestions.
Best regards, Erwin