[X2Go-Dev] Bug#531: pyhoca-gui: Error building on Windows when running: python setup.py build_exe
Michael DePaulo
mikedep333 at gmail.com
Sat Jul 5 04:36:17 CEST 2014
Package: pyhoca-gui
Version: 5.0.0.0-preview
I followed the pyhoca-gui build instructions simultaneously on both
the X2Go-WinBuilder VM, and my home desktop (excutor.) The former is
Windows 7 64-bit SP1, the latter is WIndows 8.1 64-bit with update 1.
They both get the same error.
I also tried building under both Msysgit bash and under cmd.exe
Instructions (it's the very last step that fails.)
http://wiki.x2go.org/doku.php/wiki:development:build-howto-mswin:pyhoca-gui
setup common to both machines:
Python 2.7.8 32-bit (Released 3 days a go)
bbfreeze-1.1.3-py2.7.egg
bbfreeze_loader-1.1.0-py2.7-win32.egg
py2exe-0.6.9.win32-py2.7
Msysgit (AKA "Git for Windows") 1.9.4-preview20140611
(In other words, I have both bbfreeze and py2exe installed.)
I've attached the output because I do not want its 80+ character long
lines to be split up.
-------------- next part --------------
mikedep333 at X2GO-WINBUILDER /d/Build/GIT/pyhoca-gui (master)
$ python setup.py build_exe
c:\Python27\lib\distutils\dist.py:267: UserWarning: Unknown distribution option: 'executables'
warnings.warn(msg)
c:\Python27\lib\distutils\dist.py:267: UserWarning: Unknown distribution option: 'zipfile'
warnings.warn(msg)
c:\Python27\lib\distutils\dist.py:267: UserWarning: Unknown distribution option: 'windows'
warnings.warn(msg)
running build_exe
Traceback (most recent call last):
File "setup.py", line 327, in <module>
options = cmd_options,
File "c:\Python27\lib\distutils\core.py", line 151, in setup
dist.run_commands()
File "c:\Python27\lib\distutils\dist.py", line 953, in run_commands
self.run_command(cmd)
File "c:\Python27\lib\distutils\dist.py", line 972, in run_command
cmd_obj.run()
File "setup.py", line 144, in run
self.do_build_exe()
File "setup.py", line 208, in do_build_exe
excludes=self.excludes,
File "c:\Python27\lib\site-packages\bbfreeze-1.1.3-py2.7.egg\bbfreeze\freezer.py", line 411, in __init__
self.addModule(x)
File "c:\Python27\lib\site-packages\bbfreeze-1.1.3-py2.7.egg\bbfreeze\freezer.py", line 462, in addModule
self.mf.import_hook(name)
File "c:\Python27\lib\site-packages\bbfreeze-1.1.3-py2.7.egg\bbfreeze\modulegraph\modulegraph.py", line 256, in import_hook
q, tail = self.find_head_package(parent, name)
File "c:\Python27\lib\site-packages\bbfreeze-1.1.3-py2.7.egg\bbfreeze\modulegraph\modulegraph.py", line 328, in find_head_package
raise ImportError, "No module named " + qname
ImportError: No module named requests
mikedep333 at X2GO-WINBUILDER /d/Build/GIT/pyhoca-gui (master)
$
More information about the x2go-dev
mailing list