You are not logged in.

#1 2013-01-07 22:01:52

uberscientist
Member
Registered: 2012-01-27
Posts: 84

[SOLVED] MyPaint having issues starting

SOLVED:
I had an old version of numpy installed, duh. To upgrade I ran:

sudo pip-2.7 install --upgrade numpy

Old post:

[nak@arch ~]$ mypaint 
RuntimeError: module compiled against API version 7 but this version of numpy is 6

We are not correctly installed or compiled!
script: "/usr/bin/mypaint"
deduced prefix: "/usr"
lib_shared: "/usr/share/mypaint/"
lib_compiled: "/usr/lib/mypaint/"

Traceback (most recent call last):
  File "/usr/bin/mypaint", line 170, in <module>
    datapath, extradata, confpath, localepath, localepath_brushlib = get_paths()
  File "/usr/bin/mypaint", line 111, in get_paths
    from lib import mypaintlib
  File "/usr/share/mypaint/lib/mypaintlib.py", line 26, in <module>
    _mypaintlib = swig_import_helper()
  File "/usr/share/mypaint/lib/mypaintlib.py", line 18, in swig_import_helper
    import _mypaintlib
ImportError: numpy.core.multiarray failed to import

I found a bug report on Fedora here: https://bugzilla.redhat.com/show_bug.cgi?id=891788

I'm not sure exactly who to talk to regarding this, so I'm posting here, thanks a lot Arch forum! :-)

Last edited by uberscientist (2013-10-08 07:02:47)

Offline

#2 2013-01-07 22:08:00

Jodell
Member
Registered: 2009-10-09
Posts: 285

Re: [SOLVED] MyPaint having issues starting

MyPaint  is working just fine here.

Did you install it from the repos or the AUR?

Offline

#3 2013-01-07 22:23:35

uberscientist
Member
Registered: 2012-01-27
Posts: 84

Re: [SOLVED] MyPaint having issues starting

I installed from the repos, I did have an issue with /usr/bin/f2py2 existing without being owned by a package which conflicted with python2-numpy.  I removed it and re-ran the mypaint installation successfully.

Maybe I installed numpy with some other python package manager and there are conflicts? I haven't messed with python in so long. :-/

Offline

Board footer

Powered by FluxBB