I installed ancaconda and installed two versions of pythons as
conda create -n python2 python=2.7 anaconda
conda create -n python3 python=3.6 anaconda
Now when I do source activate python3
, the environment python3 is prefixed in my terminal.
Before my terminal was : source activate python3
, Now anaconda prefix environment 'python3' is added (python3) shyamkkhadka@algo22:~$
.How can I remove the prefix (python3) from my terminal prompt, in ubuntu ?
Well, I found the answer myself. Anaconda has nice feature for this also:
conda config --set changeps1 false
It hides the prefix in your command prompt.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With