Python module error - beginner -
so i'm trying import appkit python project. using pycharm, every time try import, following error message:
you using pip version 6.0.8, version 6.1.1 available. should consider upgrading via 'pip install --upgrade pip' command. collecting appkit using cached appkit-0.2.8.tar.gz collecting flask (from appkit) using cached flask-0.10.1.tar.gz collecting pygobject (from appkit) using cached pygobject-2.28.3.tar.bz2 traceback (most recent call last): file "<string>", line 20, in <module complete output command python setup.py egg_info: traceback (most recent call last): file "<string>", line 20, in <module ---------------------------------------- command "python setup.py egg_info" failed error code 1 in /private/var/folders/3p/csss5m7x30ldjd4z0xt6sg380000gn/t/pycharm-packaging0.tmp/pygobject
i've tried running command directly through terminal etc, , have upgraded version of pip 6.1.1 well.
not sure if beginner's mistake making, or if there wrong installs of pip or python.
any advice great, :d
first, "importing" , "installing" not same thing. installing how pypi package, , of dependencies, onto computer, can use modules. importing how use module that's on computer.
second, there 2 different things named appkit, , think you've gotten them confused.
if you're on mac, you're trying use import appkit
pyobjc
wrapper around native cocoa framework named appkit
. if don't have pyobjc installed (i believe comes apple's built-in python on os x 10.8-10.10), pip install pyobjc
, not pip install appkit
.
if you're on linux or freebsd or similar, may trying import appkit
appkit
framework building gnome gui apps out of html , javascript. (although in stages, don't think want it.) that, pip install appkit
is want. may need install system packages gnome development first apt-get
or urpmi
or whatever's appropriate system.
if you're on windows or else, neither 1 of these makes sense, so… you're not. :)
Comments
Post a Comment