admin管理员组文章数量:1122791
I'm interested in combining Python in Excel with the pvlib
library. However, beginning a Python statement with "import pvlib" is not working.
I get a ModuleNotFoundError: No module named 'pvlib'
Does anyone know what steps need to be taken to get pvlib
to work in Python in Excel? I have been able to get other basic Python code working.
This page says that libraries can be imported, but I don't think pvlib
is a native Anaconda library so perhaps it isn't one of the libraries available to be imported?
Thank you
I'm interested in combining Python in Excel with the pvlib
library. However, beginning a Python statement with "import pvlib" is not working.
I get a ModuleNotFoundError: No module named 'pvlib'
Does anyone know what steps need to be taken to get pvlib
to work in Python in Excel? I have been able to get other basic Python code working.
This page says that libraries can be imported, but I don't think pvlib
is a native Anaconda library so perhaps it isn't one of the libraries available to be imported?
Thank you
Share Improve this question edited Nov 22, 2024 at 17:59 Luca 6334 silver badges14 bronze badges asked Nov 21, 2024 at 22:53 Jonathan S.Jonathan S. 32 bronze badges 5 |1 Answer
Reset to default 0From the Introduction to Python in Excel, at the Python runs in the cloud section, you can read (emphasis mine)
Python in Excel calculations run in the Microsoft Cloud with a standard version of the Python language. Python in Excel comes with a core set of Python libraries provided by Anaconda through a standard, secure distribution. [...]
You don't need a local version of Python to use Python in Excel. If you have a local version of Python installed on your computer, any customizations you've made to that Python installation won’t be reflected in Python in Excel calculations.
As pvlib
is not listed in the libraries at the link you posted, it looks like it is not available for Python in Excel use.
With regard to your hypothesis that
I don't think
pvlib
is a native Anaconda library so perhaps it isn't one of the libraries available to be imported
It is only partially correct. pvlib
is available for conda installation on a local Python installation, but is not available for use in Python Excel.
Hope this helps!
本文标签: Python in ExcelImporting pvlib libraryStack Overflow
版权声明:本文标题:Python in Excel - Importing pvlib library - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736306718a1933061.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
pvlib
is not mentioned but it could be worth a try – MT1 Commented Nov 22, 2024 at 15:22