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
capytaine with miniconda on Windows 10 #1
Comments
Hi, Yeah, there is a problem with the packaging of the precompiled Fortran extension on Windows and I haven't had the time to investigate it yet. Sorry about that. I'll try to fix it as soon as possible. In the mean time, the Linux version of the package should work. Or you can try to compile it yourself (https://ancell.in/capytaine/latest/developer_manual/installation.html). |
I investigated the problem a bit: The compiled dll for NemohCore (.pyd file) can be found in the anaconda package. According to Dependency walker, there is among them
There is also Dependency walker also mentions a lot of dll for Windows API. Hopefully, the build is not too platform specific. To be continued... |
To @sdillenburg or whoever else is reading this thread: Would you mind downloading this anaconda package https://ancell.in/tmp/capytaine-0.5.1-py36h39e3cac_0.tar.bz2, installing it with It has been build on another system and I'd like to check if it changes anything... |
Sorry for the late reply. The installation files attached to the previous post yield the same error. |
Thanks for your help. |
I have tested it on two different 64-bit machines (both running Windows 10) |
Not much new, the Windows version is still broken. But Windows user might be interested to know that the Linux version of Capytaine on |
Dear Mancellin, After some tests, the LINUX package on Windows Subsystem like VMWARE is not working for animation features due to the subsystem softwares not supporting high version of OPGL. When animation functions are called, the kernel died and hard to restart. I have tests on 3 PCs and all give the same problems. |
@CNwave For the animation, maybe you can try to call |
I have strawberry perl installed, which provides the gnu compiler tools in PATH: `Microsoft Windows [Version 10.0.17763.503] C:\Users\xxx>where perl C:\Users\xxx>where gcc C:\Users\xxx>where gfortran C:\Users\xxx>` I can build and run capytaine from the source. after installing all dependencies by Download the capytaine source, build using the python version i'm using is 3.7.3. actually, capytaine needs 3.6 and above. |
@sofair Thank you for your feedback. Indeed, the code should work fine as long as you have a Fortran compiler available and you compile it yourself. The conda community seems to be working on the distribution of compilers for all platforms including Windows, so I have hope that our packaging problem will soon be fixable. |
I tried again to compile Capytaine with the conda-forge toolchain. |
From the few feedback I've received, everything seems to be working on Windows. Feel free to comment and reopen the issue if there is any trouble. |
Yes, it is failing to load the compiled Fortran code. When you say that you updated Capytaine, do you mean that the previous version from conda-forge you had was working fine? Was does |
Maybe the use of Windows Subsystem for Linux (WSL) it is an acceptable workaround? |
The build in your
|
Thank you sdillenburg. I wanted to run Capytaine from command line as a step to get a separate .exe for Capytaine to be run without python knowledge. |
Ok. Nobody reported an issue on Windows recently, so unless you are the only one to download the code on Windows in the last months, the issue is probably not with the compiled file itself. (I have no Windows machine with me to try to repeat the error...) |
I have tried it in other PC with Windows 7 obtaining the same error. I am going to reinstall Python in that computer (I prefer not to smash my install :-) ) |
After an hyper-slow Anaconda reinstall in other PC, I have just run Capytaine from Anaconda Powershell Prompt instead of from a command line in my PC... everything runs!! :-) |
I have encountered the similar issue again with error message:
after importing. Any ideas how to fix it? |
@Maselko Not sure why the compiled Fortran core of Capytaine could be missing. |
I am away from the computer at the moment. I will check as soon as I get back. Thank you |
Hi all,
When installing capytaine on Windows 10, I get the following error message:
The text was updated successfully, but these errors were encountered: