Comments (1)
Hi @milen-prg I have the same issue when I try to switch to tyhe python 3.6 to 3.11.4 because Visual Code Studio can't use python 3.6. I don't have the solution, but I have some clues about the issue.
First, we try to use this package with python 3.11 when it's only be test with the version 3.8. So that normal that we have some issue there.
Second, like you said is not the pip the issue, but is a missing file in the tempoary file that was download.
To be precisly it's the gsl_site.py that not in the reposity. If you download the new release an go to [extract file]\pygsl-2.3.3\gsl_dist the no gsl_site.py.
You need to create this file with this in it:
# Some systems do not provide gsl-config. So here the locations can be entered
# by hand.
import os
# The path to the directory where gsl is installed. Currently setup.py assumes
# that the include files are located in "prefix/include".
prefix = os.path.join("C:\\", "OpenSource", "local")
cflags = "-g -I" + os.path.join(prefix, "include")
libs = "-L" + os.path.join(prefix, "lib")+ " -lgsl -lgslcblas -lm"
# Enter the correct GSL versions by hand..
version = "2.7"
# swig_extension.py needs swig to generate the approbriate wrapper files. This
# variable only needs to be correct is you use USE_SWIG=1 in setup.py
swig = os.path.join("C:\\", "OpenSource", "swig", "swig-4.1.1", "swig")
#swig = os.path.join("C:\\", "Programs", "Swig", "SWIG-1.3.19", "swig")
Also, be sure to have the latest wheel package and swig pacakge.
Afther that open a bash command and type python setup.py gsl_wrappers
the result should be:
<swig_extension.SWIG_Extension('__callback') at 0x25b364dc350>
Building testing ufuncs!
#29 extension modules
running gsl_wrappers
Exporting parser tree using swig: ['C:\\OpenSource\\swig\\swig-4.1.1\\swig', '-I
C:\\OpenSource\\local\\include', '-xml', 'C:\\Users\\Alexandre\\Downloads\\pygsl
-2.3.3.tar\\pygsl-2.3.3\\pygsl-2.3.3\\testing\\src\\sf\\sf.i']
error: [WinError 2] The system cannot find the file specified
Now that where I am I need to figure it out how to solve this swig error.
The other option like mention here is to install manually GSL Library and rebuild the Wrapper from scrath.
If you want all step I made with more detail. I have post a question on stack.
from pygsl.
Related Issues (20)
- Move GSL "special functions" out of ``testing`` module HOT 1
- Module not found pygsl.errno HOT 2
- Do the pygsl library has the corresponding API of the chapter "Sparse Matrix" in the gsl document ?
- Starter in this HOT 4
- I can't install using pip "ModuleNotFoundError: No module named 'gsl_site'" HOT 3
- Some issue in installation in pygsl on Mac OS (with M1 chip) HOT 1
- PyObject_GC_UNTRACK is deprecated HOT 2
- pypi release HOT 6
- pygsl no longer compiles with python3.12 HOT 2
- GPL 2.0 while GSL is under GPL 3.0
- could not start gsl-config HOT 3
- Setup config error (Windows) HOT 1
- Remove dependency on `numpy.distutils` since it is deprecated and it will be removed from numpy HOT 3
- Failure to compile with gcc 14 HOT 8
- [Bug]: Impossible to install
- siman.py invalid import HOT 2
- Some tests fail HOT 10
- Multinomial Example HOT 2
- Installing pygsl issues HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pygsl.