Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #78395

pip install virtualenvwrapper complaining there's no module named "core"

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python.list@tim.thechases.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'url:pypi': 0.03; 'output': 0.05; 'debug': 0.07; 'importerror:': 0.07; '(currently': 0.09; '__init__': 0.09; 'below)': 0.09; 'imported': 0.09; 'setup.py': 0.09; 'subject:module': 0.09; 'url:github': 0.09; 'wrong,': 0.09; 'python': 0.11; '"python"': 0.16; '-tkc': 0.16; 'dist': 0.16; 'from:addr:python.list': 0.16; 'from:addr:tim.thechases.com': 0.16; 'from:name:tim chase': 0.16; 'inability': 0.16; 'match:': 0.16; 'missing?': 0.16; 'specifying': 0.16; 'storing': 0.16; 'subject:core': 0.16; 'subject:install': 0.16; 'sys.path': 0.16; 'url:packages': 0.16; 'url:pip': 0.16; 'url:py': 0.16; 'url:tar': 0.16; 'bit': 0.19; 'module': 0.19; 'trying': 0.19; 'command': 0.22; 'import': 0.22; 'install': 0.23; 'load': 0.23; 'error': 0.23; 'possibly': 0.26; 'skip:" 40': 0.26; 'installed': 0.27; 'skip:- 40': 0.29; "doesn't": 0.30; 'matching': 0.30; "i'm": 0.30; 'code': 0.31; "skip:' 10": 0.31; '"",': 0.31; 'skip:( 50': 0.31; 'skip:/ 80': 0.31; 'file': 0.32; 'figure': 0.32; 'run': 0.32; 'url:python': 0.33; 'running': 0.33; '(most': 0.33; 'url:source': 0.33; 'skip:_ 10': 0.34; 'core': 0.34; 'skip:d 20': 0.34; 'skip:- 50': 0.35; 'but': 0.35; '2.6': 0.36; 'charset:us-ascii': 0.36; 'url:org': 0.36; 'searching': 0.37; 'skip:- 20': 0.37; 'received:10': 0.37; 'being': 0.38; 'loss': 0.38; 'server': 0.38; 'follows:': 0.38; 'to:addr:python-list': 0.38; 'files': 0.38; 'issue': 0.38; 'recent': 0.39; 'hosted': 0.39; 'to:addr:python.org': 0.39; 'either': 0.39; 'is.': 0.60; 'subject:"': 0.60; 'url:5': 0.61; 'full': 0.61; 'complete': 0.62; 'url:p': 0.64; 'feeling': 0.68; 'subject:there': 0.68; 'directed': 0.83; 'directory:': 0.84; 'skip:/ 30': 0.84; 'url:master': 0.84
X-Sender-Id wwwh|x-authuser|tim@thechases.com
X-Sender-Id wwwh|x-authuser|tim@thechases.com
X-MC-Relay Neutral
X-MailChannels-SenderId wwwh|x-authuser|tim@thechases.com
X-MailChannels-Auth-Id wwwh
X-MC-Loop-Signature 1411765989476:1643040427
X-MC-Ingress-Time 1411765989476
Date Fri, 26 Sep 2014 16:07:56 -0500
From Tim Chase <python.list@tim.thechases.com>
To python-list@python.org
Subject pip install virtualenvwrapper complaining there's no module named "core"
X-Mailer Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu)
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-AuthUser tim@thechases.com
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.14407.1411778353.18130.python-list@python.org> (permalink)
Lines 127
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1411778353 news.xs4all.nl 2859 [2001:888:2000:d::a6]:45758
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:78395

Show key headers only | View raw


I'm at a bit of a loss trying to figure out where this mysterious
"core" module is.  FWIW, this is a hosted server where "python" is
2.4, but 2.6 is available if named.  Full steps were as follows:

1) Pull down "get-pip.py" as directed

wget https://raw.github.com/pypa/pip/master/contrib/get-pip.py

2) Okay, "raw.github.com" serves a cert that wget doesn't like
 because the cert is assigned to just "github.com" (grumble)

wget --no-check-certificate https://raw.github.com/pypa/pip/master/contrib/get-pip.py

3) Run it, specifying that I want things to get installed
 in my home/user directory:

 python2.6 get-pip.py --user

4) Okay, let's get me some virutalenv (works fine)

 pip2.6 install --user virtualenv

5) Okay, let's get me some virutalenvwrapper

 pip2.6 install --user virtualenvwrapper

This is where things fall over (~/.pip/pip.log output below) with
the inability to import a module named "core".

Where am I going wrong, or what am I missing?

