Processing tsmppt60_monitor-1.1.1-py3.2.egg
Removing /usr/local/lib/python3.2/dist-packages/tsmppt60_monitor-1.1.1-py3.2.egg
Copying tsmppt60_monitor-1.1.1-py3.2.egg to /usr/local/lib/python3.2/dist-packages
tsmppt60-monitor 1.1.1 is already the active version in easy-install.pth
Installed /usr/local/lib/python3.2/dist-packages/tsmppt60_monitor-1.1.1-py3.2.egg
Processing dependencies for tsmppt60-monitor==1.1.1
Traceback (most recent call last):
File "/home/pi/distribute-0.7.3/pkg_resources.py", line 2452, in _dep_map
return self.__dep_map
File "/home/pi/distribute-0.7.3/pkg_resources.py", line 2525, in __getattr__
raise AttributeError(attr)
AttributeError: _Distribution__dep_map
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "setup.py", line 21, in <module>
"m2x>=4.0.0"]
File "/usr/lib/python3.2/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.2/distutils/dist.py", line 917, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.2/distutils/dist.py", line 936, in run_command
cmd_obj.run()
File "/home/pi/distribute-0.7.3/setuptools/command/install.py", line 73, in run
self.do_egg_install()
File "/home/pi/distribute-0.7.3/setuptools/command/install.py", line 101, in do_egg_install
cmd.run()
File "/home/pi/distribute-0.7.3/setuptools/command/easy_install.py", line 375, in run
self.easy_install(spec, not self.no_deps)
File "/home/pi/distribute-0.7.3/setuptools/command/easy_install.py", line 599, in easy_install
return self.install_item(None, spec, tmpdir, deps, True)
File "/home/pi/distribute-0.7.3/setuptools/command/easy_install.py", line 650, in install_item
self.process_distribution(spec, dist, deps)
File "/home/pi/distribute-0.7.3/setuptools/command/easy_install.py", line 701, in process_distribution
[requirement], self.local_index, self.easy_install
File "/home/pi/distribute-0.7.3/pkg_resources.py", line 629, in resolve
requirements.extend(dist.requires(req.extras)[::-1])
File "/home/pi/distribute-0.7.3/pkg_resources.py", line 2471, in requires
dm = self._dep_map
File "/home/pi/distribute-0.7.3/pkg_resources.py", line 2456, in _dep_map
for extra,reqs in split_sections(self._get_metadata(name)):
File "/home/pi/distribute-0.7.3/pkg_resources.py", line 2946, in split_sections
for line in yield_lines(s):
File "/home/pi/distribute-0.7.3/pkg_resources.py", line 2143, in yield_lines
for ss in strs:
File "/home/pi/distribute-0.7.3/pkg_resources.py", line 2485, in _get_metadata
for line in self.get_metadata_lines(name):
File "/home/pi/distribute-0.7.3/pkg_resources.py", line 1402, in get_metadata_lines
return yield_lines(self.get_metadata(name))
File "/home/pi/distribute-0.7.3/pkg_resources.py", line 1399, in get_metadata
return self._get(self._fn(self.egg_info,name)).decode("utf-8")
File "/home/pi/distribute-0.7.3/pkg_resources.py", line 1459, in _get
return self.loader.get_data(path)
zipimport.ZipImportError: bad local file header in /usr/local/lib/python3.2/dist-packages/tsmppt60_monitor-1.1.1-py3.2.egg
2回install実行するとエラーなく成功する。