Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Easy installation on Windows? #9

Open
charlesll opened this issue Jun 14, 2018 · 7 comments
Open

Easy installation on Windows? #9

charlesll opened this issue Jun 14, 2018 · 7 comments

Comments

@charlesll
Copy link
Owner

Many Microsoft Windows users run into the problem of compilating the Fortran shared library.

Could this be solved by building a compiled wheel under windows and adding it to pypi?

@charlesll
Copy link
Owner Author

Using AppVeyor, Python wheels have been built in 64 bits for Windows for Python 2.7, 3.4 and 3.6. A 32 bit wheel was also buit for Python 3.6.

@charlesll
Copy link
Owner Author

A request has been put to add a recipe to conda-forge,,,

@Alan-Du
Copy link

Alan-Du commented Feb 9, 2024

Hey Charlesll,
I am using Windows and I have installed with pip install and fortran and gcc it works through, but after I import it in python. It shows me : from . import _gcvspl as gcvspl
ImportError: DLL load failed while importing _gcvspl: The specified module could not be found.

Can you provide some installation steps in Windows? Thanks.

@charlesll
Copy link
Owner Author

Dear Alan,

The installation steps are the exactly same. Actually for Windows you don't need fortran or gcc, because they simply don't work during Python installations. Therefore I have created special pre-compiled packages for Windows in the past (see comment above). However, I did not do it for some time now (I don't have Windows), so I will need to update them to support Python 3.11 for instance.

Another easy way to solve this: you could also use a Docker container or a Linux virtual machine. It makes computer programming much easier than dealing with the Windows operating system nonsense...

I will tell you when I have a working Wheel in Python 3.11 uploaded, so that you can test the installation on Windows.

Best,
Charles.

@charlesll
Copy link
Owner Author

Also, I see that I already uploaded a version for Python 3.8, so if you are in a rush, please use Python 3.8 in a new conda environment. I will upload version for Python up to 3.11 next week.

@Alan-Du
Copy link

Alan-Du commented Feb 10, 2024 via email

@charlesll
Copy link
Owner Author

I will check, I am surprised, I have a Windows 11 VM so that I can try it too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants