Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 종로 커리
- 경복궁 커리
- 춘천 가볼만한 곳
- 분당 도너츠
- 춘천 맛집
- 성남 맛집
- 분당 감성 카페
- Tomcat
- 분당 제과점
- 톰캣
- jpa not mapped
- 수원 맛집
- 춘천 당일치기
- 광교 맛집
- 춘천 가볼만한곳
- 판교 맛집
- jpa 에러
- jpa 오류
- 종로 카레
- h2 에러
- figma 사용법
- es 계정
- jpa
- 피그마 사용법
- es 암호
- ui tool
- 춘천 카페
- 경복궁 카레
- 안산 맛집
- 춘천 관광지
Archives
- Today
- Total
티뮤
Could not build wheels for pyinstaller which use PEP 517 and cannot be installed directly 에러 해결 본문
IT/파이썬
Could not build wheels for pyinstaller which use PEP 517 and cannot be installed directly 에러 해결
티뮤 2021. 1. 24. 19:07728x90
에러 내용 :
Collecting pyinstaller
Using cached pyinstaller-4.2.tar.gz (3.6 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Collecting pyinstaller-hooks-contrib>=2020.6
Using cached pyinstaller_hooks_contrib-2020.11-py2.py3-none-any.whl (172 kB)
Collecting pefile>=2017.8.1
Using cached pefile-2019.4.18-py3-none-any.whl
Requirement already satisfied: setuptools in c:\users\ltm\anaconda3\lib\site-packages (from pyinstaller) (52.0.0)
Requirement already satisfied: importlib-metadata in c:\users\ltm\anaconda3\lib\site-packages (from pyinstaller) (0.23)
Collecting altgraph
Using cached altgraph-0.17-py2.py3-none-any.whl (21 kB)
Collecting pywin32-ctypes>=0.2.0
Using cached pywin32_ctypes-0.2.0-py2.py3-none-any.whl (28 kB)
Requirement already satisfied: future in c:\users\ltm\anaconda3\lib\site-packages (from pefile>=2017.8.1->pyinstaller) (0.18.2)
Requirement already satisfied: zipp>=0.5 in c:\users\ltm\anaconda3\lib\site-packages (from importlib-metadata->pyinstaller) (0.6.0)
Requirement already satisfied: more-itertools in c:\users\ltm\anaconda3\lib\site-packages (from zipp>=0.5->importlib-metadata->pyinstaller) (7.2.0)
Building wheels for collected packages: pyinstaller
Building wheel for pyinstaller (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\ltm\anaconda3\python.exe' 'c:\users\ltm\anaconda3\lib\site-packages\pip\_vendor\pep517\_in_process.py' build_wheel 'C:\Users\LTM\AppData\Local\Temp\tmp3rqztya0'
cwd: C:\Users\LTM\AppData\Local\Temp\pip-install-awetbviu\pyinstaller_db7bb1f9b81245839f379601f92b1be4
Complete output (68 lines):
running bdist_wheel
running build
running build_bootloader
running build_py
creating build
creating build\lib
creating build\lib\PyInstaller
copying PyInstaller\compat.py -> build\lib\PyInstaller
copying PyInstaller\config.py -> build\lib\PyInstaller
copying PyInstaller\configure.py -> build\lib\PyInstaller
copying PyInstaller\exceptions.py -> build\lib\PyInstaller
copying PyInstaller\log.py -> build\lib\PyInstaller
copying PyInstaller\_recursion_to_deep_message.py -> build\lib\PyInstaller
copying PyInstaller\__init__.py -> build\lib\PyInstaller
copying PyInstaller\__main__.py -> build\lib\PyInstaller
running egg_info
writing pyinstaller.egg-info\PKG-INFO
writing dependency_links to pyinstaller.egg-info\dependency_links.txt
writing entry points to pyinstaller.egg-info\entry_points.txt
writing requirements to pyinstaller.egg-info\requires.txt
writing top-level names to pyinstaller.egg-info\top_level.txt
reading manifest file 'pyinstaller.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'pyinstaller-gui.py'
no previously-included directories found matching 'bootloader\build'
no previously-included directories found matching 'bootloader\.waf-*'
no previously-included directories found matching 'bootloader\.waf3-*'
no previously-included directories found matching 'bootloader\waf-*'
no previously-included directories found matching 'bootloader\waf3-*'
no previously-included directories found matching 'bootloader\_sdks'
no previously-included directories found matching 'bootloader\.vagrant'
warning: no previously-included files found matching 'bootloader\.lock-waf*'
no previously-included directories found matching 'doc\source'
no previously-included directories found matching 'doc\_build'
warning: no previously-included files matching '*.tmp' found under directory 'doc'
warning: no files found matching 'news\_template.rst'
no previously-included directories found matching 'news'
no previously-included directories found matching 'old'
no previously-included directories found matching 'scripts'
no previously-included directories found matching 'tests\scripts'
no previously-included directories found matching '.github'
warning: no previously-included files found matching '.*'
warning: no previously-included files found matching '*.yml'
warning: no previously-included files found matching '*~'
warning: no previously-included files found matching '.directory'
writing manifest file 'pyinstaller.egg-info\SOURCES.txt'
creating build\lib\PyInstaller\archive
copying PyInstaller\archive\__init__.py -> build\lib\PyInstaller\archive
copying PyInstaller\archive\pyz_crypto.py -> build\lib\PyInstaller\archive
copying PyInstaller\archive\readers.py -> build\lib\PyInstaller\archive
copying PyInstaller\archive\writers.py -> build\lib\PyInstaller\archive
creating build\lib\PyInstaller\bootloader
creating build\lib\PyInstaller\bootloader\Darwin-64bit
copying PyInstaller\bootloader\Darwin-64bit\run -> build\lib\PyInstaller\bootloader\Darwin-64bit
copying PyInstaller\bootloader\Darwin-64bit\run_d -> build\lib\PyInstaller\bootloader\Darwin-64bit
copying PyInstaller\bootloader\Darwin-64bit\runw -> build\lib\PyInstaller\bootloader\Darwin-64bit
copying PyInstaller\bootloader\Darwin-64bit\runw_d -> build\lib\PyInstaller\bootloader\Darwin-64bit
creating build\lib\PyInstaller\bootloader\Linux-32bit
copying PyInstaller\bootloader\Linux-32bit\run -> build\lib\PyInstaller\bootloader\Linux-32bit
copying PyInstaller\bootloader\Linux-32bit\run_d -> build\lib\PyInstaller\bootloader\Linux-32bit
creating build\lib\PyInstaller\bootloader\Linux-64bit
copying PyInstaller\bootloader\Linux-64bit\run -> build\lib\PyInstaller\bootloader\Linux-64bit
copying PyInstaller\bootloader\Linux-64bit\run_d -> build\lib\PyInstaller\bootloader\Linux-64bit
creating build\lib\PyInstaller\bootloader\Windows-32bit
copying PyInstaller\bootloader\Windows-32bit\run.exe -> build\lib\PyInstaller\bootloader\Windows-32bit
copying PyInstaller\bootloader\Windows-32bit\run_d.exe -> build\lib\PyInstaller\bootloader\Windows-32bit
copying PyInstaller\bootloader\Windows-32bit\runw.exe -> build\lib\PyInstaller\bootloader\Windows-32bit
error: could not open 'PyInstaller\bootloader\Windows-32bit\runw.exe': Invalid argument
----------------------------------------
ERROR: Failed building wheel for pyinstaller
Failed to build pyinstaller
ERROR: Could not build wheels for pyinstaller which use PEP 517 and cannot be installed directly
해결 방법 1 :
- pip install --upgrade pip setuptools wheel 설치 후 재 시도
해결 방법 2 (윈도우):
- 위 방법으로 해결되지 않을 경우 시작 - 설정 - 업데이트 및 보완 - Windows보안 에서 설치하고자 하는 프로그램을
바이러스 또는 위협으로 감지하는 경우이다.
'디바이스에서 사용 허용'을 클릭한 후 재 시도 해보면 아래와 같이 설치 완료된다.
Collecting pyinstaller
Using cached pyinstaller-4.2.tar.gz (3.6 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Collecting pefile>=2017.8.1
Using cached pefile-2019.4.18-py3-none-any.whl
Collecting altgraph
Using cached altgraph-0.17-py2.py3-none-any.whl (21 kB)
Collecting pyinstaller-hooks-contrib>=2020.6
Using cached pyinstaller_hooks_contrib-2020.11-py2.py3-none-any.whl (172 kB)
Collecting pywin32-ctypes>=0.2.0
Using cached pywin32_ctypes-0.2.0-py2.py3-none-any.whl (28 kB)
Requirement already satisfied: importlib-metadata in c:\users\ltm\anaconda3\lib\site-packages (from pyinstaller) (0.23)
Requirement already satisfied: setuptools in c:\users\ltm\anaconda3\lib\site-packages (from pyinstaller) (52.0.0)
Requirement already satisfied: future in c:\users\ltm\anaconda3\lib\site-packages (from pefile>=2017.8.1->pyinstaller) (0.18.2)
Requirement already satisfied: zipp>=0.5 in c:\users\ltm\anaconda3\lib\site-packages (from importlib-metadata->pyinstaller) (0.6.0)
Requirement already satisfied: more-itertools in c:\users\ltm\anaconda3\lib\site-packages (from zipp>=0.5->importlib-metadata->pyinstaller) (7.2.0)
Building wheels for collected packages: pyinstaller
Building wheel for pyinstaller (PEP 517) ... done
Created wheel for pyinstaller: filename=pyinstaller-4.2-py3-none-any.whl size=2413076 sha256=288bc04e86efd6dec65e8f8e7031e0badb0f00a8d9aeda1bf680a2c1fb44aff9
Stored in directory: c:\users\ltm\appdata\local\pip\cache\wheels\85\03\fe\8402ecc0126d8b6156708a4d0b638f2bb6b082d10da4fde9f8
Successfully built pyinstaller
Installing collected packages: pywin32-ctypes, pyinstaller-hooks-contrib, pefile, altgraph, pyinstaller
Successfully installed altgraph-0.17 pefile-2019.4.18 pyinstaller-4.2 pyinstaller-hooks-contrib-2020.11 pywin32-ctypes-0.2.0
728x90
'IT > 파이썬' 카테고리의 다른 글
파이썬 설치 경로 확인하기 (0) | 2021.01.26 |
---|---|
파이썬 설치하기 (1) | 2021.01.18 |
Comments