Kivy: Kivy 1.9.1, ImportError saat mengimpor kivy.app.App

Dibuat pada 4 Jan 2016  ·  26Komentar  ·  Sumber: kivy/kivy

Menginstal Python2.7.10, Kivy1.9.1 baru (mengikuti instruksi dari situs web kivy.org) di Windows7 64bit.
Saya mendapatkan ImportError ketika saya menjalankan kode ini:

from kivy.app import App
from kivy.uix.button import Button


class ButtonApp(App):

    def build(self):
        return Button(text='TEST')


ButtonApp().run()

Keluaran konsol:

E:\Python27\python.exe E:/workspace/TEST/test_kivy_1.9.1/main.py
[INFO              ] [Logger      ] Record log in C:\Users\Skerleton\.kivy\logs\kivy_16-01-04_38.txt
[INFO              ] [Kivy        ] v1.9.1
[INFO              ] [Python      ] v2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)]
[INFO              ] [Factory     ] 179 symbols loaded
[DEBUG             ] [Cache       ] register <kv.lang> with limit=None, timeout=None
 Traceback (most recent call last):
   File "E:/workspace/TEST/test_kivy_1.9.1/main.py", line 1, in <module>
     from kivy.app import App
   File "E:\Python27\lib\site-packages\kivy\app.py", line 327, in <module>
     from kivy.uix.widget import Widget
   File "E:\Python27\lib\site-packages\kivy\uix\widget.py", line 219, in <module>
     from kivy.graphics import (
   File "E:\Python27\lib\site-packages\kivy\graphics\__init__.py", line 89, in <module>
     from kivy.graphics.instructions import Callback, Canvas, CanvasBase, \
 ImportError: DLL load failed: The specified module could not be found.

Process finished with exit code 1

Kivy diinstal tanpa masalah, kecuali untuk Gstreamer.
Kesalahan ini dilaporkan oleh pengembang lain di grup google kivy

Windows

Komentar yang paling membantu

Masalah gstreamer telah diperbaiki. Saya juga memperbarui semua dependensi jadi saya sarankan Anda mengunduhnya lagi dengan python -m pip install --upgrade docutils pygments pypiwin32 kivy.deps.sdl2 kivy.deps.glew kivy.deps.gstreamer --extra-index-url https://kivy.org/downloads/packages/simple/ karena ini dapat memperbaiki masalah Anda. Beritahu kami.

Semua 26 komentar

Masalah seperti ini sulit untuk di-debug di sini. Akan lebih mudah jika Anda bergabung dengan kami di IRC di #kivy.

Masalah gstreamer telah diperbaiki. Saya juga memperbarui semua dependensi jadi saya sarankan Anda mengunduhnya lagi dengan python -m pip install --upgrade docutils pygments pypiwin32 kivy.deps.sdl2 kivy.deps.glew kivy.deps.gstreamer --extra-index-url https://kivy.org/downloads/packages/simple/ karena ini dapat memperbaiki masalah Anda. Beritahu kami.

Setelah saya memutakhirkan dependensi, masalah baru terjadi:

E:\Python27\python.exe E:/workspace/TEST/test_kivy_1.9.1/main.py
[INFO              ] [Logger      ] Record log in C:\Users\Skerleton\.kivy\logs\kivy_16-01-05_4.txt
[INFO              ] [Kivy        ] v1.9.1
[INFO              ] [Python      ] v2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)]
[INFO              ] [Factory     ] 179 symbols loaded
[DEBUG             ] [Cache       ] register <kv.lang> with limit=None, timeout=None
[DEBUG             ] [Cache       ] register <kv.image> with limit=None, timeout=60
[DEBUG             ] [Cache       ] register <kv.atlas> with limit=None, timeout=None
[INFO              ] [Image       ] Providers: img_tex, img_dds, img_gif, img_sdl2 (img_pil, img_ffpyplayer ignored)
[DEBUG             ] [Cache       ] register <kv.texture> with limit=1000, timeout=60
[DEBUG             ] [Cache       ] register <kv.shader> with limit=1000, timeout=3600
[DEBUG             ] [Text        ] Ignored <sdl2> (import error)
[DEBUG             ] [Text        ] Ignored <pil> (import error)
[CRITICAL          ] [Text        ] Unable to find any valuable Text provider at all!
sdl2 - ImportError: DLL load failed: The specified procedure could not be found.
  File "E:\Python27\lib\site-packages\kivy\core\__init__.py", line 59, in core_select_lib
    fromlist=[modulename], level=0)
  File "E:\Python27\lib\site-packages\kivy\core\text\text_sdl2.py", line 12, in <module>
    from kivy.core.text._text_sdl2 import (_SurfaceContainer, _get_extents,

pil - ImportError: No module named PIL
  File "E:\Python27\lib\site-packages\kivy\core\__init__.py", line 59, in core_select_lib
    fromlist=[modulename], level=0)
  File "E:\Python27\lib\site-packages\kivy\core\text\text_pil.py", line 8, in <module>
    from PIL import Image, ImageFont, ImageDraw

