Go to advanced search

by needbighelp
Tue Mar 31, 2020 11:28 am
Forum: Troubleshooting
Topic: Exported the wrong path in Pi renders all commands useless
Replies: 7
Views: 179

Re: Exported the wrong path in Pi renders all commands useless

So I rebooted as you say and now it works again. I thought export is permanent and you need to find the correct path to fix it. Thanks a bunch! You should add the extra directory to $PATH For example: export PATH=$PATH:/home/pi/.local/bin would leave your existing PATH unchanged. These things becom...
by needbighelp
Tue Mar 31, 2020 11:27 am
Forum: Troubleshooting
Topic: Exported the wrong path in Pi renders all commands useless
Replies: 7
Views: 179

Re: Exported the wrong path in Pi renders all commands useless

Setting PATH via an export command in the shell has no effect on disc contents or on the PATH in other shells/terminals/logins. Just logout then log back in again. To add something to your PATH you do it like this: export PATH=$PATH:/home/pi/.local/bin That preserves the existing PATH and adds the ...
by needbighelp
Tue Mar 31, 2020 11:09 am
Forum: Troubleshooting
Topic: Exported the wrong path in Pi renders all commands useless
Replies: 7
Views: 179

Re: Exported the wrong path in Pi renders all commands useless

Welcome to the Raspberry Pi forums. Hi everyone, I was tinkering around with the command line of my Pi and found out the hard way that exporting to a wrong path makes all of my commands unusable. I was installing a package using pip and it advise me to export my PATH like this: The script pycodesty...
by needbighelp
Tue Mar 31, 2020 10:53 am
Forum: Troubleshooting
Topic: Exported the wrong path in Pi renders all commands useless
Replies: 7
Views: 179

Exported the wrong path in Pi renders all commands useless

Hi everyone, I was tinkering around with the command line of my Pi and found out the hard way that exporting to a wrong path makes all of my commands unusable. I was installing a package using pip and it advise me to export my PATH like this: The script pycodestyle is installed in '/home/pi/.local/b...

Go to advanced search