mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-07-21 12:41:10 +02: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
|
||||
mac = sys.platform.startswith("darwin")
|
||||
|
||||
try:
|
||||
import numpy as N
|
||||
except ImportError:
|
||||
raise ImportError("I could not import numpy")
|
||||
|
||||
import numpy as N
|
||||
from time import clock
|
||||
import wx
|
||||
|
||||
|
Reference in New Issue
Block a user