kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #22493
Re: Opening pcbnew from kicad: ImportError: No module named pcbnew
Ohh yeah, I did not notice that before. That must be why it can't find
it. The scripting thing does not support py3k. We should really try to
make it support both. I hope someone volunteers, I myself, does not
know what it takes in the swig context.
But I can tell that on my system (archlinux) I have both python 3 and
python 2.7 installed with the default python being 3. But here it
works fine. Maybe Clemens only have python 3 installed?
2016-01-11 9:35 GMT+01:00 Johannes Maibaum <jmaibaum@xxxxxxxxx>:
> 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
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
Follow ups
References
-
Opening pcbnew from kicad: ImportError: No module named pcbnew
From: Clemens Koller, 2016-01-08
-
Re: Opening pcbnew from kicad: ImportError: No module named pcbnew
From: Jon Neal, 2016-01-08
-
Re: Opening pcbnew from kicad: ImportError: No module named pcbnew
From: Clemens Koller, 2016-01-08
-
Re: Opening pcbnew from kicad: ImportError: No module named pcbnew
From: Nick Østergaard, 2016-01-08
-
Re: Opening pcbnew from kicad: ImportError: No module named pcbnew
From: Wayne Stambaugh, 2016-01-08
-
Re: Opening pcbnew from kicad: ImportError: No module named pcbnew
From: Clemens Koller, 2016-01-08
-
Re: Opening pcbnew from kicad: ImportError: No module named pcbnew
From: Wayne Stambaugh, 2016-01-08
-
Re: Opening pcbnew from kicad: ImportError: No module named pcbnew
From: Clemens Koller, 2016-01-08
-
Re: Opening pcbnew from kicad: ImportError: No module named pcbnew
From: jp charras, 2016-01-08
-
Re: Opening pcbnew from kicad: ImportError: No module named pcbnew
From: Clemens Koller, 2016-01-08
-
Re: Opening pcbnew from kicad: ImportError: No module named pcbnew
From: Wayne Stambaugh, 2016-01-08
-
Re: Opening pcbnew from kicad: ImportError: No module named pcbnew
From: Clemens Koller, 2016-01-08
-
Re: Opening pcbnew from kicad: ImportError: No module named pcbnew
From: Nick Østergaard, 2016-01-08
-
Re: Opening pcbnew from kicad: ImportError: No module named pcbnew
From: Clemens Koller, 2016-01-08
-
Re: Opening pcbnew from kicad: ImportError: No module named pcbnew
From: Strontium, 2016-01-09
-
Re: Opening pcbnew from kicad: ImportError: No module named pcbnew
From: Clemens Koller, 2016-01-10
-
Re: Opening pcbnew from kicad: ImportError: No module named pcbnew
From: Wayne Stambaugh, 2016-01-10
-
Re: Opening pcbnew from kicad: ImportError: No module named pcbnew
From: Nick Østergaard, 2016-01-10
-
Re: Opening pcbnew from kicad: ImportError: No module named pcbnew
From: Clemens Koller, 2016-01-10
-
Re: Opening pcbnew from kicad: ImportError: No module named pcbnew
From: Johannes Maibaum, 2016-01-11