pyenv / pyenv-installer

This tool is used to install `pyenv` and friends.
MIT License
3.96k stars 428 forks source link

Error: Running Homebrew as root is extremely dangerous and no longer supported. As Homebrew does not drop privileges on installation you would be giving all build scripts full access to your system. #156

Closed ccanongo closed 4 months ago

ccanongo commented 4 months ago

I am on mac os and am trying to run the following line on my terminal

sudo brew install --yes libssl-dev

However i then receive this error:

Running Homebrew as root is extremely dangerous and no longer supported. As Homebrew does not drop privileges on installation you would be giving all build scripts full access to your system.

How do I fix this, and am I doing this correctly?

joshfriend commented 4 months ago

the command you're trying to run has nothing to do with pyenv or pyenv-installer

ccanongo commented 4 months ago

so then how can i correctly install the library I am trying to install?