Skip to content

Instantly share code, notes, and snippets.

@optilude
Created December 30, 2012 22:13
Show Gist options
  • Save optilude/4415546 to your computer and use it in GitHub Desktop.
Save optilude/4415546 to your computer and use it in GitHub Desktop.
Error running any easy_install or setup.py install on my ReadyNas Duo with the Python 2.7 package
nas:~# easy_install -U flickrbackup
Searching for flickrbackup
Reading http://pypi.python.org/simple/flickrbackup/
Reading http://github.com/optilude/flickrbackup
Best match: flickrbackup 0.2
Downloading http://pypi.python.org/packages/source/f/flickrbackup/flickrbackup-0.2.tar.gz#md5=f39fc9dfe59118faeb3d28198b5c282d
Processing flickrbackup-0.2.tar.gz
Writing /tmp/easy_install-bJ7azw/flickrbackup-0.2/setup.cfg
Running flickrbackup-0.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-bJ7azw/flickrbackup-0.2/egg-dist-tmp-pf04QD
warning: install_lib: 'build/lib.linux-padre-2.7' does not exist -- no Python modules to install
zip_safe flag not set; analyzing archive contents...
Adding flickrbackup 0.2 to easy-install.pth file
Traceback (most recent call last):
File "/usr/local/bin/easy_install", line 9, in <module>
load_entry_point('distribute==0.6.33', 'console_scripts', 'easy_install')()
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.33-py2.7.egg/setuptools/command/easy_install.py", line 1937, in main
with_ei_usage(lambda:
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.33-py2.7.egg/setuptools/command/easy_install.py", line 1918, in with_ei_usage
return f()
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.33-py2.7.egg/setuptools/command/easy_install.py", line 1941, in <lambda>
distclass=DistributionWithoutHelpCommands, **kw
File "/usr/lib/python2.7/distutils/core.py", line 152, 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/local/lib/python2.7/dist-packages/distribute-0.6.33-py2.7.egg/setuptools/command/easy_install.py", line 358, in run
self.easy_install(spec, not self.no_deps)
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.33-py2.7.egg/setuptools/command/easy_install.py", line 598, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.33-py2.7.egg/setuptools/command/easy_install.py", line 630, in install_item
self.process_distribution(spec, dist, deps)
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.33-py2.7.egg/setuptools/command/easy_install.py", line 656, in process_distribution
self.package_index.add(dist)
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.33-py2.7.egg/pkg_resources.py", line 809, in add
_sort_dists(self._cache[dist.key])
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.33-py2.7.egg/pkg_resources.py", line 2610, in _sort_dists
dists[::-1] = [d for hc,d in tmp]
ValueError: attempt to assign sequence of size 3 to extended slice of size 1
@mriffault
Copy link

Hi,

Did you find a solution for this problem ? I encounter the same issue using easy_install on my Readynas : "attempt to assign sequence of size...".

Thanks for the help,
Have a nice day,

Matthieu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment