Question: Conda on MacOS
0
gravatar for sevillaro1970
10 months ago by
sevillaro19700 wrote:

i have to problem to install Conda On MacOS

wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
bash Miniconda3-latest-MacOSX-x86_64.sh

the program doesn't finish the action

curl https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O ~/miniconda.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 36.2M  100 36.2M    0     0   647k      0  0:00:57  0:00:57 --:--:-- 4130k
curl: (3) <url> malformed

How i can to install this program?

next-gen • 361 views
ADD COMMENTlink modified 10 months ago • written 10 months ago by sevillaro19700

What happens if you try:

curl -L https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -o ~/miniconda.sh
ADD REPLYlink written 10 months ago by h.mon27k

why are you using curl instead of the wget command you posted?

ADD REPLYlink written 10 months ago by steve2.2k

thanks every body. I just download the file Miniconda3-latest-MacOSX-x86_64.sh or miniconda.sh but when I script in my terminal Miniconda3-latest-MacOSX-x86_64.sh. it doesn't work. Miniconda3-latest-MacOSX-x86_64.sh -bash: Miniconda3-latest-MacOSX-x86_64.sh: command not found

the file is in the file enriquesevillaromero. some help

ADD REPLYlink written 10 months ago by sevillaro19700

Try bash ./Miniconda3-latest-MacOSX-x86_64.sh in the directory where you downloaded the script.

Please use ADD COMMENT/ADD REPLY when responding to comments to keep threads logically organized.

ADD REPLYlink written 10 months ago by genomax70k
0
gravatar for h.mon
10 months ago by
h.mon27k
Brazil
h.mon27k wrote:

The curl: (3) <url> malformed message happens because you are using the option -O incorrectly, it doesn't take any value:

-O, --remote-name
              Write  output  to  a  local file named like the remote file we get. (Only the file part of the remote file is
              used, the path is cut off.)

              The file will be saved in the current working directory. If you want the file saved in a different directory,
              make sure you change the current working directory before invoking curl with this option.

I guess curl is interpreting the Miniconda3-latest-MacOSX-x86_64.sh after -O as another url. Even with the message, it saves the file correctly (at least, it did un my linux laptop). The correct command is:

curl https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O
ADD COMMENTlink written 10 months ago by h.mon27k

I think the OP might have been mistaken with wget -O. His original post,

wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
bash Miniconda3-latest-MacOSX-x86_64.sh

should have been sufficient to install miniconda. I'm not sure where the curl's error came about.

ADD REPLYlink modified 10 months ago • written 10 months ago by Eric Lim1.4k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1808 users visited in the last hour