기록하는삶

[에러 해결] [WinError 1920] 시스템에서 파일에 액세스할 수 없습니다: 'C:\\Users\\jeon6\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\python.exe\\Scripts' 본문

회고, 기록/에러 해결

[에러 해결] [WinError 1920] 시스템에서 파일에 액세스할 수 없습니다: 'C:\\Users\\jeon6\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\python.exe\\Scripts'

mingchin 2022. 5. 24. 02:37
728x90
반응형

https://github.com/python-poetry/poetry/issues/5000

 

``poetry new`` fails when creating a new system environment · Issue #5000 · python-poetry/poetry

I am on the latest Poetry version. I have searched the issues of this repo and believe that this is not a duplicate. If an exception occurs when executing a command, I executed it again in debug mo...

github.com

poetry init을 실행하던 중 발생한 오류다.

찾아보니 window store에서 다운받은 3.10. 버전의 파이썬과 충돌이 있는 듯 하다.

https://github.com/python-poetry/poetry

 

GitHub - python-poetry/poetry: Python dependency management and packaging made easy.

Python dependency management and packaging made easy. - GitHub - python-poetry/poetry: Python dependency management and packaging made easy.

github.com

기존에 받았던 3.10 버전 파이썬을 삭제하고 공식 홈페이지에서 3.9 버전을 다운받은 뒤 

여기에서 get-poetry.py를 받아

python get-poetry.py --uninstall

위의 코드로 uninstall 하고, poetry를 재설치하는 방법으로 해결했다.

728x90
반응형