Jadi dengan menggunakan terminal saya mengetik: nano .bash_profile Saya kemudian memiliki akses ke bash_profile berikut:
GNU nano 2.0.6 File: .bash_profile
# Setting PATH for Python 2.7
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/2.7/bin:${PATH}"
export PATH
# Setting PATH for Python 3.5
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.5/bin:${PATH}"
export PATH
# Added by Canopy installer on 2015-09-29
# VIRTUAL_ENV_DISABLE_PROMPT can be set to '' to make bashprompt show that Canopy is active, otherwise 1
VIRTUAL_ENV_DISABLE_PROMPT=1 source '/Users/psa1/Library/Enthought/Canopy_64bit/User/bin/activate'
# Setting PATH for Python 3.6
# The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.6/bin:${PATH}"
export PATH
Saya ingin sepenuhnya menghapus garis Kanopi dari oleh profil bash karena ini mengacaukan unduhan pip atau twilio misalnya. Tetapi saya tidak tahu bagaimana melakukannya!