-
Notifications
You must be signed in to change notification settings - Fork 5
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
Comments
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. |
A request has been put to add a recipe to conda-forge,,, |
Hey Charlesll, Can you provide some installation steps in Windows? Thanks. |
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, |
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. |
GM Charleslls,
Thanks a lot for this quick reply, I have tried to use PY3.8 and I download
the .whl file then pip install it. Installation success. But when I import
it it shows me missing DLL file:
File
"C:\Users\shaol\.conda\envs\testGCVSpline\lib\site-packages\gcvspline\gcvspline.py",
line 12, in <module>
from . import _gcvspl as gcvspl
ImportError: DLL load failed while importing _gcvspl: The specified module
could not be found.
I am on:
import sys; print('Python %s on %s' % (sys.version, sys.platform))
Python 3.8.18 (default, Sep 11 2023, 13:39:12) [MSC v.1916 64 bit (AMD64)]
on win32
I appreciate your help and I was touched you are still supporting this
project. Just want to express my deep thankfulness for you!
Thanks,
Alan
…On Sat, Feb 10, 2024 at 5:17 AM Charles Le Losq ***@***.***> wrote:
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.
—
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AH5RAHKGKARGMIB2C2VF4QDYS5CLXAVCNFSM4FFDGA5KU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJTGY4TMMZSGU4Q>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I will check, I am surprised, I have a Windows 11 VM so that I can try it too. |
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?
The text was updated successfully, but these errors were encountered: