NREL / OpenOA

This library provides a framework for assessing wind plant performance using operational assessment (OA) methodologies that consume time series data from wind plants. The goal of the project is to provide an open source implementation of common data structures, analysis methods, and utility functions relevant to wind plant OA.
https://openoa.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
193 stars 63 forks source link

OpenOA not installed by pip install openOA #287

Closed jtremesay closed 7 months ago

jtremesay commented 7 months ago

Hi!

Is there a reason why pip install OpenOA installs all the stuff (deps, docs, examples, …) but not the package himself?

RHammond2 commented 7 months ago

Hi @jtremesay, typically this should be the other way around in a pip install, could you provide more details around your installation steps and the exact issue you're having? A traceback error relating to the issue would also be really helpful to understand what exactly is happening.

RHammond2 commented 7 months ago

I think I may have come across your issue when working with a fresh environment and workflow. Please see if version 3.1.1 resolves this issue for you and let me know.

jtremesay commented 7 months ago

My initial issue :

$ python3 -m venv venv
$ source venv/bin/activate
$ pip install OpenOA==3.1.0
$ python -c "import openoa; print(openoa.__version__)"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'openoa'

I was not sure if that was a real issue or a voluntary choice on your part :)

Work as expected with 3.1.1

RHammond2 commented 7 months ago

Thanks for confirming that 3.1.1 is working as expected, @jtremesay! This was definitely a misconfiguration on our end when switching over to using a pyproject.toml in place of setup.py.