[CRITICAL          ] [App         ] Unable to get a Text provider, abort.

Process finished with exit code 1

Saya memasang bantal agar kivy dapat menggunakannya sebagai penyedia teks tetapi kemudian saya mendapatkan Pengecualian:

E:\Python27\python.exe E:/workspace/TEST/test_kivy_1.9.1/main.py
[INFO              ] [Logger      ] Record log in C:\Users\Skerleton\.kivy\logs\kivy_16-01-05_9.txt
[INFO              ] [Kivy        ] v1.9.1
[INFO              ] [Python      ] v2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)]
[INFO              ] [Factory     ] 179 symbols loaded
[DEBUG             ] [Cache       ] register <kv.lang> with limit=None, timeout=None
[DEBUG             ] [Cache       ] register <kv.image> with limit=None, timeout=60
[DEBUG             ] [Cache       ] register <kv.atlas> with limit=None, timeout=None
[INFO              ] [Image       ] Providers: img_tex, img_dds, img_gif, img_sdl2, img_pil (img_ffpyplayer ignored)
[DEBUG             ] [Cache       ] register <kv.texture> with limit=1000, timeout=60
[DEBUG             ] [Cache       ] register <kv.shader> with limit=1000, timeout=3600
[DEBUG             ] [Text        ] Ignored <sdl2> (import error)
[INFO              ] [Text        ] Provider: pil(['text_sdl2'] ignored)
[DEBUG             ] [App         ] Loading kv <E:/workspace/TEST/test_kivy_1.9.1\button.kv>
[DEBUG             ] [App         ] kv <E:/workspace/TEST/test_kivy_1.9.1\button.kv> not found
[INFO              ] [OSC         ] using <thread> for socket
[INFO              ] [Window      ] Provider: sdl2
[INFO              ] [GL          ] GLEW initialization succeeded
[INFO              ] [GL          ] OpenGL version <4.5.0 NVIDIA 347.88>
[INFO              ] [GL          ] OpenGL vendor <NVIDIA Corporation>
[INFO              ] [GL          ] OpenGL renderer <GeForce GTX 560 SE/PCIe/SSE2>
[INFO              ] [GL          ] OpenGL parsed version: 4, 5
[INFO              ] [GL          ] Shading version <4.50 NVIDIA>
[INFO              ] [GL          ] Texture max size <16384>
[INFO              ] [GL          ] Texture max units <32>
[DEBUG             ] [Shader      ] Fragment compiled successfully
[DEBUG             ] [Shader      ] Vertex compiled successfully
[DEBUG             ] [ImageSDL2   ] Load <E:\Python27\lib\site-packages\kivy\data\glsl\default.png>
[INFO              ] [Window      ] auto add sdl2 input provider
[INFO              ] [Window      ] virtual keyboard not allowed, single mode, not docked
[DEBUG             ] [Resource    ] add <C:\Windows\Fonts> in path list
[DEBUG             ] [Resource    ] add <E:\Python27\lib\site-packages\kivy\data\fonts> in path list
[DEBUG             ] [Base        ] Create provider from mouse,disable_multitouch
[DEBUG             ] [Base        ] Create provider from wm_touch
[DEBUG             ] [Base        ] Create provider from wm_pen
[INFO              ] [Base        ] Start application main loop
[INFO              ] [GL          ] NPOT texture support is available
[DEBUG             ] [Atlas       ] Load <E:\Python27\lib\site-packages\kivy\data\..\data\images\defaulttheme.atlas>
[DEBUG             ] [Atlas       ] Need to load 1 images
[DEBUG             ] [Atlas       ] Load <E:\Python27\lib\site-packages\kivy\data\..\data\images\defaulttheme-0.png>
[DEBUG             ] [ImageSDL2   ] Load <E:\Python27\lib\site-packages\kivy\data\..\data\images\defaulttheme-0.png>
 Exception Exception: Exception('tostring() has been removed. Please call tobytes() instead.',) in 'kivy.graphics.instructions.RenderContext.set_texture' ignored

