When trying to do a build getting assertion error,
It sometimes works some times throws this error
207 INFO: Appending 'datas' from .spec
208 INFO: checking Analysis
208 INFO: Building Analysis because Analysis-00.toc is non existent
208 INFO: Initializing module dependency graph...
209 INFO: Caching module graph hooks...
216 INFO: Analyzing base_library.zip ...
618 INFO: Loading module hook 'hook-heapq.py' from
'/usr/local/lib/python3.8/dist-packages/PyInstaller/hooks'...
691 INFO: Loading module hook 'hook-encodings.py' from
'/usr/local/lib/python3.8/dist-packages/PyInstaller/hooks'...
1657 INFO: Loading module hook 'hook-pickle.py' from
'/usr/local/lib/python3.8/dist-packages/PyInstaller/hooks'...
2230 INFO: Caching module dependency graph...
2307 INFO: Running Analysis Analysis-00.toc
2307 INFO: Looking for Python shared library...
Traceback (most recent call last):
File "/usr/local/bin/pyinstaller", line 8, in <module>
sys.exit(_console_script_run())
File "/usr/local/lib/python3.8/dist-packages/PyInstaller/__main__.py",
line 214, in _console_script_run
run()
File "/usr/local/lib/python3.8/dist-packages/PyInstaller/__main__.py",
line 198, in run
run_build(pyi_config, spec_file, **vars(args))
File "/usr/local/lib/python3.8/dist-packages/PyInstaller/__main__.py",
line 69, in run_build
PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
File
"/usr/local/lib/python3.8/dist-packages/PyInstaller/building/build_main.py",
line 1071, in main
build(specfile, distpath, workpath, clean_build)
File
"/usr/local/lib/python3.8/dist-packages/PyInstaller/building/build_main.py",
line 1011, in build
exec(code, spec_namespace)
File "/usr/src/dast_client.spec", line 8, in <module>
a = Analysis(
File
"/usr/local/lib/python3.8/dist-packages/PyInstaller/building/build_main.py",
line 470, in __init__
self.__postinit__()
File
"/usr/local/lib/python3.8/dist-packages/PyInstaller/building/datastruct.py",
line 184, in __postinit__
self.assemble()
File
"/usr/local/lib/python3.8/dist-packages/PyInstaller/building/build_main.py",
line 578, in assemble
python_lib = bindepend.get_python_library_path()
File
"/usr/local/lib/python3.8/dist-packages/PyInstaller/depend/bindepend.py",
line 803, in get_python_library_path
python_libname = findLibrary(name)
File
"/usr/local/lib/python3.8/dist-packages/PyInstaller/depend/bindepend.py",
line 558, in resolve_library_path
fullpath = _resolve_library_path_unix(name)
File
"/usr/local/lib/python3.8/dist-packages/PyInstaller/depend/bindepend.py",
line 632, in _resolve_library_path_unix
assert os.path.isfile(lib)
AssertionError
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/pyinstaller/6932ce66-82f5-4a00-a51e-70b18fc3e620n%40googlegroups.com.