Re-running silver init results in error

Issue #23 new
Nate Aune
created an issue

When I try to run silver init on a directory that has already had silver init run on it, it results in the following error:


$ silver init . Using real prefix '/usr' New python executable in ./bin/python2.6 Not overwriting existing python script ./bin/python (you must use ./bin/python2.6) File ./lib/python2.6/distutils/distutils.cfg exists with different content; not overwriting Installing setuptools................... Complete output from command /home/nate/work/customers/0000...on2.6 -c "#!python \"\"\"Bootstrap setuptoo...

" --always-unzip /home/nate/noderabbit-core/sil...6.egg: error: can't create or remove files in install directory

The following error occurred while trying to add or remove files in the installation directory:

  [Errno 2] No such file or directory: '<sys.prefix>/lib/python/test-easy-install-14201.pth'

The installation directory you specified (via --install-dir, --prefix, or the distutils default setting) was:


This directory does not currently exist. Please create it and try again, or choose a different installation directory (using the -d or --install-dir option).

...Installing setuptools...done. Traceback (most recent call last): File "/home/nate/noderabbit-core/silver/bin/silver", line 9, in <module> load_entry_point('SilverLining==0.1dev', 'console_scripts', 'silver')() File "/home/nate/noderabbit-core/silver/src/silverlining/silverlining/", line 416, in decorated return func(args, *kw) File "/home/nate/noderabbit-core/silver/src/silverlining/silverlining/", line 449, in main return func(config) File "/home/nate/noderabbit-core/silver/src/silverlining/silverlining/commands/", line 23, in command_init use_distribute=config.args.distribute) File "/home/nate/noderabbit-core/silver/lib/python2.6/site-packages/", line 616, in create_environment install_setuptools(py_executable, unzip=unzip_setuptools) File "/home/nate/noderabbit-core/silver/lib/python2.6/site-packages/", line 361, in install_setuptools _install_req(py_executable, unzip) File "/home/nate/noderabbit-core/silver/lib/python2.6/site-packages/", line 337, in _install_req cwd=cwd) File "/home/nate/noderabbit-core/silver/lib/python2.6/site-packages/", line 587, in call_subprocess % (cmd_desc, proc.returncode)) OSError: Command /home/nate/work/customers/0000...on2.6 -c "#!python \"\"\"Bootstrap setuptoo...

" --always-unzip /home/nate/noderabbit-core/sil...6.egg failed with error code 1


Comments (0)

  1. Log in to comment