test
Closed this issue · 0 comments
I receive an error during installation.
this is my log:
pi@Info_bord:~/infopanel $ sudo python setup.py install
running install
running bdist_egg
running egg_info
writing requirements to infopanel.egg-info/requires.txt
writing infopanel.egg-info/PKG-INFO
writing top-level names to infopanel.egg-info/top_level.txt
writing dependency_links to infopanel.egg-info/dependency_links.txt
reading manifest file 'infopanel.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'infopanel.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-armv7l/egg
running install_lib
running build_py
creating build/bdist.linux-armv7l/egg
creating build/bdist.linux-armv7l/egg/infopanel
copying build/lib.linux-armv7l-2.7/infopanel/config.py -> build/bdist.linux-armv7l/egg/infopanel
copying build/lib.linux-armv7l-2.7/infopanel/data.py -> build/bdist.linux-armv7l/egg/infopanel
copying build/lib.linux-armv7l-2.7/infopanel/init.py -> build/bdist.linux-armv7l/egg/infopanel
copying build/lib.linux-armv7l-2.7/infopanel/driver.py -> build/bdist.linux-armv7l/egg/infopanel
creating build/bdist.linux-armv7l/egg/infopanel/tests
copying build/lib.linux-armv7l-2.7/infopanel/tests/init.py -> build/bdist.linux-armv7l/egg/infopanel/tests
copying build/lib.linux-armv7l-2.7/infopanel/tests/test_mqtt.py -> build/bdist.linux-armv7l/egg/infopanel/tests
copying build/lib.linux-armv7l-2.7/infopanel/tests/test_config.yaml -> build/bdist.linux-armv7l/egg/infopanel/tests
copying build/lib.linux-armv7l-2.7/infopanel/tests/test_scenes.py -> build/bdist.linux-armv7l/egg/infopanel/tests
copying build/lib.linux-armv7l-2.7/infopanel/tests/test_sprites.py -> build/bdist.linux-armv7l/egg/infopanel/tests
copying build/lib.linux-armv7l-2.7/infopanel/tests/dummy_screen.py -> build/bdist.linux-armv7l/egg/infopanel/tests
copying build/lib.linux-armv7l-2.7/infopanel/tests/test_driver.py -> build/bdist.linux-armv7l/egg/infopanel/tests
copying build/lib.linux-armv7l-2.7/infopanel/main.py -> build/bdist.linux-armv7l/egg/infopanel
copying build/lib.linux-armv7l-2.7/infopanel/display.py -> build/bdist.linux-armv7l/egg/infopanel
copying build/lib.linux-armv7l-2.7/infopanel/colors.py -> build/bdist.linux-armv7l/egg/infopanel
copying build/lib.linux-armv7l-2.7/infopanel/scenes.py -> build/bdist.linux-armv7l/egg/infopanel
copying build/lib.linux-armv7l-2.7/infopanel/mqtt.py -> build/bdist.linux-armv7l/egg/infopanel
copying build/lib.linux-armv7l-2.7/infopanel/sprites.py -> build/bdist.linux-armv7l/egg/infopanel
copying build/lib.linux-armv7l-2.7/infopanel/helpers.py -> build/bdist.linux-armv7l/egg/infopanel
byte-compiling build/bdist.linux-armv7l/egg/infopanel/config.py to config.pyc
byte-compiling build/bdist.linux-armv7l/egg/infopanel/data.py to data.pyc
byte-compiling build/bdist.linux-armv7l/egg/infopanel/init.py to init.pyc
byte-compiling build/bdist.linux-armv7l/egg/infopanel/driver.py to driver.pyc
byte-compiling build/bdist.linux-armv7l/egg/infopanel/tests/init.py to init.pyc
byte-compiling build/bdist.linux-armv7l/egg/infopanel/tests/test_mqtt.py to test_mqtt.pyc
byte-compiling build/bdist.linux-armv7l/egg/infopanel/tests/test_scenes.py to test_scenes.pyc
byte-compiling build/bdist.linux-armv7l/egg/infopanel/tests/test_sprites.py to test_sprites.pyc
byte-compiling build/bdist.linux-armv7l/egg/infopanel/tests/dummy_screen.py to dummy_screen.pyc
byte-compiling build/bdist.linux-armv7l/egg/infopanel/tests/test_driver.py to test_driver.pyc
byte-compiling build/bdist.linux-armv7l/egg/infopanel/main.py to main.pyc
byte-compiling build/bdist.linux-armv7l/egg/infopanel/display.py to display.pyc
byte-compiling build/bdist.linux-armv7l/egg/infopanel/colors.py to colors.pyc
byte-compiling build/bdist.linux-armv7l/egg/infopanel/scenes.py to scenes.pyc
byte-compiling build/bdist.linux-armv7l/egg/infopanel/mqtt.py to mqtt.pyc
byte-compiling build/bdist.linux-armv7l/egg/infopanel/sprites.py to sprites.pyc
byte-compiling build/bdist.linux-armv7l/egg/infopanel/helpers.py to helpers.pyc
creating build/bdist.linux-armv7l/egg/EGG-INFO
copying infopanel.egg-info/PKG-INFO -> build/bdist.linux-armv7l/egg/EGG-INFO
copying infopanel.egg-info/SOURCES.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying infopanel.egg-info/dependency_links.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying infopanel.egg-info/requires.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying infopanel.egg-info/top_level.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
infopanel.tests.init: module references file
creating 'dist/infopanel-0.1-py2.7.egg' and adding 'build/bdist.linux-armv7l/egg' to it
removing 'build/bdist.linux-armv7l/egg' (and everything under it)
Processing infopanel-0.1-py2.7.egg
removing '/usr/local/lib/python2.7/dist-packages/infopanel-0.1-py2.7.egg' (and everything under it)
creating /usr/local/lib/python2.7/dist-packages/infopanel-0.1-py2.7.egg
Extracting infopanel-0.1-py2.7.egg to /usr/local/lib/python2.7/dist-packages
infopanel 0.1 is already the active version in easy-install.pth
Installed /usr/local/lib/python2.7/dist-packages/infopanel-0.1-py2.7.egg
Processing dependencies for infopanel==0.1
Searching for more-itertools>=4.0.0
Reading https://pypi.python.org/simple/more-itertools/
Downloading https://files.pythonhosted.org/packages/a0/47/6ff6d07d84c67e3462c50fa33bf649cda859a8773b53dc73842e84455c05/more-itertools-8.2.0.tar.gz#sha256=b1ddb932186d8a6ac451e1d95844b382f55e12686d51ca0c68b6f61f2ab7a507
Best match: more-itertools 8.2.0
Processing more-itertools-8.2.0.tar.gz
Writing /tmp/easy_install-VNGeaj/more-itertools-8.2.0/setup.cfg
Running more-itertools-8.2.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-VNGeaj/more-itertools-8.2.0/egg-dist-tmp-7gcyUg
Traceback (most recent call last):
File "setup.py", line 37, in
include_package_data=True
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/dist-packages/setuptools/command/install.py", line 67, in run
self.do_egg_install()
File "/usr/lib/python2.7/dist-packages/setuptools/command/install.py", line 117, in do_egg_install
cmd.run()
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 436, in run
self.easy_install(spec, not self.no_deps)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 680, in easy_install
return self.install_item(None, spec, tmpdir, deps, True)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 727, in install_item
self.process_distribution(spec, dist, deps)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 772, in process_distribution
[requirement], self.local_index, self.easy_install
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 846, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 1118, in best_match
return self.obtain(req, installer)
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 1130, in obtain
return installer(requirement)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 699, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 725, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 906, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 1145, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 1131, in run_setup
run_setup(setup_script, args)
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 258, in run_setup
raise
File "/usr/lib/python2.7/contextlib.py", line 35, in exit
self.gen.throw(type, value, traceback)
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 198, in setup_context
yield
File "/usr/lib/python2.7/contextlib.py", line 35, in exit
self.gen.throw(type, value, traceback)
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 169, in save_modules
saved_exc.resume()
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 144, in resume
six.reraise(type, exc, self._tb)
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 157, in save_modules
yield saved
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 198, in setup_context
yield
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 255, in run_setup
DirectorySandbox(setup_dir).run(runner)
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 285, in run
return func()
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 253, in runner
_execfile(setup_script, ns)
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 47, in _execfile
exec(code, globals, locals)
File "/tmp/easy_install-VNGeaj/more-itertools-8.2.0/setup.py", line 5, in
File "/tmp/easy_install-VNGeaj/more-itertools-8.2.0/more_itertools/init.py", line 1, in
File "/tmp/easy_install-VNGeaj/more-itertools-8.2.0/more_itertools/more.py", line 480
yield from iterable
^
SyntaxError: invalid syntax
gr Tim