-
Notifications
You must be signed in to change notification settings - Fork 23
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:Unable to locate KNITRO installation, please check your environment variable KNITRODIR. #184
Comments
I guess you need something like: ENV["KNITRODIR"] = "~/knitro-12.3.0-MacOS-64"
] build KNITRO
using KNITRO The documentation should be improved. |
Yes, thank you so much!! |
I still receive the same error message after setting the environment variable. More specifically, after I tried a workaround where I directly create a deps.jl file inside KNITRO.jl package folder, and put in the following lines:
and received the following error when trying to build KNITRO:
which seems to indicate that I should install a Knitro version for Intel processor, even though I have an M1 Mac. |
Hi @chengg04, what is Note that most solvers (and JuMP) have troubles with M1 at the moment: jump-dev/JuMP.jl#2971. I would stick to the Intel builds and Rosetta. p.s. please make a new post rather than commenting on an old closed issue. |
Thank you very much @odow. You are right, my Julia build is for Intel (via Rosetta), not for M1. I re-downloaded Knitro for OSX Intel and was able to run it with Julia. I'll remember to make a new post next time. |
Hello,
I've downloaded KNITRO from Artelys, and I have unpacked the zip file and have a folder named "knitro-12.3.0-MacOS-64" under my home file.
However, while I was running the
using KNITRO
in jupyter notebook, I got the following error:The I tried running
] build KNITRO
, but got the following error:It would great if someone could please help me, thank you so much!
The text was updated successfully, but these errors were encountered: