{"action":"created","issue":{"url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/3030","repository_url":"https://api.github.com/repos/pyinstaller/pyinstaller","labels_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/3030/labels{/name}","comments_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/3030/comments","events_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/3030/events","html_url":"https://github.com/pyinstaller/pyinstaller/issues/3030","id":276036069,"number":3030,"title":"No module named 'csv' adding bulk imports","user":{"login":"tysondogerz","id":33599956,"avatar_url":"https://avatars1.githubusercontent.com/u/33599956?v=4","gravatar_id":"","url":"https://api.github.com/users/tysondogerz","html_url":"https://github.com/tysondogerz","followers_url":"https://api.github.com/users/tysondogerz/followers","following_url":"https://api.github.com/users/tysondogerz/following{/other_user}","gists_url":"https://api.github.com/users/tysondogerz/gists{/gist_id}","starred_url":"https://api.github.com/users/tysondogerz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tysondogerz/subscriptions","organizations_url":"https://api.github.com/users/tysondogerz/orgs","repos_url":"https://api.github.com/users/tysondogerz/repos","events_url":"https://api.github.com/users/tysondogerz/events{/privacy}","received_events_url":"https://api.github.com/users/tysondogerz/received_events","type":"User","site_admin":false},"labels":[{"id":150880045,"url":"https://api.github.com/repos/pyinstaller/pyinstaller/labels/need%20info","name":"need info","color":"c7def8","default":false},{"id":139086564,"url":"https://api.github.com/repos/pyinstaller/pyinstaller/labels/support","name":"support","color":"009800","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-11-22T11:35:01Z","updated_at":"2017-11-22T14:38:39Z","closed_at":null,"author_association":"NONE","body":"ModuleNotFoundError: No module named 'csv'\r\nI am wanting to load lots of imports. I have read you can add modules individually through the spec file, but I have lots of imports. Any ideas how I can add a collection of imports so my job can run\r\n\r\nSpec file: - Tried to Adjust pathex, in the hopes it would grab hiddenimports, hookspath to include Miniconda library but I don't think this is supported.\r\n\r\n\r\n```\r\nblock_cipher = None\r\n\r\na = Analysis(['main.py'],\r\n             pathex=['C:\\\\Users\\\\H1\\\\example-of-cython-pyinstaller-and-subzero', 'C:\\\\Users\\\\H1\\\\AppData\\\\Local\\\\Continuum\\\\miniconda3\\\\Lib'],\r\n             binaries=[],\r\n             datas=None,\r\n             hiddenimports=['Main.py', 'C:\\\\Users\\\\H1\\\\AppData\\\\Local\\\\Continuum\\\\miniconda3\\\\Lib'],\r\n             hookspath=['C:\\\\Users\\\\H1\\\\AppData\\\\Local\\\\Continuum\\\\miniconda3\\\\Lib'],\r\n             runtime_hooks=[],\r\n             excludes=[],\r\n             win_no_prefer_redirects=False,\r\n             win_private_assemblies=False,\r\n             cipher=block_cipher)\r\na.datas += [('logo.ico','C:\\\\vv.ico','DATA')]\r\npyz = PYZ(a.pure, a.zipped_data,\r\n             cipher=block_cipher)\r\nexe = EXE(pyz,\r\n          a.scripts,\r\n          a.binaries,\r\n          a.zipfiles,\r\n          a.datas,\r\n          name='VB BABY',\r\n          debug=False,\r\n          strip=False,\r\n          upx=True,\r\n          runtime_tmpdir=None,\r\n          console=True , icon='C:\\\\vv.ico')\r\n```"},"comment":{"url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/comments/346368531","html_url":"https://github.com/pyinstaller/pyinstaller/issues/3030#issuecomment-346368531","issue_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/3030","id":346368531,"user":{"login":"tysondogerz","id":33599956,"avatar_url":"https://avatars1.githubusercontent.com/u/33599956?v=4","gravatar_id":"","url":"https://api.github.com/users/tysondogerz","html_url":"https://github.com/tysondogerz","followers_url":"https://api.github.com/users/tysondogerz/followers","following_url":"https://api.github.com/users/tysondogerz/following{/other_user}","gists_url":"https://api.github.com/users/tysondogerz/gists{/gist_id}","starred_url":"https://api.github.com/users/tysondogerz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tysondogerz/subscriptions","organizations_url":"https://api.github.com/users/tysondogerz/orgs","repos_url":"https://api.github.com/users/tysondogerz/repos","events_url":"https://api.github.com/users/tysondogerz/events{/privacy}","received_events_url":"https://api.github.com/users/tysondogerz/received_events","type":"User","site_admin":false},"created_at":"2017-11-22T14:38:39Z","updated_at":"2017-11-22T14:38:39Z","author_association":"NONE","body":">>>>>>>>>>>>>>>>>>>IMPORTS<<<<<<<<<<<<<<<<<<<<<\r\n\r\n```\r\nimport csv\r\nimport inspect\r\nimport os\r\nimport random\r\nimport sys\r\nimport time\r\nimport selenium\r\nimport selenium.common.exceptions as SeleniumExceptions\r\nfrom selenium import webdriver\r\n```\r\n\r\n\r\n>>>>>>>>>>>>>>>>>>>ERROR CODE<<<<<<<<<<<<<<<<<<<<<\r\n\r\n\r\n```\r\nDevTools listening on ws:\r\nTraceback (most recent call last):\r\n  File \"main.py\", line 28, in <module>\r\n  File \"main.py\", line 22, in main\r\n  File \"C:\\Users\\H1\\AppData\\Local\\Continuum\\miniconda3\\lib\\site-packages\\PyInstaller\\loader\\pyimod03_importers.py\", line 714, in load_module\r\n    module = loader.load_module(fullname)\r\n  File \"myapp\\cython_module.pyx\", line 3, in init myapp.cython_module\r\nModuleNotFoundError: No module named 'csv'\r\n[14952] Failed to execute script main \r\n\r\n```\r\n\r\n\r\n\r\n>>>>>>>>>>>>>>>>>>>MODULES<<<<<<<<<<<<<<<<<<<<<\r\n\r\n```\r\nMissing imports text file:\r\nMissing imports text file:\r\nmissing module named resource - imported by posix, C:\\Users\\H1\\example-of-cython-pyinstaller-and-subzero\\main.py\r\nmissing module named posix - imported by os, C:\\Users\\H1\\example-of-cython-pyinstaller-and-subzero\\main.py\r\nmissing module named _posixsubprocess - imported by subprocess, C:\\Users\\H1\\example-of-cython-pyinstaller-and-subzero\\main.py\r\nmissing module named readline - imported by cmd, code, pdb, C:\\Users\\H1\\example-of-cython-pyinstaller-and-subzero\\main.py\r\nexcluded module named _frozen_importlib - imported by importlib, importlib.abc, C:\\Users\\H1\\example-of-cython-pyinstaller-and-subzero\\main.py\r\nmissing module named _frozen_importlib_external - imported by importlib._bootstrap, importlib, importlib.abc, C:\\Users\\H1\\example-of-cython-pyinstaller-and-subzero\\main.py\r\nmissing module named _winreg - imported by platform, selenium.webdriver.firefox.firefox_binary, C:\\Users\\H1\\example-of-cython-pyinstaller-and-subzero\\main.py\r\nmissing module named _scproxy - imported by urllib.request\r\nmissing module named java - imported by platform, C:\\Users\\H1\\example-of-cython-pyinstaller-and-subzero\\main.py\r\nmissing module named 'java.lang' - imported by platform, xml.sax._exceptions, C:\\Users\\H1\\example-of-cython-pyinstaller-and-subzero\\main.py\r\nmissing module named vms_lib - imported by platform, C:\\Users\\H1\\example-of-cython-pyinstaller-and-subzero\\main.py\r\nmissing module named termios - imported by tty, getpass, C:\\Users\\H1\\example-of-cython-pyinstaller-and-subzero\\main.py\r\nmissing module named grp - imported by shutil, tarfile, C:\\Users\\H1\\example-of-cython-pyinstaller-and-subzero\\main.py\r\nmissing module named _dummy_threading - imported by dummy_threading, C:\\Users\\H1\\example-of-cython-pyinstaller-and-subzero\\main.py\r\nmissing module named 'org.python' - imported by copy, xml.sax, C:\\Users\\H1\\example-of-cython-pyinstaller-and-subzero\\main.py\r\nmissing module named pwd - imported by posixpath, shutil, tarfile, http.server, webbrowser, netrc, getpass, C:\\Users\\H1\\example-of-cython-pyinstaller-and-subzero\\main.py\r\nmissing module named org - imported by pickle, C:\\Users\\H1\\example-of-cython-pyinstaller-and-subzero\\main.py\r\nmissing module named urllib2 - imported by selenium.webdriver.common.utils, selenium.webdriver.remote.remote_connection, selenium.webdriver.common.service\r\nmissing module named StringIO - imported by selenium.webdriver.remote.webelement\r\nmissing module named urlparse - imported by selenium.webdriver.remote.remote_connection\r\nmissing module named httplib - imported by selenium.webdriver.firefox.webdriver, selenium.webdriver.remote.remote_connection, selenium.webdriver.safari.webdriver, selenium.webdriver.blackberry.webdriver\r\nmissing module named cStringIO - imported by selenium.webdriver.firefox.firefox_profile\r\nmissing module named copy_reg - imported by cStringIO \r\n```"}}
{"actor":{"display_login":"tysondogerz"}}