메뉴 바로가기 검색 및 카테고리 바로가기

한빛미디어

뇌를 자극하는 파이썬

뇌를 자극하는 파이썬 질의응답 게시판입니다.

wxPython 모듈 설치 에러~~~

2016-05-17

|

by goldhun

5192

저두 동일 증상인데 python version 3.5.1 32bit , version 2.대는 설치 안함


wxpython은 책내용대로 설치가 안되서 인터넷에서 찾아서 설치했습니다.
################################################################
책대로 다운 받아서 명령입력
################################################################
C:python35>pip install "wxPython_Phoenix-3.0.3.dev2030+028d173-cp35-cp35m-win32.whl"
Requirement 'wxPython_Phoenix-3.0.3.dev2030+028d173-cp35-cp35m-win32.whl' looks like a filename, but the file does not exist
wxPython_Phoenix-3.0.3.dev2030+028d173-cp35-cp35m-win32.whl is not a supported wheel on this platform.
You are using pip version 7.1.2, however version 8.1.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
###############################################################
PIP 업그레이드
###############################################################
C:python35>python -m pip install --upgrade pip
Collecting pip
  Using cached pip-8.1.2-py2.py3-none-any.whl
Installing collected packages: pip
  Found existing installation: pip 7.1.2
    Uninstalling pip-7.1.2:
      Successfully uninstalled pip-7.1.2
Successfully installed pip-8.1.2
##############################################################
error발생
##############################################################

C:python35>pip install "wxPython_Phoenix-3.0.3.dev2030+028d173-cp35-cp35m-win32.whl"
Requirement 'wxPython_Phoenix-3.0.3.dev2030+028d173-cp35-cp35m-win32.whl' looks like a filename, but the file does not exist
Processing c:python35wxpython_phoenix-3.0.3.dev2030+028d173-cp35-cp35m-win32.whl
Exception:
Traceback (most recent call last):
  File "c:python35libsite-packagespipasecommand.py", line 215, in main
    status = self.run(options, args)
  File "c:python35libsite-packagespipcommandsinstall.py", line 299, in run
    requirement_set.prepare_files(finder)
  File "c:python35libsite-packagespip eq eq_set.py", line 370, in prepare_files
    ignore_dependencies=self.ignore_dependencies))
  File "c:python35libsite-packagespip eq eq_set.py", line 587, in _prepare_file
    session=self.session, hashes=hashes)
  File "c:python35libsite-packagespipdownload.py", line 798, in unpack_url
    unpack_file_url(link, location, download_dir, hashes=hashes)
  File "c:python35libsite-packagespipdownload.py", line 705, in unpack_file_url
    unpack_file(from_path, location, content_type, link)
  File "c:python35libsite-packagespiputils\__init__.py", line 599, in unpack_file
    flatten=not filename.endswith('.whl')
  File "c:python35libsite-packagespiputils\__init__.py", line 482, in unzip_file
    zipfp = open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: 'C:\python35\wxPython_Phoenix-3.0.3.dev2030+028d173-cp35-cp35m-win32.whl'
###############################################################
internet에서 찾아서 설치
###############################################################
C:>pip install -U --trusted-host wxpython.org --pre -f http://wxpython.org/Phoenix/snapshot-builds/ wxPython_Phoenix
Collecting wxPython_Phoenix
  Downloading http://wxpython.org/Phoenix/snapshot-builds/wxPython_Phoenix-3.0.3.dev2030+028d173-cp35-cp35m-win32.whl (11.6MB)
    100% |################################| 11.6MB 4.2MB/s
Installing collected packages: wxPython-Phoenix
Successfully installed wxPython-Phoenix-3.0.3.dev2030+028d173
###############################################################
오류발생
###############################################################
>>>
===================== RESTART: C:/python35/test/test.py =====================
Traceback (most recent call last):
  File "C:/python35/test/test.py", line 1, in <module>
    import wx
  File "C:python35libsite-packageswx\__init__.py", line 17, in <module>
    from wx.core import *
  File "C:python35libsite-packageswxcore.py", line 6, in <module>
    from ._core import *
ImportError: DLL load failed: 지정된 모듈을 찾을 수 없습니다.
>>>

 
7번 Q&A와 동일 증상 발생하네요 ~

 

댓글 입력