Skip to content

Instantly share code, notes, and snippets.

@Govinda-Fichtner
Created April 13, 2018 10:49
Show Gist options
  • Save Govinda-Fichtner/c4b8a29f710212fe59da1e8a0d6badca to your computer and use it in GitHub Desktop.
Save Govinda-Fichtner/c4b8a29f710212fe59da1e8a0d6badca to your computer and use it in GitHub Desktop.
Error output for "pip install komodo-python-dbgp"
pip install komodo-python-dbgp  1 ↵  1686  12:47:35
Collecting komodo-python-dbgp
Using cached komodo-python-dbgp-11.0.tar.gz
Building wheels for collected packages: komodo-python-dbgp
Running setup.py bdist_wheel for komodo-python-dbgp ... error
Complete output from command /Users/gf/.pyenv/versions/2.7.14/envs/sls-authentication/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/private/var/folders/p6/0cbc7_z93013qwwzd246rh880000gq/T/pip-build-Emq1hQ/komodo-python-dbgp/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /var/folders/p6/0cbc7_z93013qwwzd246rh880000gq/T/tmpuPnEPtpip-wheel- --python-tag cp27:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.13-x86_64-2.7
creating build/lib.macosx-10.13-x86_64-2.7/dbgp
copying dbgp/server.py -> build/lib.macosx-10.13-x86_64-2.7/dbgp
copying dbgp/serverBase.py -> build/lib.macosx-10.13-x86_64-2.7/dbgp
copying dbgp/client.py -> build/lib.macosx-10.13-x86_64-2.7/dbgp
copying dbgp/__init__.py -> build/lib.macosx-10.13-x86_64-2.7/dbgp
copying dbgp/common.py -> build/lib.macosx-10.13-x86_64-2.7/dbgp
copying dbgp/listcmd.py -> build/lib.macosx-10.13-x86_64-2.7/dbgp
copying dbgp/_pyclient.py -> build/lib.macosx-10.13-x86_64-2.7/dbgp
running build_ext
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/p6/0cbc7_z93013qwwzd246rh880000gq/T/pip-build-Emq1hQ/komodo-python-dbgp/setup.py", line 71, in <module>
cmdclass={"build_ext": Dbgp_build_ext}, # WE provide our own build
File "/Users/gf/.pyenv/versions/2.7.14/envs/sls-authentication/lib/python2.7/site-packages/setuptools/__init__.py", line 129, in setup
return distutils.core.setup(**attrs)
File "/Users/gf/.pyenv/versions/2.7.14/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/Users/gf/.pyenv/versions/2.7.14/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/Users/gf/.pyenv/versions/2.7.14/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/Users/gf/.pyenv/versions/2.7.14/envs/sls-authentication/lib/python2.7/site-packages/wheel/bdist_wheel.py", line 202, in run
self.run_command('build')
File "/Users/gf/.pyenv/versions/2.7.14/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/Users/gf/.pyenv/versions/2.7.14/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/Users/gf/.pyenv/versions/2.7.14/lib/python2.7/distutils/command/build.py", line 127, in run
self.run_command(cmd_name)
File "/Users/gf/.pyenv/versions/2.7.14/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/Users/gf/.pyenv/versions/2.7.14/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/Users/gf/.pyenv/versions/2.7.14/lib/python2.7/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/private/var/folders/p6/0cbc7_z93013qwwzd246rh880000gq/T/pip-build-Emq1hQ/komodo-python-dbgp/setup.py", line 27, in build_extensions
sourcepath = os.path.join(scriptdir, 'libs', plat)
UnboundLocalError: local variable 'plat' referenced before assignment
----------------------------------------
Failed building wheel for komodo-python-dbgp
Running setup.py clean for komodo-python-dbgp
Failed to build komodo-python-dbgp
Installing collected packages: komodo-python-dbgp
Running setup.py install for komodo-python-dbgp ... error
Complete output from command /Users/gf/.pyenv/versions/2.7.14/envs/sls-authentication/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/private/var/folders/p6/0cbc7_z93013qwwzd246rh880000gq/T/pip-build-Emq1hQ/komodo-python-dbgp/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/p6/0cbc7_z93013qwwzd246rh880000gq/T/pip-RF5Wna-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/gf/.pyenv/versions/2.7.14/envs/sls-authentication/include/site/python2.7/komodo-python-dbgp:
running install
running build
running build_py
creating build
creating build/lib.macosx-10.13-x86_64-2.7
creating build/lib.macosx-10.13-x86_64-2.7/dbgp
copying dbgp/server.py -> build/lib.macosx-10.13-x86_64-2.7/dbgp
copying dbgp/serverBase.py -> build/lib.macosx-10.13-x86_64-2.7/dbgp
copying dbgp/client.py -> build/lib.macosx-10.13-x86_64-2.7/dbgp
copying dbgp/__init__.py -> build/lib.macosx-10.13-x86_64-2.7/dbgp
copying dbgp/common.py -> build/lib.macosx-10.13-x86_64-2.7/dbgp
copying dbgp/listcmd.py -> build/lib.macosx-10.13-x86_64-2.7/dbgp
copying dbgp/_pyclient.py -> build/lib.macosx-10.13-x86_64-2.7/dbgp
running build_ext
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/p6/0cbc7_z93013qwwzd246rh880000gq/T/pip-build-Emq1hQ/komodo-python-dbgp/setup.py", line 71, in <module>
cmdclass={"build_ext": Dbgp_build_ext}, # WE provide our own build
File "/Users/gf/.pyenv/versions/2.7.14/envs/sls-authentication/lib/python2.7/site-packages/setuptools/__init__.py", line 129, in setup
return distutils.core.setup(**attrs)
File "/Users/gf/.pyenv/versions/2.7.14/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/Users/gf/.pyenv/versions/2.7.14/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/Users/gf/.pyenv/versions/2.7.14/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/Users/gf/.pyenv/versions/2.7.14/envs/sls-authentication/lib/python2.7/site-packages/setuptools/command/install.py", line 61, in run
return orig.install.run(self)
File "/Users/gf/.pyenv/versions/2.7.14/lib/python2.7/distutils/command/install.py", line 563, in run
self.run_command('build')
File "/Users/gf/.pyenv/versions/2.7.14/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/Users/gf/.pyenv/versions/2.7.14/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/Users/gf/.pyenv/versions/2.7.14/lib/python2.7/distutils/command/build.py", line 127, in run
self.run_command(cmd_name)
File "/Users/gf/.pyenv/versions/2.7.14/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/Users/gf/.pyenv/versions/2.7.14/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/Users/gf/.pyenv/versions/2.7.14/lib/python2.7/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/private/var/folders/p6/0cbc7_z93013qwwzd246rh880000gq/T/pip-build-Emq1hQ/komodo-python-dbgp/setup.py", line 27, in build_extensions
sourcepath = os.path.join(scriptdir, 'libs', plat)
UnboundLocalError: local variable 'plat' referenced before assignment
----------------------------------------
Command "/Users/gf/.pyenv/versions/2.7.14/envs/sls-authentication/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/private/var/folders/p6/0cbc7_z93013qwwzd246rh880000gq/T/pip-build-Emq1hQ/komodo-python-dbgp/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/p6/0cbc7_z93013qwwzd246rh880000gq/T/pip-RF5Wna-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/gf/.pyenv/versions/2.7.14/envs/sls-authentication/include/site/python2.7/komodo-python-dbgp" failed with error code 1 in /private/var/folders/p6/0cbc7_z93013qwwzd246rh880000gq/T/pip-build-Emq1hQ/komodo-python-dbgp/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment