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

not found python library in msys2 #3167

Closed
welitonfreitas opened this Issue Jan 2, 2018 · 2 comments

Comments

Projects
None yet
3 participants
@welitonfreitas
Contributor

welitonfreitas commented Jan 2, 2018

on msys2 with python 3.6.4 returned this error:

158153 INFO: Python library not in binary dependencies. Doing additional searching...
Traceback (most recent call last):
  File "C:\msys32_2\mingw32\bin\pyinstaller-script.py", line 11, in <module>
    load_entry_point('PyInstaller==3.3.1', 'console_scripts', 'pyinstaller')()
  File "C:/msys32_2/mingw32/lib/python3.6/site-packages\PyInstaller\__main__.py", line 94, in run
    run_build(pyi_config, spec_file, **vars(args))
  File "C:/msys32_2/mingw32/lib/python3.6/site-packages\PyInstaller\__main__.py", line 46, in run_build
    PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
  File "C:/msys32_2/mingw32/lib/python3.6/site-packages\PyInstaller\building\build_main.py", line 791, in main
    build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))
  File "C:/msys32_2/mingw32/lib/python3.6/site-packages\PyInstaller\building\build_main.py", line 737, in build
    exec(text, spec_namespace)
  File "<string>", line 15, in <module>
  File "C:/msys32_2/mingw32/lib/python3.6/site-packages\PyInstaller\building\build_main.py", line 213, in __init__
    self.__postinit__()
  File "C:/msys32_2/mingw32/lib/python3.6/site-packages\PyInstaller\building\datastruct.py", line 161, in __postinit__
    self.assemble()
  File "C:/msys32_2/mingw32/lib/python3.6/site-packages\PyInstaller\building\build_main.py", line 545, in assemble
    self._check_python_library(self.binaries)
  File "C:/msys32_2/mingw32/lib/python3.6/site-packages\PyInstaller\building\build_main.py", line 629, in _check_python_library
    raise IOError(msg)
OSError: Python library not found: python36.dll, libpython3.6.dll
This would mean your Python installation doesn't come with proper library files.
This usually happens by missing development package, or unsuitable build parameters of Python installation.

* On Debian/Ubuntu, you would need to install Python development packages
  * apt-get install python3-dev
  * apt-get install python-dev
* If you're building Python by yourself, please rebuild your Python with `--enable-shared` (or, `--enable-framework` on Darwin)

in the msys enviroment exist only libpythonX.Xm.dll like cygwin

@OzymandiasTheGreat

This comment has been minimized.

OzymandiasTheGreat commented Jan 17, 2018

Having this issue. Tried installing development version from github but the issue persists.

@htgoebel

This comment has been minimized.

Member

htgoebel commented Mar 13, 2018

The pull-request solving this has jsut been merged. Please try the current development version.

Closing since I assume this is fixed.

@htgoebel htgoebel closed this Mar 13, 2018

@htgoebel htgoebel added this to the PyInstaller 3.4 milestone Sep 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment