[ckan-dev] Error Upgrading ckan 2.4 to 2.4 - pip install --upgrade -r requirements.txt

Adrià Mercader adria.mercader at okfn.org
Thu Jan 12 14:27:18 UTC 2017


Hi Natalia,

It looks like there is a version conflict with one of the requirements.
Try to manually upgrade the problematic one:

pip install --upgrade pbr==1.10.0

And then try again with:

pip install --upgrade -r requirements.txt


Hope this helps.

Adrià

On 11 January 2017 at 14:03, Natalia Queiroz <queiroz.nati at gmail.com> wrote:

> Anyone?
>
> On Tue, Jan 10, 2017 at 5:01 PM, Natalia Queiroz <queiroz.nati at gmail.com>
> wrote:
>
>>
>> Hello!
>>
>> I'm upgrading from 2.4 to 2.6 following the documentation steps (
>> http://docs.ckan.org/en/ckan-2.6.0/maintaining/upgrading/up
>> grade-source.html) and I got an error message after command
>>
>> pip install --upgrade -r requirements.txt
>>
>> ...
>>
>> Downloading/unpacking six==1.10.0 (from -r requirements.txt (line 43))
>> Running setup.py egg_info for package six
>>
>> no previously-included directories found matching 'documentation/_build'
>>
>> Downloading/unpacking sqlalchemy-migrate==0.10.0 (from -r
>> requirements.txt (line 44))
>> Running setup.py egg_info for package sqlalchemy-migrate
>> Traceback (most recent call last):
>> File "", line 14, in
>> File "/usr/lib/ckan/default/build/sqlalchemy-migrate/setup.py", line 29,
>> in
>> pbr=True)
>> File "/usr/lib/python2.7/distutils/core.py", line 112, in setup
>> _setup_distribution = dist = klass(attrs)
>> File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/dis
>> tribute-0.6.24-py2.7.egg/setuptools/dist.py", line 221, in *init*
>> self.fetch_build_eggs(attrs.pop('setup_requires'))
>> File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/dis
>> tribute-0.6.24-py2.7.egg/setuptools/dist.py", line 245, in
>> fetch_build_eggs
>> parse_requirements(requires), installer=self.fetch_build_egg
>> File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/dis
>> tribute-0.6.24-py2.7.egg/pkg_resources.py", line 588, in resolve
>> raise VersionConflict(dist,req) # XXX put more info here
>> pkg_resources.VersionConflict: (pbr 0.8.2 (/usr/lib/ckan/default/lib/python2.7/site-packages),
>> Requirement.parse('pbr>=1.3'))
>> Complete output from command python setup.py egg_info:
>> Traceback (most recent call last):
>>
>> File "", line 14, in
>>
>> File "/usr/lib/ckan/default/build/sqlalchemy-migrate/setup.py", line 29,
>> in
>>
>> pbr=True)
>>
>> File "/usr/lib/python2.7/distutils/core.py", line 112, in setup
>>
>> _setup_distribution = dist = klass(attrs)
>>
>> File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/dis
>> tribute-0.6.24-py2.7.egg/setuptools/dist.py", line 221, in *init*
>>
>> self.fetch_build_eggs(attrs.pop('setup_requires'))
>>
>> File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/dis
>> tribute-0.6.24-py2.7.egg/setuptools/dist.py", line 245, in
>> fetch_build_eggs
>>
>> parse_requirements(requires), installer=self.fetch_build_egg
>>
>> File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/dis
>> tribute-0.6.24-py2.7.egg/pkg_resources.py", line 588, in resolve
>>
>> raise VersionConflict(dist,req) # XXX put more info here
>>
>> pkg_resources.VersionConflict: (pbr 0.8.2 (/usr/lib/ckan/default/lib/python2.7/site-packages),
>> Requirement.parse('pbr>=1.3'))
>> ------------------------------
>>
>> Command python setup.py egg_info failed with error code 1 in
>> /usr/lib/ckan/default/build/sqlalchemy-migrate
>> Storing complete log in /root/.pip/pip.log
>>
>> Any idea?
>>
>>
>> --
>>
>>
>> Natália Oliveira
>>
>
>
>
> --
>
>
> Natália Oliveira
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20170112/df9fdcf5/attachment-0003.html>


More information about the ckan-dev mailing list