-
Notifications
You must be signed in to change notification settings - Fork 6
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
Import error #6
Comments
Hi, Otherwise, python 2 should work out of the box. Cheers, |
Kit:
Thanks for pointing me in the right direction. I tried the version off the
GitHub and compiled using
python setup.py config --compiler=mingw32 build --compiler=mingw32 install
but still got errors. I'm on Windows 10 and using MinGW-w64. Think either
of those could be a problem?
Thanks.
John
…On Fri, Dec 21, 2018 at 2:02 PM Wing-Kit Lee ***@***.***> wrote:
Hi,
There were some changes in Python 3 regarding how to import modules. Check
out my fork below (or the recent pull request here) that I have fixed this:
https://github.com/wingkitlee0/scikits.bvp_solver
Otherwise, python 2 should work out of the box.
Cheers,
Kit
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Ar4jMk55hgAkBwFZNJxGeYxq_FHB7WOXks5u7VpbgaJpZM4ZfFz4>
.
--
John Meloling
|
What errors you got? I think that might be due to some generic windows+python+gfortran library problems. You may get more help on elsewhere since there is no enough manpower here. Also, you should try the "bash on ubuntu on windows" on win 10. it's basically a Linux bash shell and I have no problem using any python packages in there (e.g., install anaconda). |
Hi John, Here is a workaround, which I tested on my windows machine (win 10 + python 3 (anaconda) + gfortran (ming-w64) + cmd prompt):
Note: No "--compiler=mingw32" flag needed if gfortran is the only fortran you have. Cheers, |
Hi Kit: I used windows 11 (win 11 + python 3 (anaconda) + gfortran (ming-w64) + cmd prompt), and I followed the steps that you shared, and it seems to have installed successfully. However, when I tested ExampleC1.py, I encountered the following error D:\Python_install_no_delete\python.exe "D:\google chrome download\scikits.bvp_solver-master\scikits.bvp_solver-master\scikits\bvp_solver\examples\ExampleC1.py" Thanks |
I have fixed this error. I added the following code in the top row: Thanks |
I just installed scikits.bvp_solver. It seemed to install ok, but I get the following error.
import scikits.bvp_solver
Traceback (most recent call last):
File "", line 1, in
import scikits.bvp_solver
File "C:\Users\John\Anaconda3\lib\site-packages\scikits\bvp_solver_init_.py", line 1, in
from solver import solve
ModuleNotFoundError: No module named 'solver'
Any thoughts?
The text was updated successfully, but these errors were encountered: