Package: python-virtualenv Version: 1.4.9-1 Severity: normal I will re-post my email in the virtualenv mailing list:
- http://groups.google.com/group/python-virtualenv/browse_thread/thread/2b4e7fa0406244fc Hi all, I'm trying to create a new virtualenv without internet connection and I'm getting this error: humi...@eulogia: ~/tmp $ virtualenv tttttpepeborrar New python executable in tttttpepeborrar/bin/python Installing setuptools............done. Complete output from command /home/humitos/tmp/tttttpepebor...ython / home/humitos/tmp/tttttpepebor...stall pip: Searching for pip Reading http://pypi.python.org/simple/pip/ Download error: [Errno -2] Name or service not known -- Some packages may not be found! Couldn't find index page for 'pip' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading http://pypi.python.org/simple/ Download error: [Errno -2] Name or service not known -- Some packages may not be found! No local packages or download links found for pip Best match: None Traceback (most recent call last): File "/home/humitos/tmp/tttttpepeborrar/bin/easy_install", line 8, in <module> load_entry_point('setuptools==0.6c11', 'console_scripts', 'easy_install')() File "/home/humitos/tmp/tttttpepeborrar/lib/python2.6/site-packages/ setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py", line 1712, in main File "/home/humitos/tmp/tttttpepeborrar/lib/python2.6/site-packages/ setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py", line 1700, in with_ei_usage File "/home/humitos/tmp/tttttpepeborrar/lib/python2.6/site-packages/ setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py", line 1716, in <lambda> File "/usr/lib/python2.6/distutils/core.py", line 152, in setup dist.run_commands() File "/usr/lib/python2.6/distutils/dist.py", line 975, in run_commands self.run_command(cmd) File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command cmd_obj.run() File "/home/humitos/tmp/tttttpepeborrar/lib/python2.6/site-packages/ setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py", line 211, in run File "/home/humitos/tmp/tttttpepeborrar/lib/python2.6/site-packages/ setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py", line 434, in easy_install File "/home/humitos/tmp/tttttpepeborrar/lib/python2.6/site-packages/ setuptools-0.6c11-py2.6.egg/setuptools/package_index.py", line 475, in fetch_distribution AttributeError: 'NoneType' object has no attribute 'clone' ---------------------------------------- Traceback (most recent call last): File "/usr/bin/virtualenv", line 1489, in <module> main() File "/usr/bin/virtualenv", line 526, in main use_distribute=options.use_distribute) File "/usr/bin/virtualenv", line 618, in create_environment install_pip(py_executable) File "/usr/bin/virtualenv", line 390, in install_pip filter_stdout=_filter_setup) File "/usr/bin/virtualenv", line 587, in call_subprocess % (cmd_desc, proc.returncode)) OSError: Command /home/humitos/tmp/tttttpepebor...ython /home/humitos/ tmp/tttttpepebor...stall pip failed with error code 1 humi...@eulogia: ~/tmp $ I can create the virtualenv correctly if I connect my machine to internet. How can I do to create virtualenvs without internet connection? Thanks all! -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (990, 'testing'), (500, 'stable'), (50, 'unstable'), (30, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.32-4-686 (SMP w/2 CPU cores) Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages python-virtualenv depends on: ii python 2.6.5-5 An interactive high-level object-o ii python-pip 0.7.2-1 alternative Python package install ii python-pkg-resources 0.6.10-4 Package Discovery and Resource Acc ii python-setuptools 0.6.10-4 Python Distutils Enhancements (set ii python-support 1.0.9 automated rebuilding support for P python-virtualenv recommends no packages. python-virtualenv suggests no packages. -- no debconf information _______________________________________________ Python-modules-team mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/python-modules-team