Dan teks tombol tidak ditampilkan dengan benar:
screenshot_20

Saya bergabung dengan IRC #kivy, julukan "pythonic64", jika Anda memiliki pertanyaan.

Saya memiliki masalah yang sama berjalan di Windows, saya menyelesaikannya dengan menginstal versi lama dari paket SDL2 mencobanya dari sini https://kivy.org/downloads/appveyor/deps/sdl2/

@SamZapata , SDL2 bukan masalah lagi bagi saya, Gstreamer. Menginstal gstreamer terbaru (kivy.deps.gstreamer-0.1.5) menyebabkan kesalahan penyedia teks di atas pada Python27 dan Python34 32bit .
Juga, instalasi Gstreamer tidak menghasilkan file "registry.bin" di folder: Python27\share\gstreamer.

@matham menemukan bahwa kesalahan ini terjadi karena konflik antara file SDL2 dan Gstreamer dll. Menghapus "libfreetype-6.dll" dari gstreamer\bin memecahkan masalah teks, tetapi video di ..kivy-examples\widgetsvideoplayer.py tidak dapat diputar (http://Pastebin.com/LwR1cGA7).

Pada Python34 64bit, semuanya berfungsi seperti yang diharapkan.

Saya telah mengunggah gstreamer baru ke https://drive.google.com/drive/folders/0B1_HB9J8mZepNzZ5aW91Q0tJU2s. Namun, saya belum menguji ini karena saat ini saya tidak memiliki sistem yang bersih untuk dicoba. Tapi versi itu mungkin bermain lebih bagus dengan sdl2 saat ini.

Menginstal roda Gstreamer baru kivy.deps.gstreamer-0.1.6-cp27-none-win32.
Kesalahan yang sama seperti sebelumnya:

e:\Python27\share\kivy-examples\widgets>python label_mipmap.py
[INFO              ] [Kivy        ] v1.9.1
[INFO              ] [Python      ] v2.7.9 (default, Dec 10 2014, 12:24:55) [MSC v.1500 32 bit (Intel)]
[INFO              ] [Factory     ] 179 symbols loaded
[INFO              ] [Image       ] Providers: img_tex, img_dds, img_gif, img_sdl2 (img_pil, img_ffpyplayer ignored)
[CRITICAL          ] [Text        ] Unable to find any valuable Text provider at all!
sdl2 - ImportError: DLL load failed: The specified procedure could not be found.
  File "E:\Python27\lib\site-packages\kivy\core\__init__.py", line 59, in core_select_lib
    fromlist=[modulename], level=0)
  File "E:\Python27\lib\site-packages\kivy\core\text\text_sdl2.py", line 12, in <module>
    from kivy.core.text._text_sdl2 import (_SurfaceContainer, _get_extents,

pil - ImportError: No module named PIL
  File "E:\Python27\lib\site-packages\kivy\core\__init__.py", line 59, in core_select_lib
    fromlist=[modulename], level=0)
  File "E:\Python27\lib\site-packages\kivy\core\text\text_pil.py", line 8, in <module>
    from PIL import Image, ImageFont, ImageDraw

