He atormentado mi cerebro tratando de resolver esto; Estoy bastante seguro de que es algo que tiene que ver con caminos pero no tengo idea; Puede alguien ayudarme. Sigue recibiendo este error ..
[INFO ] [Logger ] Record log in C:\Users\Aji\.kivy\logs\kivy_19-02-02_42.txt
[INFO ] [Kivy ] v1.10.1
[INFO ] [Python ] v3.7.0 (default, Jun 28 2018, 08:04:48) [MSC v.1912 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: The specified module could not be found.
File "C:\Users\Aji\PycharmProjects\testfolder\venv\lib\site-packages\kivy\core\__init__.py", line 59, in core_select_lib
fromlist=[modulename], level=0)
File "C:\Users\Aji\PycharmProjects\testfolder\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:\Users\Aji\PycharmProjects\testfolder\venv\lib\site-packages\kivy\core\__init__.py", line 59, in core_select_lib
fromlist=[modulename], level=0)
File "C:\Users\Aji\PycharmProjects\testfolder\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.
ejecutando este script solo para probar Kivy:
import kivy
kivy.require('1.10.1')
from kivy.app import App
from kivy.uix.label import Label
class MyApp(App):
def build(self):
return Label(text='test')
if __name__ == '__main__':
myApp().run()
python
pycharm
python-gui
Cl0ud-l3ss
fuente
fuente