Thanks for your reply.
Firstly I just added bpy path to PyDev - PYTHONPATH / External Libraries in Liclipse.
Then I followed all requirements as you adviced : copy of bpy.pyd + *.dll in Python37\lib\site-packages, copy of 2.91 in Python37.
Now I get the following error:
import bpy
ImportError: DLL load failed: L’application n’a pas pu démarrer car sa configuration côte-à-côte est incorrecte. Pour plus d’informations, consultez le journal des événements des applications ou utilisez l’outil de ligne de commande sxstrace.exe.
This post said it’s fixed but is it really ?
After recompiling with WITH_WINDOWS_BUNDLE_CRT to OFF it went a step forward:
Color management: using fallback mode for management
Color management: Error could not find role data role.
BLT_lang_init: ‘locale’ data path for translations not found, continuing
Color management: scene view “Filmic” not found, setting default “Standard”.
blf_load_font_default: ‘fonts’ data path not found for ‘droidsans.ttf’, will not be able to display text
blf_load_font_default: ‘fonts’ data path not found for ‘bmonofont-i18n.ttf’, will not be able to display text
blf_load_font_default: ‘fonts’ data path not found for ‘bmonofont-i18n.ttf’, will not be able to display text
bpy: couldn’t find ‘scripts/modules’, blender probably wont start.
Freestyle: couldn’t find ‘scripts/freestyle/modules’, Freestyle won’t work properly.
Same error if I run “import bpy” in a python shell.
In fact I am not sure if it was a step forward or backward…
Thus I added datafiles and scripts paths in PyDev - PYTHONPATH / External Libraries in Liclipse and I got again this error:
ModuleNotFoundError: No module named ‘_bpy’