Re: Error with matplotlib

2019-02-19 Thread Samir via Digitalmars-d-learn
On Tuesday, 19 February 2019 at 11:57:00 UTC, Andre Pany wrote: The python script generates a list of available functions in the python package. This list will be used to generate D coding at compilation time. That is the reason, the error occurs in a mixin. Unfortunately one function had the

Re: Error with matplotlib

2019-02-19 Thread Andre Pany via Digitalmars-d-learn
On Tuesday, 19 February 2019 at 00:05:46 UTC, Samir wrote: On Monday, 18 February 2019 at 21:50:25 UTC, Andre Pany wrote: In the meantime you could adapt the python script on your local file system in the dub packages cache folder as described here

Re: Error with matplotlib

2019-02-18 Thread Samir via Digitalmars-d-learn
On Monday, 18 February 2019 at 21:50:25 UTC, Andre Pany wrote: In the meantime you could adapt the python script on your local file system in the dub packages cache folder as described here https://github.com/koji-kojiro/matplotlib-d/pull/11/files Andre, Thank you very much for your help

Re: Error with matplotlib

2019-02-18 Thread Andre Pany via Digitalmars-d-learn
On Monday, 18 February 2019 at 21:28:14 UTC, Samir wrote: On Monday, 18 February 2019 at 20:30:23 UTC, Andre Pany wrote: [...] Thank you for that! After installing the version of matplotlib for python2 and rerunning dub build, I now get the following error: $ dub build Performing "debug"

Re: Error with matplotlib

2019-02-18 Thread Samir via Digitalmars-d-learn
On Monday, 18 February 2019 at 20:30:23 UTC, Andre Pany wrote: The issue is, the dub package is using python 2 (it executes application python) while you have installed matplotlib for Python 3 (application python3). Thank you for that! After installing the version of matplotlib for python2

Re: Error with matplotlib

2019-02-18 Thread Andre Pany via Digitalmars-d-learn
On Monday, 18 February 2019 at 19:24:52 UTC, Samir wrote: On Monday, 18 February 2019 at 18:27:17 UTC, Andre Pany wrote: Therefore python needs to be installed and also matplotlib.pyplot. Hi Andre, I do have both python3 and matplotlib installed: $ python3 Python 3.6.7 (default, Jan 10

Re: Error with matplotlib

2019-02-18 Thread Samir via Digitalmars-d-learn
On Monday, 18 February 2019 at 18:27:17 UTC, Andre Pany wrote: Therefore python needs to be installed and also matplotlib.pyplot. Hi Andre, I do have both python3 and matplotlib installed: $ python3 Python 3.6.7 (default, Jan 10 2019, 01:15:48) [GCC 4.2.1 Compatible FreeBSD Clang 6.0.0

Re: Error with matplotlib

2019-02-18 Thread Andre Pany via Digitalmars-d-learn
On Sunday, 17 February 2019 at 20:19:23 UTC, Samir wrote: I am trying to run the code from the "Simple Example" listed in the matplotlib-d package page[1] and am running into the following error: [...] This dub packages enables you to call python coding from D. In this specific case

Error with matplotlib

2019-02-17 Thread Samir via Digitalmars-d-learn
I am trying to run the code from the "Simple Example" listed in the matplotlib-d package page[1] and am running into the following error: $ dub build Performing "debug" build using /usr/home/samir/dlang/dmd-2.082.0/freebsd/bin64/dmd for x86_64. matplotlib-d 0.1.4: building configuration