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

DLL load failed #295

Closed
yanglipmed opened this issue Sep 28, 2018 · 7 comments
Closed

DLL load failed #295

yanglipmed opened this issue Sep 28, 2018 · 7 comments

Comments

@yanglipmed
Copy link

I am using Python3.5 on Windows 10. Get an error:

E:\Anaconda3\lib\site-packages\ecell4_init_.py in ()
----> 1 from ecell4.core import *
2 from ecell4.util import *
3 from ecell4 import bd, ode, gillespie, egfrd, spatiocyte, meso
4
5 version = '4.1.4'

ImportError: DLL load failed: The specified procedure could not be found.

@kaizu
Copy link
Member

kaizu commented Sep 28, 2018

Thank you for reporting. I reproduced this issue.

@kaizu
Copy link
Member

kaizu commented Sep 28, 2018

cztomczak/cefpython#359

@yanglipmed
Copy link
Author

I had installed Visual C++ Redistributable for VS2015, and there is already a msvcp140.dll in my Python 3.5 root directory.
I created an environment of Python 3.6 within anaconda. ecell4 works perfectly.

@yanglipmed
Copy link
Author

Both my Python 3.5 and Python 3.6 are 64bit.

@kaizu
Copy link
Member

kaizu commented Sep 28, 2018

ecell works on Python 3.5 32bit with the specific version of hdf5:

conda install hdf5==1.8.17

I'll try 64bit next.

@kaizu
Copy link
Member

kaizu commented Sep 28, 2018

It works on Python 3.5 64bit (Windows 10 64bit).

I'll show what I did below:

# Install miniconda Python 3.7 64-bit (https://conda.io/miniconda.html)
# Launch Anaconda Prompt
(base) conda create -n py35 python=3.5 conda
(base) conda activate py35
(py35) conda install hdf5=1.8.17
(py35) pip install ecell
(py35) python
Python 3.5.6 |Anaconda, Inc.| (default, Aug 26 2018, 16:05:27) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import ecell4

See also: https://github.com/ecell/ecell4/blob/master/INSTALL.md

@yanglipmed
Copy link
Author

Thanks

@kaizu kaizu closed this as completed Sep 30, 2018
@kaizu kaizu added document and removed bug labels Sep 30, 2018
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

3 participants