سؤال

I just updated Canopy to 1.2 via the Canopy app on OS X Mavericks, I only have the OS X Python and Enthought installed. I then went into Canopy package manager and updated all packages. But some packages still show updates as available including numpy. Clicking the install button to take me from 1.7.1 to 1.8 has no effect.

When I run ipython notebook: from matplotlib.pyplot import * I get: RuntimeError Traceback (most recent call last) RuntimeError: module compiled against API version 9 but this version of numpy is 7

Clean install has no effect either, I'm still on numpy 1.7. Can't find anything via google or the Canopy kb.

Any ideas?

هل كانت مفيدة؟

المحلول

sorry,this is a bug in the package manager which is fixed In canopy 1.3, to be released at the end of the month. In the meantime, the easiest work around is the counter intuitive step of uninstalling numpy (or, in general, any similarly misbehaving package) in the package manager. We will write a Knowledge Base article explaining this, and post the link here.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top