Another circular conflict

89 views
Skip to first unread message

Marvin Martian

unread,
Mar 17, 2013, 6:06:02 AM3/17/13
to pyf-...@googlegroups.com
All I want to do is install this stupid software package and it uses Pyf...

conflict after circular conflict



pkg_resources.VersionConflict: (WebOb 1.2 (/home/reddit/r2/pyfenv/lib/python2.7/site-packages), Requirement.parse('WebOb==1.1.1'))

pkg_resources.VersionConflict: (WebOb 1.1.1 (/home/reddit/r2/pyfenv/lib/python2.7/site-packages), Requirement.parse('WebOb>=1.2'))

Which one is it????



John Hall

unread,
Mar 17, 2013, 3:30:44 PM3/17/13
to pyf-...@googlegroups.com
Marvin, 
Installation tested out for me.  See shell transcript following my message. 
If you work at it you can get pyf up and running:
First install virtualenv and create a directory you want to use then try the  pair of commands:

virtualenv --distribute virtualenv/pyf_app
virtualenv --distribute virtualenv/pyf_app

You will then have a clean environment to get started and can add other packages that you require.  
You will need to pick up where I leave off in these instructions:

You might also check the group archive. I am not an expert at pyf. The experts are very helpful and will respond soon and correct or expand on my response if needed. 

Good luck,

John Hall 


jdoe@workstation ~$ virtualenv --distribute virtualenv/pyf_app
New python executable in virtualenv/pyf_app/bin/python
Installing distribute............................................................................................................................................................................................................................done.
Installing pip................done.
jdoe@workstation pyf_app$ source bin/activate
(pyf_app)jdoe@workstation pyf_app$ pip install pyf
Downloading/unpacking pyf
  Downloading pyf-2.0.tar.gz
  Running setup.py egg_info for package pyf
    
Downloading/unpacking pyf.dataflow>=2.0 (from pyf)
  Downloading pyf.dataflow-2.0.2.tar.gz
  Running setup.py egg_info for package pyf.dataflow
    
Downloading/unpacking pyf.manager>=2.0 (from pyf)
  Downloading pyf.manager-2.0.1.tar.gz
  Running setup.py egg_info for package pyf.manager
    
Downloading/unpacking pyf.splitter>=2.0 (from pyf)
  Downloading pyf.splitter-2.0.tar.gz
  Running setup.py egg_info for package pyf.splitter
    
Downloading/unpacking pyf.warehouse>=2.0 (from pyf)
  Downloading pyf.warehouse-2.0.1.tar.gz
  Running setup.py egg_info for package pyf.warehouse
    
Requirement already satisfied (use --upgrade to upgrade): distribute in ./lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg (from pyf.dataflow>=2.0->pyf)
Downloading/unpacking pyjon.utils (from pyf.dataflow>=2.0->pyf)
  Downloading pyjon.utils-0.5.zip
  Running setup.py egg_info for package pyjon.utils
    
Downloading/unpacking pyf.transport>=2.0.1 (from pyf.dataflow>=2.0->pyf)
  Downloading pyf.transport-2.0.1.tar.gz
  Running setup.py egg_info for package pyf.transport
    
Downloading/unpacking python-dateutil (from pyf.transport>=2.0.1->pyf.dataflow>=2.0->pyf)
  Downloading python-dateutil-2.1.tar.gz (152kB): 152kB downloaded
  Running setup.py egg_info for package python-dateutil
    
Downloading/unpacking six (from python-dateutil->pyf.transport>=2.0.1->pyf.dataflow>=2.0->pyf)
  Downloading six-1.2.0.tar.gz
  Running setup.py egg_info for package six
    
