Pyinstaller cupy 관련 ModuleNotFound 에러
·
Develop/Python
[filename].spec에 다음을 추가import sysimport cupy... hiddenimports=[ ... ] + [x for x in sys.modules.keys() if x.startswith('cupy.') or x.startswith('cupyx.') or x.startswith('cupy_backends.')] + ['fastrlock', 'fastrlock.rlock'], ...
Python EXE Decompile
·
Develop/Python
0. 준비물[필수] Microsoft C++ Build ToolsPython 3.10+ 버전을 지원하는 최신 디컴파일러(pycdc)는 C++로 작성되어 있습니다. 따라서 소스 코드를 직접 컴파일하여 실행 파일을 만들어야 합니다. 아래 링크에서 'Visual Studio Build Tools'를 다운로드하고, 설치 시 'C++를 사용한 데스크톱 개발' 워크로드를 체크하여 설치합니다.Microsoft C++ Build Tools - Visual Studio Microsoft C++ Build Tools - Visual Studio visualstudio.microsoft.com [선택] HxD가끔 .exe에서 추출한 .pyc 파일의 헤더(파일 정보가 담긴 앞부분)가 손상되는 경우가 있습니다. 이럴 때 파일의..
[Python] win32api Error - ImportError: DLL load failed while importing win32api: 지정된 모듈을 찾을 수 없습니다.
·
Develop/Python
https://github.com/mhammond/pywin32/issues/1431 ImportError: DLL load failed while importing win32event: The specified module could not be found. · Issue #1431 · mhammond/pywI just installed Python 3.8.0 32-bit, then installed a few modules including pywin32 using pip. When I try "import win32event", I get the following error: Python 3.8.0 (tags/v3.8.0:fa919fd, Oct 14 ...github.com1. 이전 버전 설치pip..
[Python] VSCode Error - Sorry, something went wrong activating IntelliCode support for Python. Please check the "Python" and "VS IntelliCode" output windows for details.
·
Develop/Python
Sorry, something went wrong activating IntelliCode support for Python · Issue #50 · microsoft/pylance-release Sorry, something went wrong activating IntelliCode support for Python · Issue #50 · microsoft/pylance-releaseGetting the following error after installing pylance Sorry, something went wrong activating IntelliCode support for Python. Please check the "Python" and "VS IntelliCode" output w..
[Python] 기상청 API Hub의 날씨 & 날씨 예보 데이터 수집 with. airflow
·
Develop/Python
KimGeunUk/airflow-weather: Weather & Weather Forecast Data Pipeline With Apache Airflow GitHub - KimGeunUk/airflow-weather: Weather & Weather Forecast Data Pipeline With Apache AirflowWeather & Weather Forecast Data Pipeline With Apache Airflow - KimGeunUk/airflow-weathergithub.com 오탈자, 에러, 수정 제안이 있으시다면 댓글 부탁드립니다.
[Python] Airflow Dag 정보 (Task Context) 전달
·
Develop/Python
...from train_model.main import runlocal_tz = pendulum.timezone("Asia/Seoul")...dag = DAG( dag_id='train_model_dag', default_args=default_args, schedule_interval='30 9 * * *', # 매일 09:30 실행 catchup=False)process_task = PythonOperator( task_id='train_model', python_callable=run, dag=dag) 위와 같이 간단한 dag을 구성 후 train_model의 run 함수에서 airflow에서 작업을 수행한 시간인 execution_date를 가져오고 싶었다..
[Python] Windows에 pyenv 설치
·
Develop/Python
프로젝트마다 사용하는 python 버전이 달라질 수 있으므로, pyenv를 사용하기로 결정 1. 설치https://github.com/pyenv-win/pyenv-win GitHub - pyenv-win/pyenv-win: pyenv for Windows. pyenv is a simple python version management tool. It lets you easily switch betpyenv for Windows. pyenv is a simple python version management tool. It lets you easily switch between multiple versions of Python. It's simple, unobtrusive, and follows the U..
[Error] / [Pyinstaller] xgboost XGBoostLibraryNotFound error
·
Develop/Python
문제 상황xgboost를 import한 .py 파일을 pyinstaller로 .exe 로 패키징 할 때 다음과 같은 에러를 출력xgboost.libpath.XGBoostLibraryNotFound: Cannot find XGBoost Library in the candidate path, did you install compilers and run build.sh in root path?List of candidates:C:\...\AppData\Local\Temp\_MEI103562\xgboost\xgboost.dllC:\...\AppData\Local\Temp\_MEI103562\xgboost\../../lib/xgboost.dllC:\...\AppData\Local\Temp\_MEI103562\xg..
욱근욱
'Develop/Python' 카테고리의 글 목록