Terminal Error

Hey there! I've ben having this error for a long time, I even tried to manually delete the directories but that did not help either. I tried this command -


rm -rf /Users/chinmayhs/.local/share/virtualenvs/storefront-P5RJ-0_2


But that didn't help either. I tried doing cd but it says that the directory doesn't exist. I don't think its a mac os bug because I've been having this issue since mac os 13 and now the current version is 14.4.


iMac 24″, macOS 14.4

Posted on Mar 9, 2024 2:27 AM

Reply
Question marked as Top-ranking reply

Posted on Mar 9, 2024 2:56 AM

The homebrew package installation has bit you in the arse.


brew help shellenv


Look in your Zsh (~/.zshrc) or Bash (~/.bashrc or ~/.bash_profile) files and comment the following:


# eval "$(brew shellenv)"


Then, do one of the following depending on the current Shell's dot file:


source ~/.zshrc
source ~/.bashrc
source ~/.bash_profile


Although I use homebrew (sparingly) myself, I keep it out of these files unless configuring its history, or PS1 prompt. The next to last segment of my PATH export is the location of any brew-installed content such as /usr/local/bin on Intel, or /opt/homebrew/bin on Apple Silicon.

Similar questions

1 reply
Question marked as Top-ranking reply

Mar 9, 2024 2:56 AM in response to Chinmay_HS14

The homebrew package installation has bit you in the arse.


brew help shellenv


Look in your Zsh (~/.zshrc) or Bash (~/.bashrc or ~/.bash_profile) files and comment the following:


# eval "$(brew shellenv)"


Then, do one of the following depending on the current Shell's dot file:


source ~/.zshrc
source ~/.bashrc
source ~/.bash_profile


Although I use homebrew (sparingly) myself, I keep it out of these files unless configuring its history, or PS1 prompt. The next to last segment of my PATH export is the location of any brew-installed content such as /usr/local/bin on Intel, or /opt/homebrew/bin on Apple Silicon.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Terminal Error

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.