우분투 16.04에 wxpython모듈을 설치할려고 합니다.

조회수 1906회

우분투 서버 16.04에 파이썬3 wx모듈을 설치할려고 합니다. 셀창에 pip3 install -U --pre -f --trusted-host https://wxpython.org/Phoenix/snapshot-builds/linux/gtk3/ubuntu-16.04/wxPython_Phoenix-3.0.3.dev2873+5fec882-cp36-cp36m-linux_x86_64.whl 적는거 아닌가요??

https://wxpython.org/Phoenix/snapshot-builds/README.txt 여기 튜토리얼에서도 아래처럼 하라고하는데

Wheels for Linux

Since there are various options for distro and wx port (GTK2 or GTK3) then the files can not all be located in the same folder like we can do for the Windows and OSX builds. This just simply means that you'll need to drill down a little further to find the URL to give to pip. For example, to get the GTK3 Phoenix builds for Ubuntu 16.04 (and 16.10, LinuxMint 18, and probably others) you can use a pip command like this:

pip install -U --pre \
    -f https://wxpython.org/Phoenix/snapshot-builds/linux/gtk3/ubuntu-16.04 \
    wxPython

제가 잘못하고있는건가요??

1 답변

  • 좋아요

    0

    싫어요
    채택 취소하기

    질문과 같이 wheel 설치하면 됩니다.

    무엇이 문제인 상태인지 문제의 내용이 없네요???

    저도 mint 18.1 사용중입니다.(민트는 우분투 기반입니다.)

    파이썬 docker 이미지에서 wheel 설치해보니 잘 됩니다.

    다만 한가지 사용하는 x윈도우가 gtk2/3 기반인지 알고 설치해야 합니다.

    gtk2 와 gtk3 버전이 각각 있습니다. 저는 mint mate 이므로 gtk2 용을 설치해줬습니다.

    그러나 gnome3 을 사용하고 있다면 gtk3 용을 설치해야 합니다.

    그리고 우분투 서버 라고 했는데....ubuntu server 버전이라면 x윈도우가 없는 버전입니다. wxpython 같은 gui 툴킷을 사용하려면 당연히 x윈도우가 있어야겠죠...

    • 답변감사드립니다. ㅜㅜ 다크매터 2017.5.8 11:21

답변을 하려면 로그인이 필요합니다.

프로그래머스 커뮤니티는 개발자들을 위한 Q&A 서비스입니다. 로그인해야 답변을 작성하실 수 있습니다.

(ಠ_ಠ)
(ಠ‿ಠ)