[CRITICAL          ] [App         ] Unable to get a Text provider, abort.

Hmm baiklah. Saya berharap memperbarui dari versi 2013 akan memperbaikinya. Saya tidak yakin bagaimana menyelesaikan ini secara permanen. Kami tidak bisa begitu saja menghapus dll "buruk" dari gstreamer dan mengandalkan versi sdl2 karena bagaimana jika sdl2 tidak diinstal? Maka gstreamer tidak akan berfungsi lagi karena dll itu akan hilang.

Bagaimana dengan merilis versi gstreamer untuk digunakan dengan instalasi sdl2 di Python 32bit?
Kemudian pengguna dapat memilih versi mana yang akan diinstal.

Anda tidak dapat mengunggah beberapa versi gstreamer dan meminta pip menemukannya. Saya pikir Anda hanya dapat melakukan satu versi. Jadi versi itu harus bekerja dengan dan tanpa sdl2. Saya harus menyelidiki sedikit lebih dalam untuk masalah yang sebenarnya karena ketika saya menguji saya pikir gst bekerja dengan sdl2 dll. Tapi Anda mengatakan itu tidak berhasil untuk Anda. Jadi saya harus menguji pada sistem yang bersih untuk memastikan.

Saya telah melacak ini dan saya yakin ini karena masalah dengan sdl2_ttf dll. Saya membuka masalah untuk itu dengan sdl2: https://bugzilla.libsdl.org/show_bug.cgi?id=3241.

Saya akhirnya membangun sdl2_ttf sendiri di msys2, yang menurut saya harus memperbaiki masalah sampai sdl2 sendiri merilis pembaruan. Cobalah dengan pip install --upgrade kivy.deps.sdl2 .

[INFO ] [Text ] Provider: pil(['text_sdl2'] ignored)

Saya tidak menginstal gstreamer sama sekali, tetapi masih jatuh kembali ke pil, sama dengan kivy.deps.sdl2==0.1.8 kivy.deps.sdl2_dev==0.1.8 .

Dengan kivy.deps.sdl2==0.1.11 dan kivy.deps.gstreamer==0.1.6 sdl2 dipilih sebagai penyedia teks, tetapi gstreamer tidak sebagai penyedia video. Sama dengan kivy.deps.gstreamer==0.1.5 .

[INFO ] [Video ] Provider: null(['video_pygst', 'video_ffmpeg', 'video_ffpyplayer', 'video_pyglet'] ignored)

Bagi saya, teks gstreamer dan sdl2 berfungsi dengan baik. Dessant bisa coba dengan paket terbaru?

Saya menginstal ulang Python dan Kivy dengan kivy.deps.sdl2==0.1.12 , kivy.deps.gstreamer==0.1.6 .
Berhasil!

e:\Python27>python share\kivy-examples\widgets\videoplayer.py
[INFO              ] [Logger      ] Record log in C:\Users\Skerleton\.kivy\logs\kivy_16-01-18_60.txt
[INFO              ] [Kivy        ] v1.9.1
[INFO              ] [Python      ] v2.7.9 (default, Dec 10 2014, 12:24:55) [MSC v.1500 32 bit (Intel)]
[INFO              ] [Factory     ] 179 symbols loaded
[INFO              ] [Image       ] Providers: img_tex, img_dds, img_gif, img_sdl2 (img_pil, img_ffpyplayer ignored)
[INFO              ] [Text        ] Provider: sdl2
[INFO              ] [VideoGstplayer] Using Gstreamer 1.7.1.0
[INFO              ] [Video       ] Provider: gstplayer
[INFO              ] [OSC         ] using <thread> for socket
[INFO              ] [Window      ] Provider: sdl2
[INFO              ] [GL          ] GLEW initialization succeeded
[INFO              ] [GL          ] OpenGL version <4.5.0 NVIDIA 347.88>
[INFO              ] [GL          ] OpenGL vendor <NVIDIA Corporation>
[INFO              ] [GL          ] OpenGL renderer <GeForce GTX 560 SE/PCIe/SSE2>
[INFO              ] [GL          ] OpenGL parsed version: 4, 5
[INFO              ] [GL          ] Shading version <4.50 NVIDIA>
[INFO              ] [GL          ] Texture max size <16384>
[INFO              ] [GL          ] Texture max units <32>
[INFO              ] [Window      ] auto add sdl2 input provider
[INFO              ] [Window      ] virtual keyboard not allowed, single mode, not docked
[INFO              ] [GL          ] NPOT texture support is available
[INFO              ] [Base        ] Start application main loop

