esa / esa/pygmo2

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

Open
#111 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
536
Forks
74
PR merge metrics
No merged PRs in 30d

Description

**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 "", line 1, in
File "C:\Users\Station - Windows 10\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pygmo\__init__.py", line 13, in
from .core import *
ImportError: DLL load failed: The specified module could not be found.`

**Screenshots**
![image](https://user-images.githubusercontent.com/3177023/201525364-37872180-37df-49c6-b091-eb8fee8b2b69.png)

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](https://user-images.githubusercontent.com/3177023/201525524-7e68eaa7-da0f-47bb-b71b-7571f0c3b0ed.png)

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

![image](https://user-images.githubusercontent.com/3177023/201525584-40c057f6-3b50-42db-91fd-e51a3b7d10fe.png)

**Environment:**
- OS: Windows 10 64 bit
- Installation method: source
- Version: [e.g. 2.15]

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the source-build instructions at https://esa.github.io/pygmo2/install.html and the installed pygmo/__init__.py, where the failing `.core` import is shown. Reproduce the Windows 10 64-bit and Python 3.6 32-bit build, then identify why the compiled module cannot load; done means importing pygmo succeeds after a documented source installation.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
build-system, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.