You are not logged in.
Downgraded to python3.8
Solved. Sorry ![]()
Hello,
if i start kicad, it works. As soon as i start my layout editor, it fails:
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Python path configuration:
PYTHONHOME = (not set)
PYTHONPATH = '/usr/bin/../lib/python3.8/site-packages'
program name = 'python3'
isolated = 0
environment = 1
user site = 1
import site = 1
sys._base_executable = '/usr/bin/python3'
sys.base_prefix = '/usr'
sys.base_exec_prefix = '/usr'
sys.executable = '/usr/bin/python3'
sys.prefix = '/usr'
sys.exec_prefix = '/usr'
sys.path = [
'/usr/bin/../lib/python3.8/site-packages',
'/usr/lib/python38.zip',
'/usr/lib/python3.8',
'/usr/lib/lib-dynload',
]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named 'encodings'
Current thread 0x00007ff9596b19c0 (most recent call first):
<no Python frame>What i tried to do:
I changed my home variable:
export PYTHONHOME=/usr/bin/python3
Result: same error.
Who can help me?
Last edited by Vivus (2020-12-12 07:39:36)
Offline
Edit: Please set your title to [SOLVED]
Arch by default uses python 3.9 if you downgraded python, then you are in a state where all repository packages depending on python (especially python libraries) won't work well anymore.
Last edited by progandy (2020-12-12 08:10:13)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
Downgraded to python3.8
Solved. Sorry
No, that doesn't solve the problem, that's a very temporary workaround. Are you running kicad from [community] and are you fully up to date (post exact current version of kicad you have installed)? Then it's likely a bug (packaging or upstream with Python 3.9).
Offline
You are right.
I use kicad-git-5.99.0.r6897.g5c309f0fef-1
Same problem with python-3.9.1-1
Last edited by Vivus (2020-12-22 20:06:10)
Offline
Did you rebuild kicad-git? If not, do so.
Offline
Did you rebuild kicad-git? If not, do so.
solved it. thank you!
Offline