esa / pygmo2

A Python platform to perform parallel computations of optimisation tasks (global and local) via the asynchronous generalized island model.
https://esa.github.io/pygmo2/
Mozilla Public License 2.0
414 stars 56 forks source link

[BUG] Build and install for python 3.6 32 bit import error #111

Open hamedgibago opened 1 year ago

hamedgibago commented 1 year ago

ImportError: DLL load failed: The specified module could not be found. After compiling pagmo2 c++ library and after that building pygmo2 from source in windows 10 64 bit and python 3.6 32 bit, It was successfully installed, but when I want to import module I get this error: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Users\Station - Windows 10\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pygmo\__init__.py", line 13, in <module> from .core import * ImportError: DLL load failed: The specified module could not be found.

Screenshots image

I get my python site-packages folder from this command during installation from url of documentation of installation:

https://esa.github.io/pygmo2/install.html python -m site --user-site

Installation copied files here:

image

I also copied pygmo folder from picture above to this site-packages of python, but nothing changed:

image

Environment: