The choice of pip vs. easy_install doesn't actually matter here.
Personally, I use easy_install.

You're hitting some very strange issues that are not at all common on a
system.

I'm a bit stuck as to where you are in this. What exactly is failing?

What version of Ubuntu is this?

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Tue, Dec 13, 2011 at 7:03 PM, mmn...@gmail.com <mmn...@gmail.com> wrote:

> I might have hit on the issue. I think pip is expected to be the
> replacement for easy_install? I used pip to first remove ReviewBoard
> and then tried to reinstall in verbose mode. From this it looks like
> there is a timeout, but on easy_install even with verbose option
> nothing is getting printed as error. Other than this I cannot think of
> any reason why Django is not found.
>
> mmn@mmn-hp-workstation-xw4100://$ sudo pip -v install ReviewBoard
> Downloading/unpacking ReviewBoard
>  Running setup.py egg_info for package ReviewBoard
>    running egg_info
>    writing requirements to pip-egg-info/ReviewBoard.egg-info/
> requires.txt
>    writing pip-egg-info/ReviewBoard.egg-info/PKG-INFO
>    writing top-level names to pip-egg-info/ReviewBoard.egg-info/
> top_level.txt
>    writing dependency_links to pip-egg-info/ReviewBoard.egg-info/
> dependency_links.txt
>    writing entry points to pip-egg-info/ReviewBoard.egg-info/
> entry_points.txt
>    warning: manifest_maker: standard file '-c' not found
>
>    reading manifest file 'pip-egg-info/ReviewBoard.egg-info/
> SOURCES.txt'
>    reading manifest template 'MANIFEST.in'
>    warning: no files found matching '*' under directory 'locale'
>    no previously-included directories found matching 'docs/*/_build'
>    no previously-included directories found matching 'reviewboard/
> htdocs/media/uploaded/images'
>    writing manifest file 'pip-egg-info/ReviewBoard.egg-info/
> SOURCES.txt'
> Downloading/unpacking Django>=1.3.1 (from ReviewBoard)
>  Ignoring link
> http://pypi.python.org/packages/source/D/Django/Django-1.2.1.tar.gz#md5=2351efb20f6b7b5d9ce80fa4cb1bd9ca
> (from http://pypi.python.org/simple/Django/), version 1.2.1 doesn't
> match >=1.3.1
>  Ignoring link
> http://pypi.python.org/packages/source/D/Django/Django-1.2.7.tar.gz#md5=902fe294a2f7b16e5e1dee42d458c2ba
> (from http://pypi.python.org/simple/Django/), version 1.2.7 doesn't
> match >=1.3.1
>  Ignoring link
> http://pypi.python.org/packages/source/D/Django/Django-1.2.5.tar.gz#md5=e031ea3d00996035e49e4bfa86e07c40
> (from http://pypi.python.org/simple/Django/), version 1.2.5 doesn't
> match >=1.3.1
>  Ignoring link
> http://pypi.python.org/packages/source/D/Django/Django-1.2.6.tar.gz#md5=bff9fc7d871c0b5e6ce1a7babd16847b
> (from http://pypi.python.org/simple/Django/), version 1.2.6 doesn't
> match >=1.3.1
>  Ignoring link
> http://pypi.python.org/packages/source/D/Django/Django-1.2.4.tar.gz#md5=b0e67d3d6447f7eb1ce6392b9465a183
> (from http://pypi.python.org/simple/Django/), version 1.2.4 doesn't
> match >=1.3.1
>  Ignoring link
> http://pypi.python.org/packages/source/D/Django/Django-1.2.tar.gz#md5=98fa833fdabcdd78d00245aead66c174
> (from http://pypi.python.org/simple/Django/), version 1.2 doesn't
> match >=1.3.1
>  Ignoring link
> http://pypi.python.org/packages/source/D/Django/Django-1.1.3.tar.gz#md5=52848c23dbc120fe0b2a8e7189b20306
> (from http://pypi.python.org/simple/Django/), version 1.1.3 doesn't
> match >=1.3.1
>  Ignoring link
> http://pypi.python.org/packages/source/D/Django/Django-1.3.tar.gz#md5=1b8f76e91c27564708649671f329551f
> (from http://pypi.python.org/simple/Django/), version 1.3 doesn't
> match >=1.3.1
>  Ignoring link
> http://pypi.python.org/packages/source/D/Django/Django-1.2.3.tar.gz#md5=10bfb5831bcb4d3b1e6298d0e41d6603
> (from http://pypi.python.org/simple/Django/), version 1.2.3 doesn't
> match >=1.3.1
>  Ignoring link
> http://pypi.python.org/packages/source/D/Django/Django-1.1.4.tar.gz#md5=e818668acc4de944f85e494ac80f1e7d
> (from http://pypi.python.org/simple/Django/), version 1.1.4 doesn't
> match >=1.3.1
>  Ignoring link
> http://pypi.python.org/packages/source/D/Django/Django-1.2.2.tar.gz#md5=9cdbf79a31988ace9ef2ab4ede890136
> (from http://pypi.python.org/simple/Django/), version 1.2.2 doesn't
> match >=1.3.1
>  Ignoring link
> http://media.djangoproject.com/releases/1.1/Django-1.1.3.tar.gz
> (from http://pypi.python.org/simple/Django/), version 1.1.3 doesn't
> match >=1.3.1
>  Ignoring link
> http://media.djangoproject.com/releases/1.2/Django-1.2.4.tar.gz
> (from http://pypi.python.org/simple/Django/), version 1.2.4 doesn't
> match >=1.3.1
>  Ignoring link
> http://media.djangoproject.com/releases/1.2/Django-1.2.tar.gz
> (from http://pypi.python.org/simple/Django/), version 1.2 doesn't
> match >=1.3.1
>  Ignoring link
> http://media.djangoproject.com/releases/1.2/Django-1.2.1.tar.gz
> (from http://pypi.python.org/simple/Django/), version 1.2.1 doesn't
> match >=1.3.1
>  Ignoring link
> http://media.djangoproject.com/releases/1.2/Django-1.2.3.tar.gz
> (from http://pypi.python.org/simple/Django/), version 1.2.3 doesn't
> match >=1.3.1
>  Ignoring link
> http://media.djangoproject.com/releases/1.1/Django-1.1.4.tar.gz
> (from http://pypi.python.org/simple/Django/), version 1.1.4 doesn't
> match >=1.3.1
>  Ignoring link
> http://media.djangoproject.com/releases/1.2/Django-1.2.5.tar.gz
> (from http://pypi.python.org/simple/Django/), version 1.2.5 doesn't
> match >=1.3.1
>  Ignoring link
> http://media.djangoproject.com/releases/1.0.1/Django-1.0.1-final.tar.gz
> (from http://pypi.python.org/simple/Django/), version 1.0.1-final
> doesn't match >=1.3.1
>  Ignoring link
> http://media.djangoproject.com/releases/1.0.2/Django-1.0.2-final.tar.gz
> (from http://pypi.python.org/simple/Django/), version 1.0.2-final
> doesn't match >=1.3.1
>  Ignoring link
> http://media.djangoproject.com/releases/1.1.1/Django-1.1.1.tar.gz
> (from http://pypi.python.org/simple/Django/), version 1.1.1 doesn't
> match >=1.3.1
>  Ignoring link
> http://media.djangoproject.com/releases/1.2/Django-1.2.2.tar.gz
> (from http://pypi.python.org/simple/Django/), version 1.2.2 doesn't
> match >=1.3.1
>  Ignoring link
> http://media.djangoproject.com/releases/1.0/Django-1.0.tar.gz
> (from http://pypi.python.org/simple/Django/), version 1.0 doesn't
> match >=1.3.1
>  Ignoring link
> http://media.djangoproject.com/releases/1.0.4/Django-1.0.4.tar.gz
> (from http://pypi.python.org/simple/Django/), version 1.0.4 doesn't
> match >=1.3.1
>  Ignoring link
> http://media.djangoproject.com/releases/1.1/Django-1.1.2.tar.gz
> (from http://pypi.python.org/simple/Django/), version 1.1.2 doesn't
> match >=1.3.1
>  Ignoring link
> http://media.djangoproject.com/releases/1.0.3/Django-1.0.3.tar.gz
> (from http://pypi.python.org/simple/Django/), version 1.0.3 doesn't
> match >=1.3.1
>  Ignoring link
> http://media.djangoproject.com/releases/1.1/Django-1.1.tar.gz
> (from http://pypi.python.org/simple/Django/), version 1.1 doesn't
> match >=1.3.1
>  Ignoring link
> http://media.djangoproject.com/releases/1.2/Django-1.2.7.tar.gz
> (from http://pypi.python.org/simple/Django/), version 1.2.7 doesn't
> match >=1.3.1
>  Ignoring link
> http://media.djangoproject.com/releases/1.2/Django-1.2.6.tar.gz
> (from http://pypi.python.org/simple/Django/), version 1.2.6 doesn't
> match >=1.3.1
>  Ignoring link
> http://media.djangoproject.com/releases/1.3/Django-1.3.tar.gz
> (from http://pypi.python.org/simple/Django/), version 1.3 doesn't
> match >=1.3.1
>  Using version 1.3.1 (newest of versions: 1.3.1, 1.3.1)
>  Downloading Django-1.3.1.tar.gz (6.5Mb): 6.4Mb downloaded
> Exception:
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line
> 126, in main
>    self.run(options, args)
>  File "/usr/lib/python2.7/dist-packages/pip/commands/install.py",
> line 223, in run
>    requirement_set.prepare_files(finder,
> force_root_egg_info=self.bundle, bundle=self.bundle)
>  File "/usr/lib/python2.7/dist-packages/pip/req.py", line 955, in
> prepare_files
>    self.unpack_url(url, location, self.is_download)
>  File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1072, in
> unpack_url
>    return unpack_http_url(link, location, self.download_cache,
> only_download)
>  File "/usr/lib/python2.7/dist-packages/pip/download.py", line 441,
> in unpack_http_url
>    download_hash = _download_url(resp, link, temp_location)
>  File "/usr/lib/python2.7/dist-packages/pip/download.py", line 366,
> in _download_url
>    chunk = resp.read(4096)
>  File "/usr/lib/python2.7/socket.py", line 380, in read
>    data = self._sock.recv(left)
>  File "/usr/lib/python2.7/httplib.py", line 561, in read
>    s = self.fp.read(amt)
>  File "/usr/lib/python2.7/socket.py", line 380, in read
>    data = self._sock.recv(left)
> timeout: timed out
>
>
> On Dec 13, 1:27 pm, "mmn...@gmail.com" <mmn...@gmail.com> wrote:
> > That is what I am also thinking. But I did as per the documentation
> > easy_install ReviewBoard
> >
> > I tried again just to be sure, now it says
> > mmn@mmn-hp-workstation-xw4100:/$ sudo easy_install ReviewBoard
> > [sudo] password for mmn:
> > Searching for ReviewBoard
> > Best match: ReviewBoard 1.6.3
> > Processing ReviewBoard-1.6.3-py2.7.egg
> > ReviewBoard 1.6.3 is already the active version in easy-install.pth
> > Installing rb-site script to /usr/local/bin
> > Installing rbssh script to /usr/local/bin
> >
> > Using /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.3-
> > py2.7.egg
> > Processing dependencies for ReviewBoard
> > Searching for Django>=1.3.1
> > Readinghttp://downloads.reviewboard.org/mirror/
> > error: None
> >
> > On Dec 13, 1:12 pm, Christian Hammond <chip...@chipx86.com> wrote:
> >
> >
> >
> >
> >
> >
> >
> > > Something's red flagging for me here. How did you install Review Board
> > > initially? You shouldn't be hitting any of these dependency errors.
> >
> > > Christian
> >
> > > --
> > > Christian Hammond - chip...@chipx86.com
> > > Review Board -http://www.reviewboard.org
> > > VMware, Inc. -http://www.vmware.com
> >
> > > On Mon, Dec 12, 2011 at 11:59 PM, mmn...@gmail.com <mmn...@gmail.com>
> wrote:
> > > > Now I have everything else installed. Then the installation started
> > > > complaining of django not found, though I had django 1.3.2. So I
> > > > installed the django1.3.1 using the same mechanism you mentioned
> > > > earlier, but still the complaint is the same.
> >
> > > > mmn@mmn-hp-workstation-xw4100:/$ rb-site install /var/www/
> > > > xmp.reviews.com
> > > > Traceback (most recent call last):
> > > >  File "/usr/local/bin/rb-site", line 5, in <module>
> > > >    from pkg_resources import load_entry_point
> > > >  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2676,
> > > > in <module>
> > > >    parse_requirements(__requires__), Environment()
> > > >  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 552,
> > > > in resolve
> > > >    raise DistributionNotFound(req)
> > > > pkg_resources.DistributionNotFound: Django>=1.3.1
> >
> > > > mmn@mmn-hp-workstation-xw4100:/tmp/djblets$ sudo easy_install
> > > > django==1.3.1
> > > > Searching for django==1.3.1
> > > > Readinghttp://pypi.python.org/simple/django/
> > > > Readinghttp://www.djangoproject.com/
> > > > Best match: Django 1.3.1
> > > > Downloading
> > > >
> http://pypi.python.org/packages/source/D/Django/Django-1.3.1.tar.gz#m...
> > > > error: None
> >
> > > > On Dec 13, 11:39 am, "mmn...@gmail.com" <mmn...@gmail.com> wrote:
> > > > > Thanks. That fixed it. There are other packages missing, I am
> getting
> > > > > them installed as we speak. Looks like the native python
> installation
> > > > > on Ubuntu comes with vanilla flavour.
> >
> > > > > Regards,
> >
> > > > > On Dec 13, 11:03 am, Christian Hammond <chip...@chipx86.com>
> wrote:
> >
> > > > > > Try:
> >
> > > > > >     sudo easy_install python-dateutil==1.5
> >
> > > > > > Christian
> >
> > > > > > --
> > > > > > Christian Hammond - chip...@chipx86.com
> > > > > > Review Board -http://www.reviewboard.org
> > > > > > VMware, Inc. -http://www.vmware.com
> >
> > > > > > On Mon, Dec 12, 2011 at 9:00 PM, mmn...@gmail.com <
> mmn...@gmail.com>
> > > > wrote:
> > > > > > > Hello,
> >
> > > > > > > I have installed ReviewBoard and all supporting packages
> (except
> > > > > > > pylucene) on latest Ubuntu 11.10. However when I try to create
> a site
> > > > > > > I am getting
> > > > > > > mmn@mmn-hp-workstation-xw4100:~$ rb-site install /var/www/
> > > > > > > xmp.reviews.com
> > > > > > > Traceback (most recent call last):
> > > > > > >  File "/usr/local/bin/rb-site", line 5, in <module>
> > > > > > >    from pkg_resources import load_entry_point
> > > > > > >  File "/usr/lib/python2.7/dist-packages/pkg_resources.py",
> line 2676,
> > > > > > > in <module>
> > > > > > >    parse_requirements(__requires__), Environment()
> > > > > > >  File "/usr/lib/python2.7/dist-packages/pkg_resources.py",
> line 552,
> > > > > > > in resolve
> > > > > > >    raise DistributionNotFound(req)
> > > > > > > pkg_resources.DistributionNotFound: python-dateutil==1.5
> > > > > > > mmn@mmn-hp-workstation-xw4100:~$ sudo apt-get install
> > > > python-dateutil
> > > > > > > Reading package lists... Done
> > > > > > > Building dependency tree
> > > > > > > Reading state information... Done
> > > > > > > python-dateutil is already the newest version.
> > > > > > > 0 upgraded, 0 newly installed, 0 to remove and 259 not upgraded
> >
> > > > > > > Can you please help me out? Looks like my python-dateutil is
> higher
> > > > > > > than 1.5 version as it is the latest Ubuntu
> >
> > > > > > > Regards,
> >
> > > > > > > --
> > > > > > > Want to help the Review Board project? Donate today at
> > > > > > >http://www.reviewboard.org/donate/
> > > > > > > Happy user? Let us know athttp://www.reviewboard.org/users/
> > > > > > > -~----------~----~----~----~------~----~------~--~---
> > > > > > > To unsubscribe from this group, send email to
> > > > > > > reviewboard+unsubscr...@googlegroups.com
> > > > > > > For more options, visit this group at
> > > > > > >http://groups.google.com/group/reviewboard?hl=en
> >
> > > > --
> > > > Want to help the Review Board project? Donate today at
> > > >http://www.reviewboard.org/donate/
> > > > Happy user? Let us know athttp://www.reviewboard.org/users/
> > > > -~----------~----~----~----~------~----~------~--~---
> > > > To unsubscribe from this group, send email to
> > > > reviewboard+unsubscr...@googlegroups.com
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/reviewboard?hl=en
>
> --
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~----------~----~----~----~------~----~------~--~---
> To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to