pycharmforkpvlib

PVlib install as an editable library to be used in PyCharm


I am using PyCharm as IDE and would like to use an editable version of PVlib.

I have followed the instructions in link below and installed PVlib via conda in a virtual environment named pvlib_dev. The pvlib_dev virtual environment requires activation via conda before use and I haven't been able to link this part for PyCharm. Any feedback, suggestions would be appreciated.

https://pvlib-python.readthedocs.io/en/stable/installation.html

Thank you. Baran


Solution

  • You need to select the conda virtual environment from the PyCharm project settings following these instructions: Configure a Python interpreter. Scroll down to the section on Setting an existing Python interpreter and enter the path to the python executable in your pvlib-dev conda env. enter image description here