Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > de.comp.lang.python > #5303

Re: [Python-de] Probleme bei der initalisierung

From Kaeptm Blaubaer <kaeptmblaubaer1000@gmail.com>
Newsgroups de.comp.lang.python
Subject Re: [Python-de] Probleme bei der initalisierung
Date 2018-10-29 07:45 +0100
Message-ID <mailman.322.1540795542.2799.python-de@python.org> (permalink)
References <trinity-29b673dd-8b71-40d9-96a2-61c9fc546793-1540762667440@3c-app-gmx-bs27> <CAPPXo7CzjFtfTJDTuZy3pDqGo14kgV5ee4sZSUe1eLHfKDeoNQ@mail.gmail.com>

Show all headers | View raw


Versuch am besten erst einmal, Py_GetPath() direkt vor Py_Init() aufzurufen
und schau, was dabei rauskommt.
encodings ist ein in Python geschriebenes Modul, also hast du entweder eine
fehlende oder beschÃĪdigte Standardbibliothek, oder einen falschen sys.path.
Vielleicht ist aber auch nur die Standardbibliothek am falschen Platz.

Maximilian Huber <workbench@gmx.at> schrieb am So., 28. Okt. 2018, 22:38:

>    Hallo Leute,
>
>    ich versuche python 3.7 in mein c++ programm einzubinden. ich habe
> python
>    mit visual studio 2017 compiliert und es scheint ein paar fehler zu
> haben
>    aber die .lib und .dll dateien wurden erfolgreich erstellt.
>
>    jetzt versuche ich das anfangsbeispiel zu compilieren und es
> funktioniert,
>    das problem ist ich bekomme immer die folgende fehlermeldung:
>
>    Fatal Python error: initfsencoding: unable to load the file system codec
>    ModuleNotFoundError: No module named 'encodings'
>    Current thread 0x000011b8 (most recent call first):
>
>    ich hoffe jemand hier kann mir weiterhelfen...
>
>    noch einen schoenen tag und alles gute!
> _______________________________________________
> python-de maillist  -  python-de@python.org
> https://mail.python.org/mailman/listinfo/python-de
>

Back to de.comp.lang.python | Previous | Next | Find similar


Thread

Re: [Python-de] Probleme bei der initalisierung Kaeptm Blaubaer <kaeptmblaubaer1000@gmail.com> - 2018-10-29 07:45 +0100

csiph-web