-
Notifications
You must be signed in to change notification settings - Fork 364
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
opam init using the wrong wget #5597
Comments
Can you share the content of your path ? If opam looks at |
Yes, |
I was responding to the first issue: the directory that is found as a command. |
On
|
When I tried installing
opam
via Homebrew the initial installation seemed to go fine but when I tried to init...I have both wget and curl installed. Why is opam trying to use
/usr/local/opt/wget
, which is just a directory, instead of/usr/local/bin/wget
which is in the PATH? Also if it is actually doing a check why doesn't it check if the path is an executable binary instead of just for existence?I renamed the
.opam
directory for a "clean start" and triedOPAMFETCH=curl opam init
on the command line. I also tried setting environment variables in my Bash config, restarting my terminal (KiTTY), checking my environment variables before testing, and I still get the same error.1st config
2nd Config
3rd Config
Each time I get the same error trying to execute
/usr/local/opt/wget
.The text was updated successfully, but these errors were encountered: