mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-04 19:10:09 +01:00
Don't mess with the natural ImportError if numpy is not available.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -36,11 +36,7 @@ from __future__ import division
|
|||||||
import sys
|
import sys
|
||||||
mac = sys.platform.startswith("darwin")
|
mac = sys.platform.startswith("darwin")
|
||||||
|
|
||||||
try:
|
import numpy as N
|
||||||
import numpy as N
|
|
||||||
except ImportError:
|
|
||||||
raise ImportError("I could not import numpy")
|
|
||||||
|
|
||||||
from time import clock
|
from time import clock
|
||||||
import wx
|
import wx
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user