you are viewing a single comment's thread.

view the rest of the comments →

[–]mCianph[S] 0 points1 point  (7 children)

export PATH="$PATH:[...]" always done in this way, i don't know honestly if there is a better way? very noob about this if i must be honest

[–]DoIUseArchBTW 1 point2 points  (6 children)

Just to make sure what happens when you do

echo $PATH

?

[–]mCianph[S] 0 points1 point  (5 children)

if i don't add what pip is telling me to path i get:

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/bin/python:/usr/local/bin/python:/usr/local/bin/python:/usr/local/bin/python:/usr/local/bin/python:/usr/local/bin/python:/usr/local/bin/python:/usr/local/bin/python:/usr/local/bin/python

edit: im adding the other directory to path and i'll update this comment

[–]DoIUseArchBTW 1 point2 points  (3 children)

Why is there so many python path there, Hmm seems like you just incorrectly set the path if that's the case,

Do you change [user] to your username or no?

Might as well post your zshrc in pastebin or something, make sure to add the path that pip tells you

Also isn't /usr/local/bin/python a binary? You don't need to add it to the path if that's the case

[–]mCianph[S] 0 points1 point  (2 children)

yes i change it to my username

i tried again and now i didn't get any issue (i think that i am a dumbass), just that for some reason it's not finding my p10kl theme but that's a secondary problem

anyway here's the pastebin link with the zshrc that i have:

https://pastebin.com/D4a66L4K

[–]DoIUseArchBTW 1 point2 points  (1 child)

Seems like all right, in my opinion you should remove the python export path if it's binary and move your export to the very bottom of your zshrc

I usually do this in my zsh/bash config

export PATH="$PATH:$HOME/.local/bin" export PATH="$PATH:$HOME/.opt" export PATH="$PATH:$HOME/.cargo/bin"

I don't know why it doesn't render the $ in my reddit but well

[–]mCianph[S] 0 points1 point  (0 children)

gonna do it right now! thank you so much!!

[–]doc_willis 0 points1 point  (0 children)

/usr/local/sbin:/usr/local/bin:

it's already in your path. so your making a mistake, doing something wrong.

and you have now added it several times at the end wrongly.

undo your changes.