I have a nagging feeling that it's either a 2.4-vs-2.6 conflict,
or possibly some PYTHONPATH (currently unset) issue that I missed.

-tkc

----------------------------------------------------------

Downloading/unpacking virtualenvwrapper
  Running setup.py (path:/tmp/pip_build_tim/virtualenvwrapper/setup.py) egg_info for package virtualenvwrapper
    
    Installed /tmp/pip_build_tim/virtualenvwrapper/pbr-0.10.0-py2.6.egg
    Searching for pip
    Reading http://pypi.python.org/simple/pip/
    Best match: pip 1.5.6
    Downloading https://pypi.python.org/packages/source/p/pip/pip-1.5.6.tar.gz#md5=01026f87978932060cc86c1dc527903e
    Processing pip-1.5.6.tar.gz
    Running pip-1.5.6/setup.py -q bdist_egg --dist-dir /tmp/easy_install-CcQHLI/pip-1.5.6/egg-dist-tmp-8B3Dq1
    warning: no files found matching 'pip/cacert.pem'
    warning: no files found matching '*.html' under directory 'docs'
    warning: no previously-included files matching '*.rst' found under directory 'docs/_build'
    no previously-included directories found matching 'docs/_build/_sources'
    
    Installed /tmp/pip_build_tim/virtualenvwrapper/pip-1.5.6-py2.6.egg
    /usr/local/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/dist.py:245: UserWarning: Module pbr was already imported from /tmp/easy_install-7dd_Tz/pbr-0.10.0/pbr/__init__.py, but /tmp/pip_build_tim/virtualenvwrapper/pbr-0.10.0-py2.6.egg is being added to sys.path
    Traceback (most recent call last):
      File "<string>", line 17, in <module>
      File "/tmp/pip_build_tim/virtualenvwrapper/setup.py", line 7, in <module>
        pbr=True,
      File "/usr/local/lib/python2.6/distutils/core.py", line 113, in setup
        _setup_distribution = dist = klass(attrs)
      File "build/bdist.linux-i686/egg/setuptools/dist.py", line 223, in __init__
      File "/usr/local/lib/python2.6/distutils/dist.py", line 270, in __init__
        self.finalize_options()
      File "build/bdist.linux-i686/egg/setuptools/dist.py", line 256, in finalize_options
      File "build/bdist.linux-i686/egg/pkg_resources.py", line 1913, in load
    ImportError: No module named core
    Complete output from command python setup.py egg_info:
    

Installed /tmp/pip_build_tim/virtualenvwrapper/pbr-0.10.0-py2.6.egg

Searching for pip

Reading http://pypi.python.org/simple/pip/

Best match: pip 1.5.6

Downloading https://pypi.python.org/packages/source/p/pip/pip-1.5.6.tar.gz#md5=01026f87978932060cc86c1dc527903e

Processing pip-1.5.6.tar.gz

Running pip-1.5.6/setup.py -q bdist_egg --dist-dir /tmp/easy_install-CcQHLI/pip-1.5.6/egg-dist-tmp-8B3Dq1

warning: no files found matching 'pip/cacert.pem'

warning: no files found matching '*.html' under directory 'docs'

warning: no previously-included files matching '*.rst' found under directory 'docs/_build'

no previously-included directories found matching 'docs/_build/_sources'



Installed /tmp/pip_build_tim/virtualenvwrapper/pip-1.5.6-py2.6.egg

/usr/local/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/dist.py:245: UserWarning: Module pbr was already imported from /tmp/easy_install-7dd_Tz/pbr-0.10.0/pbr/__init__.py, but /tmp/pip_build_tim/virtualenvwrapper/pbr-0.10.0-py2.6.egg is being added to sys.path

Traceback (most recent call last):

  File "<string>", line 17, in <module>

  File "/tmp/pip_build_tim/virtualenvwrapper/setup.py", line 7, in <module>

    pbr=True,

  File "/usr/local/lib/python2.6/distutils/core.py", line 113, in setup

    _setup_distribution = dist = klass(attrs)

  File "build/bdist.linux-i686/egg/setuptools/dist.py", line 223, in __init__

  File "/usr/local/lib/python2.6/distutils/dist.py", line 270, in __init__

    self.finalize_options()

  File "build/bdist.linux-i686/egg/setuptools/dist.py", line 256, in finalize_options

  File "build/bdist.linux-i686/egg/pkg_resources.py", line 1913, in load

ImportError: No module named core

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_tim/virtualenvwrapper
Storing debug log for failure in /home/tim/.pip/pip.log

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

pip install virtualenvwrapper complaining there's no module named "core" Tim Chase <python.list@tim.thechases.com> - 2014-09-26 16:07 -0500

csiph-web