本地电脑新建Solcore环境使用笔记本运行示例

使用Win+R打开输入cmd /powershell,进入powershell,输入conda create -n solcore_env python=3.9创建一个使用python3.9的新环境,命名为“solcore_env”。运行结束后激活环境,activate solcore_env,安装所需软件包pip install solcore rayflare,pip install seaborn,然后在新环境安装jupyter,pip install jupyter,不退出环境启动jupyter notebook,cell中输入

from solcore import material
from solcore.solar_cell import SolarCell, Layer

,即可正常使用。

posted @ 2026-09-30 18:02  欢腾嘻嘻  阅读(13)  评论(0)    收藏  举报