ユーザ用ツール

サイト用ツール


development:language:python:pyenv

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
development:language:python:pyenv [2018/07/26 07:03] – [設定] hayashidevelopment:language:python:pyenv [2021/12/13 01:02] (現在) hayashi
行 23: 行 23:
 # (末尾に入力) # (末尾に入力)
  
 +homeにインストール
 <file shell .cshrc> <file shell .cshrc>
 # Setting for pyenv # Setting for pyenv
行 41: 行 42:
 endif endif
 </file> </file>
 +
 +/usr/binにインストール
  
 <file shell .bashrc> <file shell .bashrc>
行 46: 行 49:
 export PYENV_ROOT="/usr/bin/.pyenv" export PYENV_ROOT="/usr/bin/.pyenv"
 if [ -d "${PYENV_ROOT}" ]; then if [ -d "${PYENV_ROOT}" ]; then
-export PATH=${PYENV_ROOT}/bin:$PATH +  export PATH=${PYENV_ROOT}/bin:$PATH 
-eval "$(pyenv init -)"+  eval "$(pyenv init --path)"
 fi fi
 </file> </file>
 +
 +変更((2021.12.13確認:pyenv init部分が変更されていますので注意))
 +  eval "$(pyenv init -)"
 +   ↓
 +  eval "$(pyenv init --path)"
  
 設定のリロード 設定のリロード
development/language/python/pyenv.txt · 最終更新: 2021/12/13 01:02 by hayashi