mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-12 21:42:39 +02:00
improved detectino of sympy
This commit is contained in:
parent
e3cdeb1bb5
commit
cfdd91ae7b
1 changed files with 10 additions and 1 deletions
|
|
@ -14,6 +14,15 @@ import visualize
|
||||||
import decorators
|
import decorators
|
||||||
import classification
|
import classification
|
||||||
import latent_space_visualizations
|
import latent_space_visualizations
|
||||||
import symbolic
|
|
||||||
|
try:
|
||||||
|
import sympy
|
||||||
|
_sympy_available = True
|
||||||
|
del sympy
|
||||||
|
except ImportError as e:
|
||||||
|
_sympy_available = False
|
||||||
|
|
||||||
|
if _sympy_available:
|
||||||
|
import symbolic
|
||||||
|
|
||||||
import netpbmfile
|
import netpbmfile
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue