Use pycharm in windows
steps
- install pyenv from here: https://github.com/pyenv-win/pyenv-win
1 2
powershell Invoke-WebRequest -UseBasicParsing -Uri "https://raw.githubusercontent.com/pyenv-win/pyenv-win/master/pyenv-win/install-pyenv-win.ps1" -OutFile "./install-pyenv-win.ps1"; &"./install-pyenv-win.ps1"
- add pyenv to path %USERPROFILE%.pyenv\pyenv-win\bin %USERPROFILE%.pyenv\pyenv-win\shims
- install poetry The better way, after setting up pyenv, is to use the following command to
1
2
pipx install poetry
The second less recommended way is to use the following command:
1
2
powershell
(Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | py -
- install python
1
pyenv install %the version you want% - add python to path
1
C:\Users\%user%\AppData\Roaming\Python\Scripts