2022년 5월 6일 금요일

Orange3 경고 FutureWarning: pandas.Int64Index

 맥에서 오렌지3를 실행할때 가상환경으로 이동한후 

$ orange-canvas 

또는

$ orange-canvas &

하여 백그라운드로 실행하는데

(orange3) jglee@iMac Orange3 % orange-canvas

/Users/jglee/opt/miniconda3/envs/orange3/lib/python3.8/site-packages/statsmodels/tsa/base/tsa_model.py:7: FutureWarning: pandas.Int64Index is deprecated and will be removed from pandas in a future version. Use pandas.Index with the appropriate dtype instead.

  from pandas import (to_datetime, Int64Index, DatetimeIndex, Period,

/Users/jglee/opt/miniconda3/envs/orange3/lib/python3.8/site-packages/statsmodels/tsa/base/tsa_model.py:7: FutureWarning: pandas.Float64Index is deprecated and will be removed from pandas in a future version. Use pandas.Index with the appropriate dtype instead.

  from pandas import (to_datetime, Int64Index, DatetimeIndex, Period,

(orange3) jglee@iMac Orange3 % code   /Users/jglee/opt/miniconda3/envs/orange3/lib/python3.8/site-packages/statsmodels/tsa/base/tsa_model.py

과 같은 경고 메시지가 나옵니다.

nano, vim, VSCode 등 에디터로 tsa_model.py 를 불러들여 Int64Index 와 Float64Index를 Index로 바꾸어 주면 됩니다.

바꾸어주고 실행하면 깔끔합니다.

화면이 지저분해서지 실행하는데는 전혀 지장이 없습니다.


댓글 없음:

comfyui 에서 cuda 에러나는 경우 조치방법

해당 comfyui 가상 환경에 설치하여야 함 cd C:\Users\jglee\AppData\Roaming\StabilityMatrix\Packages\ComfyUI PS C:\Users\jglee\AppData\Roaming\StabilityMatr...