无法创建虚拟环境anaconda

时间:2018-05-31 19:29:42

标签: python pycharm anaconda kivy

所以我对编程有点新意,我正在尝试为我的IDE设置虚拟环境。我通过anaconada创建了环境,当我尝试安装它时,我的一些软件包给我带来了麻烦。

当我跑步时:

(environment_name) C:\Users\Me>conda install -c krisvanneste kivy

我收到此错误消息:     解决环境:失败

UnsatisfiableError: The following specifications were found to be in conflict:
  - cantera
  - kivy
Use "conda info <package>" to see the dependencies for each package.

如果我跑:conda info kivy没有任何反应。

另外,当我在Pycharm中运行一个简单的Kivy脚本时,我收到此错误:

[INFO   ] [Logger      ] Record log in C:\Users\combustion13\.kivy\logs\kivy_18-05-31_20.txt
[INFO   ] [Kivy        ] v1.10.0
[INFO   ] [Python      ] v3.6.5 |Anaconda custom (64-bit)| (default, Mar 29 2018, 13:32:41) [MSC v.1900 64 bit (AMD64)]
[INFO   ] [Factory     ] 194 symbols loaded
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_pil, img_gif (img_sdl2, img_ffpyplayer ignored)
[INFO   ] [Text        ] Provider: pil(['text_sdl2'] ignored)
[CRITICAL] [Window      ] Unable to find any valuable Window provider.
sdl2 - ImportError: DLL load failed: The specified module could not be found.
  File "C:\Users\combustion13\AppData\Local\conda\conda\envs\erad136env\lib\site-packages\kivy\core\__init__.py", line 59, in core_select_lib
    fromlist=[modulename], level=0)
  File "C:\Users\combustion13\AppData\Local\conda\conda\envs\erad136env\lib\site-packages\kivy\core\window\window_sdl2.py", line 26, in <module>
    from kivy.core.window._window_sdl2 import _WindowSDL2Storage

[CRITICAL] [App         ] Unable to get a Window, abort.
 Exception ignored in: 'kivy.properties.dpi2px'
 Traceback (most recent call last):
   File "C:\Users\combustion13\AppData\Local\conda\conda\envs\erad136env\lib\site-packages\kivy\utils.py", line 496, in __get__
     retval = self.func(inst)
   File "C:\Users\combustion13\AppData\Local\conda\conda\envs\erad136env\lib\site-packages\kivy\metrics.py", line 174, in dpi
     EventLoop.ensure_window()
   File "C:\Users\combustion13\AppData\Local\conda\conda\envs\erad136env\lib\site-packages\kivy\base.py", line 127, in ensure_window
     sys.exit(1)
 SystemExit: 1
[CRITICAL] [App         ] Unable to get a Window, abort.

0 个答案:

没有答案