![]() ![]() Oh, and about that /etc/paths.d/100-rvictl file: it looks like you double-clicked it, which tried to run it as a script, which didn't really work (it's not a script). with sudo) rather than under your user ID, and therefore creating files owned by root rather than you. For folders, use sudo chown -R "$UID" ~/foldername to get their contents as well.īTW, the ownership problem is likely a result of some installer or setup script running as root (i.e. but there might be other files with the same problem, so I'd recommend running ls -l ~ to list all the files in your home folder, and apply that fix to any others that aren't owned by you. But if there are other things there you should edit it, and it'd be best to fix its ownership first.įixing file ownership: You can take ownership of the file with: sudo chown "$UID" ~/.zshrc If that's the only thing in the file, you can just delete the entire file. The entire "conda initialize" section (from # > conda initialize > to # <<< conda initialize <<<) should be removed. It looks like the leftover PATH entry is coming from your ~/.zshrc file. etc/paths.d/100-rvictl: line 1: /Library/Apple/usr/bin: is a directory But here's what I found in paths.d (not sure what the file "100-rvictl" is): Last login: Mon Sep 6 17:21:00 on ~ % /etc/paths.d/100-rvictl exit I wasn't able to locate ~/.zlogin, ~/.zshenv or ~/.profile. # !! Contents within this block are managed by 'conda init' !! zshrc (when I tried to edit it said I "don't own the file" and should duplicate it to edit): # > conda initialize > PATH="/Library/Frameworks/amework/Versions/3.9/bin:$" Here's what I found in my z.profile : # Setting PATH for Python 3.9 Python is running fine in terminal but I'm guessing PATH runs through the empty directories where Anaconda files were located first? I am guessing this is not optimal and can create problems in the future? In similar questions the problem is solved by removing the anaconda directory from the PATH environment variable but my ~/.bash_profile is empty. When I run the which python command it returns : /usr/local/bin/python. I have uninstalled anaconda and both my opt directory and. ![]() When I run echo $PATH in terminal (macOS), it returns /opt/anaconda3/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |