Problem using Anaconda
Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
I have installed Anaconda, but every time I open Terminal I have to go give the command:
export PATH=~/anaconda3/bin:$PATH
How can I fix this issue?
anaconda
New contributor
user254087 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |Â
up vote
2
down vote
favorite
I have installed Anaconda, but every time I open Terminal I have to go give the command:
export PATH=~/anaconda3/bin:$PATH
How can I fix this issue?
anaconda
New contributor
user254087 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Save the above command in your ~/.bashrc file and after that reload .bashrc file by using source ~/.bashrc command.
– Syed Nauyan Rashid
2 days ago
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I have installed Anaconda, but every time I open Terminal I have to go give the command:
export PATH=~/anaconda3/bin:$PATH
How can I fix this issue?
anaconda
New contributor
user254087 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I have installed Anaconda, but every time I open Terminal I have to go give the command:
export PATH=~/anaconda3/bin:$PATH
How can I fix this issue?
anaconda
anaconda
New contributor
user254087 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
user254087 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited 2 days ago


Stephen Rauch
1,29541128
1,29541128
New contributor
user254087 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 2 days ago
user254087
132
132
New contributor
user254087 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
user254087 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
user254087 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Save the above command in your ~/.bashrc file and after that reload .bashrc file by using source ~/.bashrc command.
– Syed Nauyan Rashid
2 days ago
add a comment |Â
Save the above command in your ~/.bashrc file and after that reload .bashrc file by using source ~/.bashrc command.
– Syed Nauyan Rashid
2 days ago
Save the above command in your ~/.bashrc file and after that reload .bashrc file by using source ~/.bashrc command.
– Syed Nauyan Rashid
2 days ago
Save the above command in your ~/.bashrc file and after that reload .bashrc file by using source ~/.bashrc command.
– Syed Nauyan Rashid
2 days ago
add a comment |Â
3 Answers
3
active
oldest
votes
up vote
2
down vote
accepted
You can make sure that command is executed for every terminal (meaning Anaconda will be found) by adding it to your user's bash profile.
Open a terminal and follow these steps:
open the terminal profile:
gedit ~/.bashrc
at the end of the file, add:
export PATH=~/anaconda3/bin:$PATH
save the file (
control+s
) and close itload the changed profile:
source ~/.bashrc
Now this terminal window (and any new ones) should find Anaconda! See which version of Python is now the default, using which -a python
. First in the list should be something like /home/username/anaconda3/bin/python
The Anaconda setup/installation usually asks you if you want to prepend Anaconda to start of your path, so whoever installed it must have said no or skipped that step.
add a comment |Â
up vote
1
down vote
Write your command in your .bashrc
(access at ~/.bashrc
)
It will be executed each time you call a terminal.
add a comment |Â
up vote
1
down vote
the file .bashrc (hidden file), located in the home directory, runs codes every time a new terminal is opened.
Then add a line on it:
export PATH=~/anaconda3/bin:$PATH
Some other solutions are also provided here.
add a comment |Â
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
You can make sure that command is executed for every terminal (meaning Anaconda will be found) by adding it to your user's bash profile.
Open a terminal and follow these steps:
open the terminal profile:
gedit ~/.bashrc
at the end of the file, add:
export PATH=~/anaconda3/bin:$PATH
save the file (
control+s
) and close itload the changed profile:
source ~/.bashrc
Now this terminal window (and any new ones) should find Anaconda! See which version of Python is now the default, using which -a python
. First in the list should be something like /home/username/anaconda3/bin/python
The Anaconda setup/installation usually asks you if you want to prepend Anaconda to start of your path, so whoever installed it must have said no or skipped that step.
add a comment |Â
up vote
2
down vote
accepted
You can make sure that command is executed for every terminal (meaning Anaconda will be found) by adding it to your user's bash profile.
Open a terminal and follow these steps:
open the terminal profile:
gedit ~/.bashrc
at the end of the file, add:
export PATH=~/anaconda3/bin:$PATH
save the file (
control+s
) and close itload the changed profile:
source ~/.bashrc
Now this terminal window (and any new ones) should find Anaconda! See which version of Python is now the default, using which -a python
. First in the list should be something like /home/username/anaconda3/bin/python
The Anaconda setup/installation usually asks you if you want to prepend Anaconda to start of your path, so whoever installed it must have said no or skipped that step.
add a comment |Â
up vote
2
down vote
accepted
up vote
2
down vote
accepted
You can make sure that command is executed for every terminal (meaning Anaconda will be found) by adding it to your user's bash profile.
Open a terminal and follow these steps:
open the terminal profile:
gedit ~/.bashrc
at the end of the file, add:
export PATH=~/anaconda3/bin:$PATH
save the file (
control+s
) and close itload the changed profile:
source ~/.bashrc
Now this terminal window (and any new ones) should find Anaconda! See which version of Python is now the default, using which -a python
. First in the list should be something like /home/username/anaconda3/bin/python
The Anaconda setup/installation usually asks you if you want to prepend Anaconda to start of your path, so whoever installed it must have said no or skipped that step.
You can make sure that command is executed for every terminal (meaning Anaconda will be found) by adding it to your user's bash profile.
Open a terminal and follow these steps:
open the terminal profile:
gedit ~/.bashrc
at the end of the file, add:
export PATH=~/anaconda3/bin:$PATH
save the file (
control+s
) and close itload the changed profile:
source ~/.bashrc
Now this terminal window (and any new ones) should find Anaconda! See which version of Python is now the default, using which -a python
. First in the list should be something like /home/username/anaconda3/bin/python
The Anaconda setup/installation usually asks you if you want to prepend Anaconda to start of your path, so whoever installed it must have said no or skipped that step.
answered 2 days ago


