Skip to content
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

Miniconda command line install on mac #13914

Open
2 tasks done
zandvakiliramin opened this issue May 12, 2024 · 5 comments
Open
2 tasks done

Miniconda command line install on mac #13914

zandvakiliramin opened this issue May 12, 2024 · 5 comments
Labels
pending::feedback indicates we are waiting on feedback from the user source::community catch-all for issues filed by community members type::support neither a bug nor feature, is really just a user having questions or difficulty somewhere

Comments

@zandvakiliramin
Copy link

zandvakiliramin commented May 12, 2024

Checklist

  • I added a descriptive title
  • I searched open reports and couldn't find a duplicate

What happened?

I followed what was on the website:

mkdir -p ~/miniconda3
curl https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh -o ~/miniconda3/miniconda.sh
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
rm -rf ~/miniconda3/miniconda.sh

PREFIX=/Users/ramin/miniconda3
Unknown option: n
Usage: head [-options] <url>...
    -m <method>   use method for the request (default is 'HEAD')
    -f            make request even if head believes method is illegal
    -b <base>     Use the specified URL as base
    -t <timeout>  Set timeout value
    -i <time>     Set the If-Modified-Since header on the request
    -c <conttype> use this content-type for POST, PUT, CHECKIN
    -a            Use text mode for content I/O
    -p <proxyurl> use this as a proxy
    -P            don't load proxy settings from environment
    -H <header>   send this HTTP header (you can specify several)

    -u            Display method and URL before any response
    -U            Display request headers (implies -u)
    -s            Display response status code
    -S            Display response status chain
    -e            Display response headers
    -d            Do not display content
    -o <format>   Process HTML content in various ways

    -v            Show program version
    -h            Print this message

    -x            Extra debugging output
WARNING: md5sum mismatch of tar archive
expected: aab2f6c05eb7dc95b0d2f1c28c8590d8
     got: f50cb11af9770da4ee16b17552ceb34d
Unpacking payload ...
Please run using "bash"/"dash"/"sh"/"zsh", but not "." or "source".
/Users/ramin/miniconda3/_conda: line 15: return: can only `return' from a function or sourced script

Conda Info

No response

Conda Config

No response

Conda list

No response

Additional Context

No response

@zandvakiliramin zandvakiliramin added the type::bug describes erroneous operation, use severity::* to classify the type label May 12, 2024
@travishathaway
Copy link
Contributor

@zandvakiliramin,

Can you please give us a link to which website you found this on?

@travishathaway travishathaway added type::support neither a bug nor feature, is really just a user having questions or difficulty somewhere source::community catch-all for issues filed by community members pending::feedback indicates we are waiting on feedback from the user and removed type::bug describes erroneous operation, use severity::* to classify the type labels May 13, 2024
@zandvakiliramin
Copy link
Author

@travishathaway
https://docs.anaconda.com/free/miniconda/
In the "Quick command line install" in the "macOS" tab

@conda-bot conda-bot added pending::support indicates user is waiting on support from triage engineers and removed pending::feedback indicates we are waiting on feedback from the user labels May 13, 2024
@travishathaway
Copy link
Contributor

@zandvakiliramin,

Which shell are you using? (e.g. zsh, bash, et.c)

@travishathaway travishathaway added pending::feedback indicates we are waiting on feedback from the user and removed pending::support indicates user is waiting on support from triage engineers labels May 14, 2024
@zandvakiliramin
Copy link
Author

@zandvakiliramin,

Which shell are you using? (e.g. zsh, bash, et.c)

I use Zsh with oh my zsh

@conda-bot conda-bot added pending::support indicates user is waiting on support from triage engineers and removed pending::feedback indicates we are waiting on feedback from the user labels May 14, 2024
@travishathaway
Copy link
Contributor

Thanks for the info.

I'm still struggling to figure out exactly what's going on. There are several confusing errors appearing I am still trying to make sense of.

For example, the presence of the "usage" page for the command "head" makes me think there is a syntax error somewhere in the script. Perhaps you could look inside the miniconda.sh to see if there's anything in there that looks weird?

What makes this even more difficult to debug is that I am not having the same issue while running with zsh on my mac.

@travishathaway travishathaway added pending::feedback indicates we are waiting on feedback from the user and removed pending::support indicates user is waiting on support from triage engineers labels May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending::feedback indicates we are waiting on feedback from the user source::community catch-all for issues filed by community members type::support neither a bug nor feature, is really just a user having questions or difficulty somewhere
Projects
Status: 🆕 New
Development

No branches or pull requests

3 participants