C:\Python34>python sharekivy-examples\demo\showcase\main.py
[INFO ] [Logger ] Rekam log di C:\Users\Anubhav.kivylogskivy_18-03-09_54.txt
[INFO ] [Kivy ] v1.10.0
[INFO ] [Python ] v3.4.4 (v3.4.4:737efcadf5a6, 20 Des 2015, 20:20:57) [MSC v.1600 64 bit (AMD64)]
[INFO ] [Pabrik] 194 simbol dimuat
[INFO ] [Gambar ] Penyedia: img_tex, img_dds, img_pil, img_gif (img_sdl2, img_ffpyplayer diabaikan)
[KRITIS] [Window ] Tidak dapat menemukan penyedia Window yang berharga.
sdl2 - ImportError: Beban DLL gagal: Modul yang ditentukan tidak dapat ditemukan.
File "C:\Python34lib\site-packageskivy\core__init__.py", baris 59, di core_select_lib
dari daftar=[nama modul], level=0)
File "C:\Python34lib\site-packageskivy\core\window\window_sdl2.py", baris 26, di
dari kivy.core.window._window_sdl2 impor _WindowSDL2Storage

[KRITIS] [Aplikasi] Tidak bisa mendapatkan Jendela, batalkan.

saya memiliki kesalahan ini, tolong bantu saya

Apakah Anda menginstal semua dependensi Kivy dari halaman instalasi ?

Saya mencoba menginstal versi kivy terbaru di Windows 10, termasuk sdl2 (0.1.18) dan gstreamer (0.1.13), tetapi saya terus mendapatkan kesalahan ini:

"C:\PycharmProjects\HelloWorld\venv\Scripts\python.exe" "C:/PycharmProjects/HelloWorld/main.py"
[INFO   ] [Logger      ] Record log in C:\.kivy\logs\kivy_18-11-20_44.txt
[INFO   ] [Kivy        ] v1.10.1
[INFO   ] [Python      ] v3.7.1 (v3.7.1:260ec2c36a, Oct 20 2018, 14:57:15) [MSC v.1915 64 bit (AMD64)]
[INFO   ] [Factory     ] 194 symbols loaded
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_gif (img_sdl2, img_pil, img_ffpyplayer ignored)
[CRITICAL] [Text        ] Unable to find any valuable Text provider.
sdl2 - ImportError: DLL load failed: Das angegebene Modul wurde nicht gefunden.
  File "C:\PycharmProjects\HelloWorld\venv\lib\site-packages\kivy\core\__init__.py", line 59, in core_select_lib
    fromlist=[modulename], level=0)
  File "C:\PycharmProjects\HelloWorld\venv\lib\site-packages\kivy\core\text\text_sdl2.py", line 12, in <module>
    from kivy.core.text._text_sdl2 import (_SurfaceContainer, _get_extents,

pil - ModuleNotFoundError: No module named 'PIL'
  File "C:\PycharmProjects\HelloWorld\venv\lib\site-packages\kivy\core\__init__.py", line 59, in core_select_lib
    fromlist=[modulename], level=0)
  File "C:\PycharmProjects\HelloWorld\venv\lib\site-packages\kivy\core\text\text_pil.py", line 7, in <module>
    from PIL import Image, ImageFont, ImageDraw

