Python and D (PyD)
Fat_Umpalumpa
davidhin at mac.com
Tue Dec 5 12:40:41 UTC 2017
Omg this was working a few days ago just fine! Now I can't even
start the histogram example! I haven't changed the code and I
know this worked a week ago.
dub still builds the program, however now when running the
program, I get an error
object.Exception at ../../../.dub/packages/pyd-0.9.9/pyd/infrastructure/pyd/extra.d(74): numpy is not available
and then many more errors as if I have a problem with python or
numpy... Crap I was installing random things with pip and may
have ruined something.
I'll post a few more errors but I think the problem is on line
(74) of the extra.d script
4 matplot_d 0x000000010c2f5262 pure
@safe void
std.exception.bailOut!(Exception).bailOut(immutable(char)[],
ulong, const(char[])) + 126
5 matplot_d 0x000000010c2f51d6 pure
@safe deimos.python.object.PyTypeObject*
std.exception.enforce!(Exception,
deimos.python.object.PyTypeObject*).enforce(deimos.python.object.PyTypeObject*, lazy const(char)[], immutable(char)[], ulong) + 106
6 matplot_d 0x000000010c31065a
deimos.python.object.PyObject*
pyd.extra.d_to_python_numpy_ndarray!(long[]).d_to_python_numpy_ndarray(long[]) + 70
7 matplot_d 0x000000010c2e8429 _Dmain
+ 73
More information about the Digitalmars-d-learn
mailing list