← Back to team overview

kicad-developers team mailing list archive

Re: Opening pcbnew from kicad: ImportError: No module named pcbnew

 

Hi,

Am 11.01.2016 um 00:31 schrieb Clemens Koller:
$ PYTHONPATH=~/SW/lib/python2.7/site-packages python
Python 3.5.1 (default, Dec  7 2015, 12:58:09)
[GCC 5.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>import sys
>>>print(sys.path)
['', '/home/admin/SW/lib/python2.7/site-packages', '/usr/lib/python35.zip', '/usr/lib/python3.5', '/usr/lib/python3.5/plat-linux', '/usr/lib/python3.5/lib-dynload', '/usr/lib/python3.5/site-packages']



Just a blind guess after seeing this: have you ever tried to load the module with a Python 2 interpreter, and not with your system's version 3.5? I'm not sure if this has anything to do with it, but it might be worth a try...


Best,
Johannes


Follow ups

References