-
Notifications
You must be signed in to change notification settings - Fork 40
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
Trouble Installing develop branch code in MacOS #205
Comments
Thanks for posting this. Do you have a mac with a new M1/2 processor or an older Intel processor? |
Hi gbarter! Its a 2019 MacBook Pro with a 2.4 GHz 8-Core Intel Core i9 |
From what I can tell, I don't think this is a WEIS problem. It looks like you might have had a system update or Xcode update and
I would repeat that last command until you get a message that says it is fully up to date. I would then start a fresh new environment for WEIS instead of using the old one. Apologies that this means some annoying reinstallation. |
I attempted to follow the suggested instructions. Everything worked out as expected. Then I removed the old weis-env2 environment from the list of conda envs, and created a new environment called weis-env-develop, using the installation instructions fromt the develop branch readme. When I get to the part where I cd into the repo and run setup.py, I get the following returned
It appears that a few packages are trying to look into the old weis-env2 conda environment directory that no longer exists, but I'm not sure I know how to fix that, any suggestions? |
Looks like you need to do |
Hi @gbarter, I ran the I did find an autogenerated file within the repo (/WISDEM/meson_build/build.ninja) that keeps referring to the weis-env2 directory within anaconda's environment directory (this was deleted per your instructions). It seems that something is cached either in the build files within WEIS, or in Anaconda, that keeps telling the ninja/meson to look for files in a deleted environment directory, even though I'm currently in a new environment. I attempted to remove all anaconda environments, ran the Once I had a fresh install of anaconda in place, created a fresh environment "weis-env-develop", and attempted to run
I attempted to install certifi manually, and was told that:
I also attempted installing ruamel.yaml manually, and got the following response:
Once that was complete, I attempted to run I'm out of ideas at this point, haha. |
I really appreciate your patience and tenacity here. With @ptrbortolotti 's help, I was finally able to recreate your error on the Github CI servers, so I will work to resolve it. Definitely not your fault here. |
@gbarter that's great news! I'll keep an eye out for the next commit 👍 |
Okay, go ahead and do a |
There were a few red-text errors during this new compile attempt, and while the compile did run through to the end, I'm getting runtime errors when trying to run example 7, I'll list what I have here: Errors during compile
Errors during run of example 07_te_flaps
|
I'm not sure why |
@gbarter its a really strange error, and I keep getting errors about not being able to download pytest and certifi, even though when I attempt to install them manually, I get a message that they are already installed. Anyway, I attempted to run example 07_te_flaps, and it seems to have run successfully with no errors about missing dependencies, so I guess these errors are more like warnings? Thanks for your help through all of this! I'll close this issue, and raise another if I run into any additional problems, since at this point any problems should be either runtime or on a different branch. |
Description
Attempting to install latest commit of develop branch, have successfully installed main branch as of last commit.
Current behavior
python setup.py develop returns the following error
Error message in meson_build.compile.log is
Code versions
The text was updated successfully, but these errors were encountered: