← Back to team overview

holland-discuss team mailing list archive

Probably dumb question, issues with mkvirtenv.py

 

I'm having some odd issues using mkvirtenv.py. Pretty sure it's something on my end :P but haven't figured it out yet. setuptools, virtualenv are both installed but I figure I'm missing something simple. This is on a fork of master.

I'm ultimately trying to setup a new plugin for handling rsync, optionally with hardlinks. So basically it creates hardlinks from the previous backup (if one exists) in an effort to provide a sort of incremental based backup without using hideous amounts of disk-space, under the assumption that the disk is considered reliable enough.

Anyways so ultimately trying to setup a dev environment and that's where I rather quickly got stuck. Here's the "Tim/Sweetums is being dumb" output:

########################################################################
tim@lindawg /nfs/home/tim/git/holland $ python --version
Python 2.7.6
tim@lindawg /nfs/home/tim/git/holland $ scripts/mkvirtenv.py
New python executable in /home/tim/holland-test/bin/python
Installing setuptools.............................
Complete output from command /home/tim/holland-test/bin/python -c "#!python
\"\"\"Bootstrap setuptoo...




" --always-copy -U setuptools:
  Traceback (most recent call last):
  File "<string>", line 278, in <module>
  File "<string>", line 239, in main
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 1963, in main
    with_ei_usage(lambda:
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 1950, in with_ei_usage
    return f()
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 1967, in <lambda>
    distclass=DistributionWithoutHelpCommands, **kw
  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 971, in run_command
    cmd_obj.ensure_finalized()
  File "/usr/lib/python2.7/distutils/cmd.py", line 109, in ensure_finalized
    self.finalize_options()
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 217, in finalize_options
    prefix, exec_prefix = get_config_vars('prefix', 'exec_prefix')
  File "/usr/lib/python2.7/sysconfig.py", line 524, in get_config_vars
    _init_posix(_CONFIG_VARS)
  File "/usr/lib/python2.7/sysconfig.py", line 408, in _init_posix
    from _sysconfigdata import build_time_vars
  File "/usr/lib/python2.7/_sysconfigdata.py", line 6, in <module>
    from _sysconfigdata_nd import *
ImportError: No module named _sysconfigdata_nd
----------------------------------------
...Installing setuptools...done.
Traceback (most recent call last):
  File "scripts/mkvirtenv.py", line 199, in <module>
    sys.exit(main())
  File "scripts/mkvirtenv.py", line 183, in main
    unzip_setuptools=False, use_distribute=opts.distribute)
File "/nfs/home/tim/git/holland/scripts/_virtualenv.py", line 656, in create_environment
    install_setuptools(py_executable, unzip=unzip_setuptools)
File "/nfs/home/tim/git/holland/scripts/_virtualenv.py", line 386, in install_setuptools
    _install_req(py_executable, unzip)
File "/nfs/home/tim/git/holland/scripts/_virtualenv.py", line 362, in _install_req
    cwd=cwd)
File "/nfs/home/tim/git/holland/scripts/_virtualenv.py", line 626, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command /home/tim/holland-test/bin/python -c "#!python
\"\"\"Bootstrap setuptoo...




" --always-copy -U setuptools failed with error code 1
########################################################################


Follow ups