conda-forge / sage-feedstock

A conda-smithy repository for sage.
BSD 3-Clause "New" or "Revised" License
7 stars 11 forks source link

conda: command not found #101

Open GJTheurer opened 1 month ago

GJTheurer commented 1 month ago

I've run into a problem during the installation of SageMath. After running the WSL install command as administrator I was successful installing Ubutu and setting up a username and password on UNIX.

Following the instructions in the Sage Installation Guide under Windows and No Development I have successfully executed through the command: $ bash Miniforge3-$(uname(-$uname -m).sh When I execute the command: $ conda create -n sage sage python=3.11 I get the error message: conda: command not found

Can you please help me resolve this? I am installing on a desktop PC with Windows 11.  After this I will install on a laptop with Windows 10.

Thank you for your help. Jack

1105-BufkinPlank-Hawkeye commented 1 month ago

I had this same issue, I had to install bzip2

sudo apt install bzip2

then try to reinstall conda

GJTheurer commented 1 month ago

Thank you. Did that and still get: conda: command not found Then I tried: sudo apt install conda and got unable to locate package conda Maybe I need to install conda somehow, but I don't know how. Oh, I see. conda is a command, not a file. Thank you for your help.

hearot commented 1 month ago

When you install conda, make sure to type yes to all the questions you'll be asked. I was getting the same problem and then I tried answering yes to the last question.

GJTheurer commented 1 month ago

Thank you.  That works.  That was the problem.  Best regards,Jack In a message dated 9/14/2024 10:29:00 AM Eastern Daylight Time, @.*** writes: 

 

When you install conda, make sure to type yes to all the questions you'll be asked. I was getting the same problem and then I tried answering yes to the last question.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

david83rm commented 1 month ago

hi I typed yes to all the questions I've been asked and still doesn't work. When I type $ conda create -n sage sage python=3.11 i get the error message: conda: command not found

I don't know what to do...

GJTheurer commented 1 month ago

That was my problem which I solved. I believe that it's after the command:$ bash Miniforge3-$(uname)-$(uname -m).sh(I believe that was the place)after printing a stream of output it stops at a place waiting for input.The tendency is to just hit Enter, but that will lead to the error.  Instead, you need to type yes at that spot.When the next input prompt appears, do not continue.Instead exit the shell and open Ubuntu again.At that point you should be able to successfully enter:$ conda create -n sage sage python=3.11 The instructions provided are both unclear and incomplete. That's how I fixed it at my end.Good luck. In a message dated 9/24/2024 10:11:24 AM Eastern Daylight Time, @.*** writes: 

 

hi I typed yes to all the questions I've been asked and still doesn't work. When I type $ conda create -n sage sage python=3.11 i get the error message: conda: command not found

I don't know what to do...

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

david83rm commented 1 month ago

That was my problem which I solved. I believe that it's after the command:$ bash Miniforge3-$(uname)-$(uname -m).sh(I believe that was the place)after printing a stream of output it stops at a place waiting for input.The tendency is to just hit Enter, but that will lead to the error.  Instead, you need to type yes at that spot.When the next input prompt appears, do not continue.Instead exit the shell and open Ubuntu again.At that point you should be able to successfully enter:$ conda create -n sage sage python=3.11 The instructions provided are both unclear and incomplete. That's how I fixed it at my end.Good luck. In a message dated 9/24/2024 10:11:24 AM Eastern Daylight Time, @. writes:    hi I typed yes to all the questions I've been asked and still doesn't work. When I type $ conda create -n sage sage python=3.11 i get the error message: conda: command not found I don't know what to do... — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.>

It worked!! Thank you. You are right about the instructions.

GiorgosP33 commented 1 week ago

I tried everything every each one of you said, but I still get "conda: command not found" What can I do?

trevorkarn commented 1 week ago

What happens when you type ‘conda —version’?

On Fri, Oct 18, 2024 at 8:48 PM GiorgosP33 @.***> wrote:

I tried everything every each one of you said, but I still get "conda: command not found" What can I do?

— Reply to this email directly, view it on GitHub https://github.com/conda-forge/sage-feedstock/issues/101#issuecomment-2423458184, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMUZQKKEEZSJGJNUDTTXO4TZ4G27FAVCNFSM6AAAAABN3SCLP6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRTGQ2TQMJYGQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

GiorgosP33 commented 1 week ago

conda 24.7.1

GiorgosP33 commented 1 week ago

What can i do , if someone can help me?

GiorgosP33 commented 1 week ago

This 'What happens when you type ‘conda —version’?' save me thanks.