在chillada(python)中的影响计算

问题描述 投票:0回答:0
hazard

petal

entity
)的所有其他功能都在起作用,但不仅仅是
engine
。 我正在运行这个:
from climada.engine import Impact, ImpactCalc
获取此错误:
KeyError                                  Traceback (most recent call last)
File c:\Users\XXX\miniforge3\envs\climada_env\lib\site-packages\xyzservices\lib.py:44, in Bunch.__getattr__(self, key)
     43 try:
---> 44     return self.__getitem__(key)
     45 except KeyError as err:

KeyError: 'Stamen'

The above exception was the direct cause of the following exception:

对于信息,我正在使用python的Windows机器中使用VS代码3.9.19

我已经尝试手动导入,并且也没有成功地更新xyzservices。
    

似乎在您的Python环境中是一个问题。如安装指南中所述,请尝试在新鲜环境中重新安装climada。这应该解决这个问题。
	

python code-climate-cli
最新问题
© www.soinside.com 2019 - 2024. All rights reserved.