-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when trying to install cocoex
from development
#2230
Comments
Following these steps should install
All of this assumes that you have a working development environment (C compiler etc.) installed. You could add these to the Anaconda environment if not installed already. |
Those should be enough. They work on Windows in CI builds. See f.e. this run of the build workflow and esp. the Python 3.9 Windows build. |
Many thanks, @olafmersmann, for your explications. It works now. I had, though, to exchange |
Can we mark this as resolved? |
Yes :-) |
@olafmersmann Could you also explain how to run the tests locally? |
Before you begin testing, always run Unit testsChange to the unit tests directory cd code-experiments/test/unit-test Rerun python ../../../scripts/fabricate Build tests using cmake -B build
cmake --build build Run tests using ctest --test-dir build Regression testsNote that I'm not sure the regression tests are really useful at the moment. But here goes: Change to the regression tests directory cd code-experiments/test/regression-test The regression tests require the pip uninstall -y cocoex
pip install ../../build/python/ Now run the regression tests python test_suites.py and python test_logger.py Integration testsStill need to fix those up.
|
Many thanks! I propose to keep this issue open until these instructions are available in one of the readmes. |
@olafmersmann, I have now problems to install the |
Before you begin, always run python scripts/fabricate to update any auto-generated files. Then, you can install the
If you are working on
|
Could you provide a link where I can find the essence of this information in the docs/help for COCO? |
Have a look at DEVELOPMENT.md in the |
Regarding the first step of the installation (Create or update a new conda environment with all the requirements). Is there an easy way of updating an existing conda environment that is not called |
I am still unsure how to install the
cocoex
module after the recent changes in thedevelopment
branch. I tried to follow the instructions in.github/workflows/build.yml
and the callpython -m pip install --upgrade -r scripts/requirements.txt
already gives an error on my machine (Windows 10 with Anaconda Python, version 3.9.7:@olafmersmann: are there some requirements missing?
The text was updated successfully, but these errors were encountered: