{"action":"closed","issue":{"url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/3362","repository_url":"https://api.github.com/repos/pyinstaller/pyinstaller","labels_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/3362/labels{/name}","comments_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/3362/comments","events_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/3362/events","html_url":"https://github.com/pyinstaller/pyinstaller/issues/3362","id":302347392,"number":3362,"title":"Unable to bundle python under Ubuntu Anaconda","user":{"login":"mase5","id":16015936,"avatar_url":"https://avatars2.githubusercontent.com/u/16015936?v=4","gravatar_id":"","url":"https://api.github.com/users/mase5","html_url":"https://github.com/mase5","followers_url":"https://api.github.com/users/mase5/followers","following_url":"https://api.github.com/users/mase5/following{/other_user}","gists_url":"https://api.github.com/users/mase5/gists{/gist_id}","starred_url":"https://api.github.com/users/mase5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mase5/subscriptions","organizations_url":"https://api.github.com/users/mase5/orgs","repos_url":"https://api.github.com/users/mase5/repos","events_url":"https://api.github.com/users/mase5/events{/privacy}","received_events_url":"https://api.github.com/users/mase5/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-05T15:38:34Z","updated_at":"2018-03-05T21:31:20Z","closed_at":"2018-03-05T21:31:20Z","author_association":"NONE","body":"I'm unable to bundle my python application under ubuntu. \r\n\r\n- Softwares versions I'm using:\r\nPyInstaller: 3.4.dev0+2611919ba\r\nPython: 3.6.2 (anaconda3 5.0.0)\r\n\r\n- Platform and which version I'm working on:\r\nDescription: Ubuntu 16.04.4 LTS\r\nRelease:\t16.04 (xenial)\r\n\r\n- The error I get when I'm trying to bundle the app:\r\n```\r\n[...]\r\n58477 INFO: Loading module hook \"hook-gevent.monkey.py\"...\r\n58612 INFO: Looking for ctypes DLLs\r\n58982 WARNING: library user32 required via ctypes not found\r\n59330 INFO: Analyzing run-time hooks ...\r\n59365 INFO: Including run-time hook 'pyi_rth__tkinter.py'\r\n59367 INFO: Including run-time hook 'pyi_rth_multiprocessing.py'\r\n59370 INFO: Including run-time hook 'pyi_rth_pkgres.py'\r\n59371 INFO: Including run-time hook 'pyi_rth_traitlets.py'\r\n59372 INFO: Including run-time hook 'pyi_rth_qt5.py'\r\n59373 INFO: Including run-time hook 'pyi_rth_mplconfig.py'\r\n59374 INFO: Including run-time hook 'pyi_rth_mpldata.py'\r\n59437 INFO: Looking for dynamic libraries\r\n63980 INFO: Looking for eggs\r\n63980 INFO: Using Python library ~/Softwares/anaconda3/5.0.0/lib/python3.6/site-packages/scipy/linalg/../../../../libpython3.6m.so.1.0\r\n64015 INFO: Warnings written to ~/build/__init__/warn__init__.txt\r\n64298 INFO: Graph cross-reference written to ~/build/__init__/xref-__init__.html\r\n64447 INFO: checking PYZ\r\n64447 INFO: Building PYZ because out00-PYZ.toc is non existent\r\n64447 INFO: Building PYZ (ZlibArchive) ~/build/__init__/out00-PYZ.pyz\r\n67927 INFO: Building PYZ (ZlibArchive) ~/build/__init__/out00-PYZ.pyz completed successfully.\r\n68011 INFO: checking PKG\r\n68011 INFO: Building PKG because out00-PKG.toc is non existent\r\n68011 INFO: Building PKG (CArchive) out00-PKG.pkg\r\nTraceback (most recent call last):\r\n  File \"~/Softwares/anaconda3/5.0.0/bin/pyinstaller\", line 11, in <module>\r\n    load_entry_point('PyInstaller==3.4.dev0+2611919ba', 'console_scripts', 'pyinstaller')()\r\n  File \"~/Softwares/anaconda3/5.0.0/lib/python3.6/site-packages/PyInstaller/__main__.py\", line 94, in run\r\n    run_build(pyi_config, spec_file, **vars(args))\r\n  File \"~/Softwares/anaconda3/5.0.0/lib/python3.6/site-packages/PyInstaller/__main__.py\", line 46, in run_build\r\n    PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)\r\n  File \"~/Softwares/anaconda3/5.0.0/lib/python3.6/site-packages/PyInstaller/building/build_main.py\", line 791, in main\r\n    build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))\r\n  File \"~/Softwares/anaconda3/5.0.0/lib/python3.6/site-packages/PyInstaller/building/build_main.py\", line 737, in build\r\n    exec(text, spec_namespace)\r\n  File \"<string>\", line 26, in <module>\r\n  File \"~/Softwares/anaconda3/5.0.0/lib/python3.6/site-packages/PyInstaller/building/api.py\", line 411, in __init__\r\n    strip_binaries=self.strip, upx_binaries=self.upx,\r\n  File \"~/Softwares/anaconda3/5.0.0/lib/python3.6/site-packages/PyInstaller/building/api.py\", line 196, in __init__\r\n    self.__postinit__()\r\n  File \"~/Softwares/anaconda3/5.0.0/lib/python3.6/site-packages/PyInstaller/building/datastruct.py\", line 161, in __postinit__\r\n    self.assemble()\r\n  File \"~/Softwares/anaconda3/5.0.0/lib/python3.6/site-packages/PyInstaller/building/api.py\", line 273, in assemble\r\n    pylib_name = os.path.basename(bindepend.get_python_library_path())\r\n  File \"~/Softwares/anaconda3/5.0.0/lib/python3.6/posixpath.py\", line 144, in basename\r\n    p = os.fspath(p)\r\nTypeError: expected str, bytes or os.PathLike object, not NoneType\r\n```\r\n\r\n\r\n"}}
{"actor":{"display_login":"htgoebel"}}