ModuleNotFoundError: No module named 'pvlib'

57 views
Skip to first unread message

Lorenzo Petrini

unread,
Apr 24, 2024, 9:19:12 AMApr 24
to pvlib-python
Hello all,

I've followed the instruction of 
to install pvlib with the anaconda prompt

When I try to use the pvlib with Spyder, I get this error when tryingto import:

runfile('C:/Users/A474229/.spyder-py3/temp.py', wdir='C:/Users/A474229/.spyder-py3')
Traceback (most recent call last):

  File ~\AppData\Local\Programs\Spyder\pkgs\spyder_kernels\py3compat.py:356 in compat_exec
    exec(code, globals, locals)

  File c:\users\a474229\.spyder-py3\temp.py:1
    import pvlib

ModuleNotFoundError: No module named 'pvlib'


Kind Regards
Lorenzo

cwh...@sandia.gov

unread,
Apr 24, 2024, 9:21:05 AMApr 24
to pvlib-python
LIkely that you don't have pvlib installed in that environment.

pip install pvlib

should fix it.

Cliff

Lorenzo Petrini

unread,
May 7, 2024, 6:25:55 AMMay 7
to pvlib-python
fixed! thank you!
Reply all
Reply to author
Forward
0 new messages