Conda on MacOS
1
0
Entering edit mode
6.1 years ago

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 • 1.9k views
ADD COMMENT
0
Entering edit mode

What happens if you try:

curl -L https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -o ~/miniconda.sh
ADD REPLY
0
Entering edit mode

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

ADD REPLY
0
Entering edit mode

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 REPLY
0
Entering edit mode

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 REPLY
0
Entering edit mode
6.1 years ago
h.mon 35k

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 COMMENT
0
Entering edit mode

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 REPLY

Login before adding your answer.

Traffic: 1722 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6