How do I remove the source (base) from my terminal?Including virtual environment in bash promptWhy don't my aliases in .bashrc work?How to open a new Terminal tab in current working directory?Problem persistently defining aliases in terminalGet terminal application name from shellterminal custom commands source every timeWhy don't changes in the bashrc file work on a new terminal window?.cshrc got empitied, aliases are loaded in opened terminal, how to retrieve them?Terminal command to remove custom icon from file (HFS+)
What is the name for a fluid transition between two tones? When did it first appear?
Using Terminal` (ASCII plots) in Wolfram 12
How can AnyDVD destroy a DVD drive?
Can you take an Immortal Phoenix out of the game?
A fast aquatic predator with multiple eyes and pupils. Would these eyes be possible?
Paper status "Accept with Shepherd". What does it really mean?
Can there be an atomic nucleus where there are more protons than neutrons?
7 mentions of night in Gospel of John
How did Ron get five hundred Chocolate Frog cards?
Proofreading a novel: is it okay to use a question mark with an exclamation mark - "?!"
Does the warlock's Gift of the Ever-Living Ones eldritch invocation work with potions or healing spells cast on you by others?
Is there any restriction in entering the South American countries multiple times in one year?
How to print and use a command output in a one-liner?
Why exactly is the answer 50 Ohms?
Is it realistic that an advanced species isn't good at war?
Can you set fire to beer barrels?
Diamondize Some Text
Rule of thumb: how far before changing my chain to prevent cassette wear
Which collation should I use for biblical Hebrew?
33 Months on Death Row
How do I find files with no group permissions?
Is it reasonable to ask candidates to create a profile on Google Scholar?
Where is the 'zone of reversed commands...'?
Why does 1.1.1.1 not resolve archive.is?
How do I remove the source (base) from my terminal?
Including virtual environment in bash promptWhy don't my aliases in .bashrc work?How to open a new Terminal tab in current working directory?Problem persistently defining aliases in terminalGet terminal application name from shellterminal custom commands source every timeWhy don't changes in the bashrc file work on a new terminal window?.cshrc got empitied, aliases are loaded in opened terminal, how to retrieve them?Terminal command to remove custom icon from file (HFS+)
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
I created some new aliases in my .bashrc file and did
source ~/.bashrc
Now, everytime I open my terminal it always comes with the (base)
How do I remove that?
macos command-line bash unix
New contributor
add a comment
|
I created some new aliases in my .bashrc file and did
source ~/.bashrc
Now, everytime I open my terminal it always comes with the (base)
How do I remove that?
macos command-line bash unix
New contributor
Including virtual environment in bash prompt reverse problem
– ankii
12 hours ago
add a comment
|
I created some new aliases in my .bashrc file and did
source ~/.bashrc
Now, everytime I open my terminal it always comes with the (base)
How do I remove that?
macos command-line bash unix
New contributor
I created some new aliases in my .bashrc file and did
source ~/.bashrc
Now, everytime I open my terminal it always comes with the (base)
How do I remove that?
macos command-line bash unix
macos command-line bash unix
New contributor
New contributor
edited 12 hours ago
ankii
2,8302 gold badges7 silver badges30 bronze badges
2,8302 gold badges7 silver badges30 bronze badges
New contributor
asked 12 hours ago
Agam KashyapAgam Kashyap
61 bronze badge
61 bronze badge
New contributor
New contributor
Including virtual environment in bash prompt reverse problem
– ankii
12 hours ago
add a comment
|
Including virtual environment in bash prompt reverse problem
– ankii
12 hours ago
Including virtual environment in bash prompt reverse problem
– ankii
12 hours ago
Including virtual environment in bash prompt reverse problem
– ankii
12 hours ago
add a comment
|
1 Answer
1
active
oldest
votes
That's the "base" environment from Anaconda or Miniconda. It means the Python environment from conda
is enabled by default.
There're two solutions.
Just disable the base environment, make sure your
conda >= 4.6
. Whenever you wanna use Python, enable an environment fromconda
manually with following command,# run this in an interactive shell
# enable environment called "base", the default env from conda
conda activate base
# deactivate an environment
conda deactivateEnable the base environment, which is the default behavior of
conda
, but don't modify your prompt. Run the following command in an interactive shell once.conda config --set changeps1 false
Are you suggesting to add the two lines in point 1 in bashrc ?
– ankii
12 hours ago
Cool! that worked. Thanks!
– Agam Kashyap
12 hours ago
@ankii Sorry, I didn't make it clear. The solution No.1 in the hyperlink should be set in .bashrc. The commands activate/deactivate an environment should be run in an interactive shell.
– Simba
11 hours ago
But every time one opens terminal, it would be annoying to enter these commands? I've added some lines in my bashrc profile as per this answer apple.stackexchange.com/questions/367313/… For saving me the trouble. One such command(in my file) also brings up which git branch is active.
– ankii
11 hours ago
@ankii The solution one is to DISABLE activating the "base" environment, which means make the Python executable from "base" unavailable.
– Simba
11 hours ago
add a comment
|
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
That's the "base" environment from Anaconda or Miniconda. It means the Python environment from conda
is enabled by default.
There're two solutions.
Just disable the base environment, make sure your
conda >= 4.6
. Whenever you wanna use Python, enable an environment fromconda
manually with following command,# run this in an interactive shell
# enable environment called "base", the default env from conda
conda activate base
# deactivate an environment
conda deactivateEnable the base environment, which is the default behavior of
conda
, but don't modify your prompt. Run the following command in an interactive shell once.conda config --set changeps1 false
Are you suggesting to add the two lines in point 1 in bashrc ?
– ankii
12 hours ago
Cool! that worked. Thanks!
– Agam Kashyap
12 hours ago
@ankii Sorry, I didn't make it clear. The solution No.1 in the hyperlink should be set in .bashrc. The commands activate/deactivate an environment should be run in an interactive shell.
– Simba
11 hours ago
But every time one opens terminal, it would be annoying to enter these commands? I've added some lines in my bashrc profile as per this answer apple.stackexchange.com/questions/367313/… For saving me the trouble. One such command(in my file) also brings up which git branch is active.
– ankii
11 hours ago
@ankii The solution one is to DISABLE activating the "base" environment, which means make the Python executable from "base" unavailable.
– Simba
11 hours ago
add a comment
|
That's the "base" environment from Anaconda or Miniconda. It means the Python environment from conda
is enabled by default.
There're two solutions.
Just disable the base environment, make sure your
conda >= 4.6
. Whenever you wanna use Python, enable an environment fromconda
manually with following command,# run this in an interactive shell
# enable environment called "base", the default env from conda
conda activate base
# deactivate an environment
conda deactivateEnable the base environment, which is the default behavior of
conda
, but don't modify your prompt. Run the following command in an interactive shell once.conda config --set changeps1 false
Are you suggesting to add the two lines in point 1 in bashrc ?
– ankii
12 hours ago
Cool! that worked. Thanks!
– Agam Kashyap
12 hours ago
@ankii Sorry, I didn't make it clear. The solution No.1 in the hyperlink should be set in .bashrc. The commands activate/deactivate an environment should be run in an interactive shell.
– Simba
11 hours ago
But every time one opens terminal, it would be annoying to enter these commands? I've added some lines in my bashrc profile as per this answer apple.stackexchange.com/questions/367313/… For saving me the trouble. One such command(in my file) also brings up which git branch is active.
– ankii
11 hours ago
@ankii The solution one is to DISABLE activating the "base" environment, which means make the Python executable from "base" unavailable.
– Simba
11 hours ago
add a comment
|
That's the "base" environment from Anaconda or Miniconda. It means the Python environment from conda
is enabled by default.
There're two solutions.
Just disable the base environment, make sure your
conda >= 4.6
. Whenever you wanna use Python, enable an environment fromconda
manually with following command,# run this in an interactive shell
# enable environment called "base", the default env from conda
conda activate base
# deactivate an environment
conda deactivateEnable the base environment, which is the default behavior of
conda
, but don't modify your prompt. Run the following command in an interactive shell once.conda config --set changeps1 false
That's the "base" environment from Anaconda or Miniconda. It means the Python environment from conda
is enabled by default.
There're two solutions.
Just disable the base environment, make sure your
conda >= 4.6
. Whenever you wanna use Python, enable an environment fromconda
manually with following command,# run this in an interactive shell
# enable environment called "base", the default env from conda
conda activate base
# deactivate an environment
conda deactivateEnable the base environment, which is the default behavior of
conda
, but don't modify your prompt. Run the following command in an interactive shell once.conda config --set changeps1 false
edited 11 hours ago
answered 12 hours ago
SimbaSimba
3601 silver badge7 bronze badges
3601 silver badge7 bronze badges
Are you suggesting to add the two lines in point 1 in bashrc ?
– ankii
12 hours ago
Cool! that worked. Thanks!
– Agam Kashyap
12 hours ago
@ankii Sorry, I didn't make it clear. The solution No.1 in the hyperlink should be set in .bashrc. The commands activate/deactivate an environment should be run in an interactive shell.
– Simba
11 hours ago
But every time one opens terminal, it would be annoying to enter these commands? I've added some lines in my bashrc profile as per this answer apple.stackexchange.com/questions/367313/… For saving me the trouble. One such command(in my file) also brings up which git branch is active.
– ankii
11 hours ago
@ankii The solution one is to DISABLE activating the "base" environment, which means make the Python executable from "base" unavailable.
– Simba
11 hours ago
add a comment
|
Are you suggesting to add the two lines in point 1 in bashrc ?
– ankii
12 hours ago
Cool! that worked. Thanks!
– Agam Kashyap
12 hours ago
@ankii Sorry, I didn't make it clear. The solution No.1 in the hyperlink should be set in .bashrc. The commands activate/deactivate an environment should be run in an interactive shell.
– Simba
11 hours ago
But every time one opens terminal, it would be annoying to enter these commands? I've added some lines in my bashrc profile as per this answer apple.stackexchange.com/questions/367313/… For saving me the trouble. One such command(in my file) also brings up which git branch is active.
– ankii
11 hours ago
@ankii The solution one is to DISABLE activating the "base" environment, which means make the Python executable from "base" unavailable.
– Simba
11 hours ago
Are you suggesting to add the two lines in point 1 in bashrc ?
– ankii
12 hours ago
Are you suggesting to add the two lines in point 1 in bashrc ?
– ankii
12 hours ago
Cool! that worked. Thanks!
– Agam Kashyap
12 hours ago
Cool! that worked. Thanks!
– Agam Kashyap
12 hours ago
@ankii Sorry, I didn't make it clear. The solution No.1 in the hyperlink should be set in .bashrc. The commands activate/deactivate an environment should be run in an interactive shell.
– Simba
11 hours ago
@ankii Sorry, I didn't make it clear. The solution No.1 in the hyperlink should be set in .bashrc. The commands activate/deactivate an environment should be run in an interactive shell.
– Simba
11 hours ago
But every time one opens terminal, it would be annoying to enter these commands? I've added some lines in my bashrc profile as per this answer apple.stackexchange.com/questions/367313/… For saving me the trouble. One such command(in my file) also brings up which git branch is active.
– ankii
11 hours ago
But every time one opens terminal, it would be annoying to enter these commands? I've added some lines in my bashrc profile as per this answer apple.stackexchange.com/questions/367313/… For saving me the trouble. One such command(in my file) also brings up which git branch is active.
– ankii
11 hours ago
@ankii The solution one is to DISABLE activating the "base" environment, which means make the Python executable from "base" unavailable.
– Simba
11 hours ago
@ankii The solution one is to DISABLE activating the "base" environment, which means make the Python executable from "base" unavailable.
– Simba
11 hours ago
add a comment
|
Including virtual environment in bash prompt reverse problem
– ankii
12 hours ago