Setting up developement environment: PyCharm, python-gtk, windows

前端 未结 5 2017
再見小時候
再見小時候 2021-01-18 04:06

I want to develop with these tools:

  • MS-Windows 10
  • Python3
  • gtk
  • PyCharm

I installed PyCharm, but up to now Python and g

5条回答
  •  隐瞒了意图╮
    2021-01-18 04:58

    update a couple years later, in case someone else is stumbling down this path - pyGTK/pyGObject now only installs via msys2/mwing. This causes problems with several things.

    Firstly, the whole msys python is incompatible with the more normal pip way of distributing tools. From what i've seen, most python tools are shared via pip and wheels now. I'm working with a network messaging library (pynng) which is available via source and pip. I really dont want to go thru the rebuild-from-source thing. That is so last century unix mods.

    Secondly, when i tried using mwing's python with pyCharm it failed, saying there were various permission errors. mwing seems to like making things restricted. Maybe if i ran pyCharm as admin it might work.

    Maybe I will go with the original post's update and ditch GTK for pyside/QT. I'm not really happy with the look/feel of GTK anyway. It was just the simple solution for the rPi project I was doing.

提交回复
热议问题