n1k31t4
3,8221216
3,8221216
add a comment |Â
add a comment |Â
up vote
1
down vote
Write your command in your .bashrc
(access at ~/.bashrc
)
It will be executed each time you call a terminal.
add a comment |Â
up vote
1
down vote
Write your command in your .bashrc
(access at ~/.bashrc
)
It will be executed each time you call a terminal.
add a comment |Â
up vote
1
down vote
up vote
1
down vote
Write your command in your .bashrc
(access at ~/.bashrc
)
It will be executed each time you call a terminal.
Write your command in your .bashrc
(access at ~/.bashrc
)
It will be executed each time you call a terminal.
answered 2 days ago
alexandre_d
1087
1087
add a comment |Â
add a comment |Â
up vote
1
down vote
the file .bashrc (hidden file), located in the home directory, runs codes every time a new terminal is opened.
Then add a line on it:
export PATH=~/anaconda3/bin:$PATH
Some other solutions are also provided here.
add a comment |Â
up vote
1
down vote
the file .bashrc (hidden file), located in the home directory, runs codes every time a new terminal is opened.
Then add a line on it:
export PATH=~/anaconda3/bin:$PATH
Some other solutions are also provided here.
add a comment |Â
up vote
1
down vote
up vote
1
down vote
the file .bashrc (hidden file), located in the home directory, runs codes every time a new terminal is opened.
Then add a line on it:
export PATH=~/anaconda3/bin:$PATH
Some other solutions are also provided here.
the file .bashrc (hidden file), located in the home directory, runs codes every time a new terminal is opened.
Then add a line on it:
export PATH=~/anaconda3/bin:$PATH
Some other solutions are also provided here.
answered 2 days ago
ebrahimi
5421418
5421418
add a comment |Â
add a comment |Â
user254087 is a new contributor. Be nice, and check out our Code of Conduct.
user254087 is a new contributor. Be nice, and check out our Code of Conduct.
user254087 is a new contributor. Be nice, and check out our Code of Conduct.
user254087 is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f38032%2fproblem-using-anaconda%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Save the above command in your ~/.bashrc file and after that reload .bashrc file by using source ~/.bashrc command.
– Syed Nauyan Rashid
2 days ago