美文网首页
mac - python环境修改

mac - python环境修改

作者: Miliimoulins | 来源:发表于2018-05-03 11:29 被阅读366次

—— Just for personal records.

vi ~/.bash_profile
  1 VA_HOME="/Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home/"
  2
  3
  4 ##
  5 # Your previous /Users/httbser/.bash_profile file was backed up as /Users/httbser/.bash_profile.macports-saved_2016-08-04_at_16:38:05
  6 ##
  7
  8 # MacPorts Installer addition on 2016-08-04_at_16:38:05: adding an appropriate PATH variable for use with MacPorts.
  9 export PATH="/opt/local/bin:/opt/local/sbin:$PATH"
 10 # Finished adapting your PATH environment variable for use with MacPorts.
 11
 12
 13 # Setting PATH for Python 3.5
 14 # The original version is saved in .bash_profile.pysave
 15 PATH="/Library/Frameworks/Python.framework/Versions/3.5/bin:${PATH}"
 16 export PATH
 17
 18 # Load pyenv automatically by adding
 19 # the following to ~/.bash_profile:
 20
 21 export PYENV_ROOT="$HOME/.pyenv"
 22 export PATH="$PYENV_ROOT/bin:$PATH"
 23 eval "$(pyenv init -)"
 24 eval "$(pyenv virtualenv-init -)"
 25
 26 #alias python="python3.5"
 27 # added by Anaconda3 5.1.0 installer
 28 export PATH="/Users/httbser/anaconda3/bin:$PATH"
 29 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/Users/httbser/anaconda3/Python-3.6.4
source ~/.bash_profile

相关文章

网友评论

      本文标题:mac - python环境修改

      本文链接:https://www.haomeiwen.com/subject/rpekrftx.html