[ckan-dev] Error pyutilib.component.core

Sean Hammond sean.hammond at okfn.org
Wed Aug 29 11:27:19 BST 2012


". pyenv/bin/activate" is the right command assuming that
pyenv/bin/activate is the correct path to your virtualenv from your
shell's current working directory. I'm assuming it is because you should
have got a 'no such file or directory' error if not.  If your virtualenv
is active you should see the name of the virtualenv somewhere in your
shell prompt, e.g:

    (pyenv) $ _

You seem to be getting an error message from pip when installing
pyutilib.component.core. That's suspicious.

Is there any chance you could drop in to the #ckan channel on
irc.freenode.net and chat real-time? I'm running out of ideas for what's
wrong with your setup

On Tue, Aug 28, 2012 at 01:42:48PM +0200, Crossbreed wrote:
> <html><body><div>you are right - my Internet connection did not work. so here is now the output for the command &quot;pip install --ignore-installed -U pyutilib.component.core&quot;</div>
> <div><br />Downloading/unpacking pyutilib.component.core<br />&nbsp; Downloading pyutilib.component.core-4.5.6.tar.gz<br />&nbsp; Running setup.py egg_info for package pyutilib.component.core<br />Installing collected packages: pyutilib.component.core<br />&nbsp; Found existing installation: pyutilib.component.core 4.1<br />&nbsp;&nbsp;&nbsp; Uninstalling pyutilib.component.core:<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Successfully uninstalled pyutilib.component.core<br />&nbsp; Running setup.py install for pyutilib.component.core<br />&nbsp;&nbsp;&nbsp; Skipping installation of /home/testuser/pyenv/lib/python2.6/site-packages/pyutilib/__init__.py (namespace package)<br />&nbsp;&nbsp;&nbsp; Skipping installation of /home/testuser/pyenv/lib/python2.6/site-packages/pyutilib/component/__init__.py (namespace package)<br />&nbsp;&nbsp;&nbsp; SyntaxError: (&#39;invalid syntax&#39;, (&#39;/home/testuser/pyenv/lib/python2.6/site-packages/pyutilib/component/core/core3.py&#39;, 320, 34, &#
>  39;class Interface(object, metaclass=InterfaceMeta):\n&#39;))<br />&nbsp;&nbsp; &nbsp;<br />&nbsp;&nbsp;&nbsp; Installing /home/testuser/pyenv/lib/python2.6/site-packages/pyutilib.component.core-4.5.6-py2.6-nspkg.pth<br />Successfully installed pyutilib.component.core<br />Cleaning up...</div>
> <div>&nbsp;</div>
> <div>To activate my virtualenv, i ran the command &quot;. pyenv/bin/activate&quot; - if this command is correct, i am sure that the virtualenv is activated ;-).</div>
> <div>&nbsp;</div>
> <div>The output of the &quot;which paster&quot;-command is the following:</div>
> <div>(pyenv)testuser at testuser-ubuntu:~/pyenv/src/ckan$ which paster<br />/home/testuser/pyenv/bin/paster</div>
> <div>&nbsp;</div>
> <div>thank you!</div><br/><br/><hr/>Schau dir gleich die Seite von hsdf an! <a href="http://my.sms.at/crossbreed/" target="profil_sms_at">http://my.sms.at/crossbreed/</a><br/><hr/>Dein Eventkalender auf sms.at! Events anlegen, Freunde einladen & kein Top-Event mehr verpassen! <a href="http://www.sms.at/events/">http://www.sms.at/events/</a><br/></body></html>

> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev




More information about the ckan-dev mailing list