Building the package on windows is not trivial.

Building on windows could be documented in a better manner. I’ll give you a 
collection of resources:

1.       Notes for distributors 
https://sourceforge.net/p/pygsl/GitRepro/ci/master/tree/doc/ref/readme_distributors.rst

2.       Helper scripts for building on windows 
https://sourceforge.net/p/pygsl/GitRepro/ci/master/tree/doc/win/

I’ll try to give you some explanations:

1.       Get Msys2. Build GSL using 
https://sourceforge.net/p/pygsl/GitRepro/ci/master/tree/doc/win/pygsl_msys2_prepare.sh

2.       Change to the pygsl source dir. Then

a.       Copy file gsl_dist / gsl_site_example.py to gsl_dist / gsl_site.py

b.      Edit it to the paths on your machine to GSL and swig

3.       Execute compilation using 
https://sourceforge.net/p/pygsl/GitRepro/ci/master/tree/doc/win/pygsl_windows_compile.bat
That’s about it
            Pierre


Von: mehrshad ghorbanzadeh [mailto:[email protected]]
Gesendet: Mittwoch, 30. Oktober 2019 12:53
An: Schnizer, Pierre <[email protected]>
Betreff: Re: problem in pygsl library

yes. I have windows 7 (32 bit) on my PC.

On Wed, Oct 30, 2019 at 12:16 PM Schnizer, Pierre 
<[email protected]<mailto:[email protected]>>
 wrote:
I guess you are using windows.

Is this correct?

Piere

Von: mehrshad ghorbanzadeh 
[mailto:[email protected]<mailto:[email protected]>]
Gesendet: Dienstag, 29. Oktober 2019 20:29
An: 
[email protected]<mailto:[email protected]>; 
[email protected]<mailto:[email protected]>
Betreff: problem in pygsl library

please fix this error :
"" Traceback (most recent call last):
  File "gsl_dist\gsl_Location.py", line 141, in __init__
    import gsl_site
ModuleNotFoundError: No module named 'gsl_site'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Python36\zpygsl-2.3.0\setup.py", line 99, in <module>
    from gsl_Extension import gsl_Extension
  File "gsl_dist\gsl_Extension.py", line 22, in <module>
    from gsl_Location import gsl_Location
  File "gsl_dist\gsl_Location.py", line 160, in <module>
    gsl_Location = _gsl_Location_file()
  File "gsl_dist\gsl_Location.py", line 148, in __init__
    raise DistutilsExecError(msg % des)
distutils.errors.DistutilsExecError: I do not know how to run gsl-config
on this system. Therefore you must provide me with the information
where to find the GSL library. I could not import `gsl_site'.
Reason: No module named 'gsl_site'. Copy gsl_site_example.py to gsl_site.py.
Edit the variables in that file to reflect your installation.  ""
thanks.

________________________________

Helmholtz-Zentrum Berlin für Materialien und Energie GmbH

Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.

Aufsichtsrat: Vorsitzender Dr. Volkmar Dietz, stv. Vorsitzende Dr. Jutta 
Koch-Unterseher
Geschäftsführung: Prof. Dr. Bernd Rech (Sprecher), Prof. Dr. Jan Lüning, Thomas 
Frederking

Sitz Berlin, AG Charlottenburg, 89 HRB 5583

Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin

________________________________

Helmholtz-Zentrum Berlin für Materialien und Energie GmbH

Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.

Aufsichtsrat: Vorsitzender Dr. Volkmar Dietz, stv. Vorsitzende Dr. Jutta 
Koch-Unterseher
Geschäftsführung: Prof. Dr. Bernd Rech (Sprecher), Prof. Dr. Jan Lüning, Thomas 
Frederking

Sitz Berlin, AG Charlottenburg, 89 HRB 5583

Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin
_______________________________________________
pygsl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pygsl-discuss

Reply via email to