OpenOA not installed by pip install openOA
Closed this issue · 4 comments
Hi!
Is there a reason why pip install OpenOA
installs all the stuff (deps, docs, examples, …) but not the package himself?
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.
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.
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
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
.