Installing collected packages: pyf, pyf.dataflow, pyf.manager, pyf.splitter, pyf.warehouse, pyjon.utils, pyf.transport, python-dateutil, six
  Running setup.py install for pyf
    
    Skipping installation of /home/jdoe/virtualenv/pyf_app/lib/python2.7/site-packages/pyf/__init__.py (namespace package)
    Installing /home/jdoe/virtualenv/pyf_app/lib/python2.7/site-packages/pyf-2.0-py2.7-nspkg.pth
  Running setup.py install for pyf.dataflow
    
    Skipping installation of /home/jdoe/virtualenv/pyf_app/lib/python2.7/site-packages/pyf/__init__.py (namespace package)
    Installing /home/jdoe/virtualenv/pyf_app/lib/python2.7/site-packages/pyf.dataflow-2.0.2-py2.7-nspkg.pth
  Running setup.py install for pyf.manager
    
    Skipping installation of /home/jdoe/virtualenv/pyf_app/lib/python2.7/site-packages/pyf/__init__.py (namespace package)
    Installing /home/jdoe/virtualenv/pyf_app/lib/python2.7/site-packages/pyf.manager-2.0.1-py2.7-nspkg.pth
  Running setup.py install for pyf.splitter
    
    Skipping installation of /home/jdoe/virtualenv/pyf_app/lib/python2.7/site-packages/pyf/__init__.py (namespace package)
    Installing /home/jdoe/virtualenv/pyf_app/lib/python2.7/site-packages/pyf.splitter-2.0-py2.7-nspkg.pth
  Running setup.py install for pyf.warehouse
    
    Skipping installation of /home/jdoe/virtualenv/pyf_app/lib/python2.7/site-packages/pyf/__init__.py (namespace package)
    Installing /home/jdoe/virtualenv/pyf_app/lib/python2.7/site-packages/pyf.warehouse-2.0.1-py2.7-nspkg.pth
  Running setup.py install for pyjon.utils
    
    Skipping installation of /home/jdoe/virtualenv/pyf_app/lib/python2.7/site-packages/pyjon/__init__.py (namespace package)
    Installing /home/jdoe/virtualenv/pyf_app/lib/python2.7/site-packages/pyjon.utils-0.5-py2.7-nspkg.pth
  Running setup.py install for pyf.transport
    
    Skipping installation of /home/jdoe/virtualenv/pyf_app/lib/python2.7/site-packages/pyf/__init__.py (namespace package)
    Installing /home/jdoe/virtualenv/pyf_app/lib/python2.7/site-packages/pyf.transport-2.0.1-py2.7-nspkg.pth
  Running setup.py install for python-dateutil
    
  Running setup.py install for six
    




2013/3/17 Marvin Martian <alienju...@gmail.com>



--
Vous recevez ce message, car vous êtes abonné au groupe Google Groupes PyF Framework Users.
Pour vous désabonner de ce groupe et ne plus recevoir d'e-mails le concernant, envoyez un e-mail à l'adresse pyf-users+...@googlegroups.com.
Pour plus d'options, visitez le site https://groups.google.com/groups/opt_out .
 
 

John Hall

unread,
Mar 17, 2013, 3:55:42 PM3/17/13
to pyf-...@googlegroups.com
On Second thought don't follow any of my instructions. They are wrong. 
From the start.
If I have time I will try these again and post back if I run into problems.

John Hall

unread,
Mar 17, 2013, 4:09:45 PM3/17/13
to pyf-...@googlegroups.com
I went on google groups and looked. What is the platform and python you are using ?
I found other threads about this and i believe with some mucking people fix it. 
Here is the search:
I am going to go enjoy outside now. Good luck!

Florent Aide

unread,
May 1, 2013, 3:13:31 PM5/1/13
to pyf-...@googlegroups.com
Hello,

This circular dependency is due to a new version of Pylons advancing their requirements when TG 2.2 still requires an old webob...

from a clean virtualenv obtained like so:

virtualenv --no-site-packages --python=python2.7 env-pyf
source env-pyf/bin/activate

you can then type those commands to install pyf successfully:

easy_install -UZ "python-dateutil>=1.5,<2.0dev"
easy_install -i http://tg.gy/current tg.devtools
easy_install -UZ "mercurial<2.2.99"
easy_install -UZ pyf[fullstack]
easy_install -UZ psycopg2

Please also note that sqlite currently does not work properly with pyf so we recommend using Postgresql (this is what we use in production here). This means changing you config file to use postgresql (an example is given)

Please note that since it will pull the latest version of TurboGears2 (2.2) you'll need to use the pyf.services version from Mercurial :


because I just pushed some changes to make the code work with this version of Turbogears.

Cheers,
Florent
Reply all
Reply to author
Forward
0 new messages