python 포터블

페이지 정보

작성자 조희승 댓글 0건 조회 258회 작성일 23-07-14 16:48

본문

embedded version ---- 32bit 까는게 정신건강에 좋다.

get-pip.py 실행


pypiwin32 설치

.pth 파일에 아래 추가

python311.zip
.
Lib\site-packages
Lib\site-packages\win32
Lib\site-packages\win32\lib

python Script\pywin32_postinstall.py  실행해주어야 함



pyautogui 는 버전따라서 문제가 있을 수도 있음


. path을 import 하지 못하는 문제 해결
https://dev.to/fpim/setting-up-python-s-windows-embeddable-distribution-properly-1081

Config path
The runtime of this distribution doesn't have an empty string '' added in sys.path,so that the current directory is not added into sys.path, to solve the problem,you need to:

Open C:\python\python37._pth.
Uncomment the line #import site and save.
Create a new .py file and save it as c:\python\sitecustomize.py:
import sys
sys.path.insert(0, '')

댓글목록

등록된 댓글이 없습니다.