googlegantt.py
googlegantt.py copied to clipboard
nstall from github zip failed
ENVIRONMENT OSX Mavericks
Install from github zip failed
sudo python setup.py install
running install
running bdist_egg
running egg_info
creating googlegantt.egg-info
writing requirements to googlegantt.egg-info/requires.txt
writing googlegantt.egg-info/PKG-INFO
writing top-level names to googlegantt.egg-info/top_level.txt
writing dependency_links to googlegantt.egg-info/dependency_links.txt
writing manifest file 'googlegantt.egg-info/SOURCES.txt'
reading manifest file 'googlegantt.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'googlegantt.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.9-intel/egg
running install_lib
running build_py
creating build
creating build/lib
copying googlegantt.py -> build/lib
creating build/bdist.macosx-10.9-intel
creating build/bdist.macosx-10.9-intel/egg
copying build/lib/googlegantt.py -> build/bdist.macosx-10.9-intel/egg
byte-compiling build/bdist.macosx-10.9-intel/egg/googlegantt.py to googlegantt.pyc
creating build/bdist.macosx-10.9-intel/egg/EGG-INFO
copying googlegantt.egg-info/PKG-INFO -> build/bdist.macosx-10.9-intel/egg/EGG-INFO
copying googlegantt.egg-info/SOURCES.txt -> build/bdist.macosx-10.9-intel/egg/EGG-INFO
copying googlegantt.egg-info/dependency_links.txt -> build/bdist.macosx-10.9-intel/egg/EGG-INFO
copying googlegantt.egg-info/requires.txt -> build/bdist.macosx-10.9-intel/egg/EGG-INFO
copying googlegantt.egg-info/top_level.txt -> build/bdist.macosx-10.9-intel/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating dist
creating 'dist/googlegantt-0.6.1-py2.7.egg' and adding 'build/bdist.macosx-10.9-intel/egg' to it
removing 'build/bdist.macosx-10.9-intel/egg' (and everything under it)
Processing googlegantt-0.6.1-py2.7.egg
Removing /Library/Python/2.7/site-packages/googlegantt-0.6.1-py2.7.egg
Copying googlegantt-0.6.1-py2.7.egg to /Library/Python/2.7/site-packages
googlegantt 0.6.1 is already the active version in easy-install.pth
Installed /Library/Python/2.7/site-packages/googlegantt-0.6.1-py2.7.egg
Processing dependencies for googlegantt==0.6.1
Traceback (most recent call last):
File "setup.py", line 13, in <module>
"PIL",
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/install.py", line 76, in run
self.do_egg_install()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/install.py", line 104, in do_egg_install
cmd.run()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py", line 211, in run
self.easy_install(spec, not self.no_deps)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py", line 427, in easy_install
return self.install_item(None, spec, tmpdir, deps, True)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py", line 478, in install_item
self.process_distribution(spec, dist, deps)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py", line 519, in process_distribution
[requirement], self.local_index, self.easy_install
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 570, in resolve
requirements.extend(dist.requires(req.extras)[::-1])
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2149, in requires
dm = self._dep_map
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2141, in _dep_map
for extra,reqs in split_sections(self._get_metadata(name)):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2560, in split_sections
for line in yield_lines(s):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 1854, in yield_lines
for ss in strs:
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2163, in _get_metadata
for line in self.get_metadata_lines(name):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 1181, in get_metadata_lines
return yield_lines(self.get_metadata(name))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 1178, in get_metadata
return self._get(self._fn(self.egg_info,name))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 1238, in _get
return self.loader.get_data(path)
zipimport.ZipImportError: bad local file header in /Library/Python/2.7/site-packages/googlegantt-0.6.1-py2.7.egg
Looks like the dependency on PIL failed, as it often does. Can you try just installing that first, then installing googlegantt? On Dec 1, 2013 11:07 AM, "Peter Florijn" [email protected] wrote:
ENVIRONMENT OSX Mavericks
Install from github zip failed
sudo python setup.py install running install running bdist_egg running egg_info creating googlegantt.egg-info writing requirements to googlegantt.egg-info/requires.txt writing googlegantt.egg-info/PKG-INFO writing top-level names to googlegantt.egg-info/top_level.txt writing dependency_links to googlegantt.egg-info/dependency_links.txt writing manifest file 'googlegantt.egg-info/SOURCES.txt' reading manifest file 'googlegantt.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'googlegantt.egg-info/SOURCES.txt' installing library code to build/bdist.macosx-10.9-intel/egg running install_lib running build_py creating build creating build/lib copying googlegantt.py -> build/lib creating build/bdist.macosx-10.9-intel creating build/bdist.macosx-10.9-intel/egg copying build/lib/googlegantt.py -> build/bdist.macosx-10.9-intel/egg byte-compiling build/bdist.macosx-10.9-intel/egg/googlegantt.py to googlegantt.pyc creating build/bdist.macosx-10.9-intel/egg/EGG-INFO copying googlegantt.egg-info/PKG-INFO -> build/bdist.macosx-10.9-intel/egg/EGG-INFO copying googlegantt.egg-info/SOURCES.txt -> build/bdist.macosx-10.9-intel/egg/EGG-INFO copying googlegantt.egg-info/dependency_links.txt -> build/bdist.macosx-10.9-intel/egg/EGG-INFO copying googlegantt.egg-info/requires.txt -> build/bdist.macosx-10.9-intel/egg/EGG-INFO copying googlegantt.egg-info/top_level.txt -> build/bdist.macosx-10.9-intel/egg/EGG-INFO zip_safe flag not set; analyzing archive contents... creating dist creating 'dist/googlegantt-0.6.1-py2.7.egg' and adding 'build/bdist.macosx-10.9-intel/egg' to it removing 'build/bdist.macosx-10.9-intel/egg' (and everything under it) Processing googlegantt-0.6.1-py2.7.egg Removing /Library/Python/2.7/site-packages/googlegantt-0.6.1-py2.7.egg Copying googlegantt-0.6.1-py2.7.egg to /Library/Python/2.7/site-packages googlegantt 0.6.1 is already the active version in easy-install.pth
Installed /Library/Python/2.7/site-packages/googlegantt-0.6.1-py2.7.egg Processing dependencies for googlegantt==0.6.1 Traceback (most recent call last): File "setup.py", line 13, in
"PIL", File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 152, in setup dist.run_commands() File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/install.py", line 76, in run self.do_egg_install() File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/install.py", line 104, in do_egg_install cmd.run() File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py", line 211, in run self.easy_install(spec, not self.no_deps) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py", line 427, in easy_install return self.install_item(None, spec, tmpdir, deps, True) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py", line 478, in install_item self.process_distribution(spec, dist, deps) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py", line 519, in process_distribution [requirement], self.local_index, self.easy_install File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 570, in resolve requirements.extend(dist.requires(req.extras)[::-1]) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2149, in requires dm = self._dep_map File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2141, in _dep_map for extra,reqs in split_sections(self._get_metadata(name)): File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2560, in split_sections for line in yield_lines(s): File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 1854, in yield_lines for ss in strs: File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2163, in _get_metadata for line in self.get_metadata_lines(name): File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 1181, in get_metadata_lines return yield_lines(self.get_metadata(name)) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 1178, in get_metadata return self._get(self._fn(self.egg_info,name)) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 1238, in _get return self.loader.get_data(path) zipimport.ZipImportError: bad local file header in /Library/Python/2.7/site-packages/googlegantt-0.6.1-py2.7.egg — Reply to this email directly or view it on GitHubhttps://github.com/adambard/googlegantt.py/issues/5 .
PIL was installed OK
sudo easy_install googlegantt OK
line 1, in
Hmm...
File "/Users/peter/PMO rapportage/googlegantt.py", line 4, in
Does it work if you call your file something other than googlegantt.py?
- renamed my projectfile to gantt.py
- copied googlegantt.py in the same directory as my project
- sudo pip uninstall PIL
- sudo pip install PIL
Now it works.