2019年7月24日 星期三

pyenv-win 安裝與移除

https://github.com/pyenv-win/pyenv-win

1. Install
pip install pyenv-win --target %USERPROFILE%/.pyenv

2. Add following to PATH enviroment variable
%USERPROFILE%\.pyenv\pyenv-win\bin;%USERPROFILE%\.pyenv\pyenv-win\shims;

3. Add installed path in file easy_install.pth to site-packages folder(ex: C:\Users\Jack_Lin\AppData\Local\Programs\Python\Python37-32\Lib\site-packages).
Need to add absolute path, ex:
C:\Users\Jack_Lin\.pyenv in file easy_install.pth

4. pip list to check pyenv-win is installed and recognize by pip

5. upgrade
pip install --upgrade pyenv-win

6. uninstall
pip uninstall pyenv-win

沒有留言:

張貼留言