[CRITICAL] [App         ] Unable to get a Text provider, abort.

Process finished with exit code 1

Saya menginstal semua dependensi (berhasil menurut konsol).

C:\WINDOWS\system32>python -m pip install kivy.deps.sdl2
Collecting kivy.deps.sdl2
  Using cached https://files.pythonhosted.org/packages/93/84/a0dc274d993db6f9ebdf41eb4d55b032de005dbf47e4d54602cf83708b08/kivy.deps.sdl2-0.1.18-cp37-cp37m-win_amd64.whl
Installing collected packages: kivy.deps.sdl2
Successfully installed kivy.deps.sdl2-0.1.18

Tolong bantu saya

Instal dependensi (lewati gstreamer (~120MB) jika tidak diperlukan, lihat dependensi Kivy):

python -m pip instal docutils pygments pypiwin32 kivy.deps.sdl2
kivy.deps.glow; python -m pip install kivy.deps.gstreamer

Saya mendapatkan kesalahan ini dengan PyCharm 2018.3.6 dan Python Versi 3.7.2 Windows10.
Saya telah menginstal semua dependensi juga tetapi masih mendapatkan kesalahan.

sdl2 - ImportError: Beban DLL gagal: Modul yang ditentukan tidak dapat ditemukan.
File "C:\Users\Austin\AppData\Local\Programs\Python\Python37-32lib\site-packageskivy\core__init__.py", baris 59, di core_select_lib
dari daftar=[nama modul], level=0)
File "C:\Users\Austin\AppData\Local\Programs\Python\Python37-32lib\site-packageskivy\core\text\text_sdl2.py", baris 12, di
dari kivy.core.text._text_sdl2 impor (_SurfaceContainer, _get_extents,

pil - ModuleNotFoundError: Tidak ada modul bernama 'PIL'
File "C:\Users\Austin\AppData\Local\Programs\Python\Python37-32lib\site-packageskivy\core__init__.py", baris 59, di core_select_lib
dari daftar=[nama modul], level=0)
File "C:\Users\Austin\AppData\Local\Programs\Python\Python37-32lib\site-packageskivy\core\text\text_pil.py", baris 7, di
dari PIL mengimpor Gambar, ImageFont, ImageDraw

[KRITIS] [Aplikasi] Tidak bisa mendapatkan penyedia Teks, batalkan.

Saya juga mengalami masalah yang sama dengan @VipinDubeyCB dengan pengaturan yang sangat mirip.
OS: Windows10
IDE: PyCharm 2018.3.6,
Python Versi 3.7.2

pesan kesalahan:
[KRITIS] [Teks ] Tidak dapat menemukan penyedia Teks yang berharga. Harap aktifkan debug logging (mis. tambahkan -d jika dijalankan dari baris perintah, atau ubah level log di konfigurasi) dan jalankan kembali aplikasi Anda untuk mengidentifikasi penyebab potensial
sdl2 - ImportError: Beban DLL gagal: Modul yang ditentukan tidak dapat ditemukan.
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64lib\site-packageskivy\core__init__.py", baris 63, di core_select_lib
dari daftar=[nama modul], level=0)
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64lib\site-packageskivy\core\text\text_sdl2.py", baris 13, di
dari kivy.core.text._text_sdl2 impor (_SurfaceContainer, _get_extents,

pil - ModuleNotFoundError: Tidak ada modul bernama 'PIL'
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64lib\site-packageskivy\core__init__.py", baris 63, di core_select_lib
dari daftar=[nama modul], level=0)
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64lib\site-packageskivy\core\text\text_pil.py", baris 7, di
dari PIL mengimpor Gambar, ImageFont, ImageDraw

[KRITIS] [Aplikasi] Tidak bisa mendapatkan penyedia Teks, batalkan.

Untuk kasus penggunaan pycharm, Anda harus menginstal kivy di terminal pycharm jika Anda menggunakan virtualenv, yang tampaknya merupakan pengaturan default dalam proyek pycharm.

atau Anda harus mengaktifkan lingkungan virtual yang bersumber dari proyek Anda di terminal windows Anda dan kemudian menginstal kivy

Saya juga mengalami masalah yang sama dengan @VipinDubeyCB dengan pengaturan yang sangat mirip.
OS: Windows10
IDE: PyCharm 2018.3.6,
Python Versi 3.7.2

[INFO ] [Logger ] Rekam log di C:\Users\Мохирбек.kivylogskivy_20-09-23_44.txt
[INFO ] [deps ] Berhasil mengimpor "kivy_deps.sdl2" 0.2.0
[INFO ] [Kivy ] v1.11.1
[INFO ] [Kivy ] Diinstal di "C:\Users\Мохирбек\PycharmProjectspythonProject1venvlib\site-packagesskivy__init__.py"
[INFO ] [Python ] v3.7.2 (tags/v3.7.2:9a3ffc0492, 23 Des 2018, 22:20:52) [MSC v.1916 32 bit (Intel)]
[INFO ] [Python ] Interpreter di "C:\Users\Мохирбек\PycharmProjectspythonProject1venv\Scriptspython.exe"
[INFO ] [Pabrik] 184 simbol dimuat
[INFO ] [Gambar ] Penyedia: img_tex, img_dds, img_sdl2, img_gif (img_pil, img_ffpyplayer diabaikan)
[INFO ] [Teks ] Penyedia: sdl2
[INFO ] [Jendela ] Penyedia: sdl2
[KRITIS] [Window ] Tidak dapat menemukan penyedia Window yang berharga. Harap aktifkan debug logging (mis. tambahkan -d jika dijalankan dari baris perintah, atau ubah level log di konfigurasi) dan jalankan kembali aplikasi Anda untuk mengidentifikasi penyebab potensial
sdl2 - ImportError: Pemuatan DLL gagal: е айден азанный одуль.
File "C:\Users\Мохирбек\PycharmProjectspythonProject1venvlib\site-packageskivy\core__init__.py", baris 71, di core_select_lib
cls = cls()
File "C:\Users\Мохирбек\PycharmProjectspythonProject1venvlib\site-packageskivy\core\window\window_sdl2.py", baris 152, di __init__
super(WindowSDL, mandiri).__init__()
File "C:\Users\Мохирбек\PycharmProjectspythonProject1venvlib\site-packageskivy\core\window__init__.py", baris 981, di __init__
self.create_window()
File "C:\Users\Мохирбек\PycharmProjectspythonProject1venvlib\site-packageskivy\core\window\window_sdl2.py", baris 290, di create_window
self.get_gl_backend_name())
File "C:\Users\Мохирбек\PycharmProjectspythonProject1venvlib\site-packageskivy\core\window__init__.py", baris 1220, di get_gl_backend_name
diabaikan=self.gl_backends_ignored)
File "kivy\graphics\cgl.pyx", baris 56, di kivy.graphics.cgl.cgl_get_backend_name
File "kivy\graphics\cgl.pyx", baris 69, di kivy.graphics.cgl.cgl_get_backend_name
File "C:\Users\Мохирбек\AppData\Local\Programs\Python\Python37-32lib\importlib__init__.py", baris 127, di import_module
kembalikan _bootstrap._gcd_import(nama[level:], paket, level)
berkas "", baris 1006, di _gcd_import
berkas "", baris 983, di _find_and_load
berkas "", baris 967, di _find_and_load_unlocked
berkas "", baris 670, di _load_unlocked
berkas "", baris 583, di module_from_spec
berkas "", baris 1043, di create_module
berkas "", baris 219, di _call_with_frames_removed

[KRITIS] [Aplikasi] Tidak bisa mendapatkan Jendela, batalkan.

Proses selesai dengan kode keluar 1

Apakah halaman ini membantu?
0 / 5 - 0 peringkat