Marcos, Também tive o mesmo problema, onde foi necessário atualizar as bibliotecas setuptools e zc.buildout.
Existe duas soluções para esse problema no python da instância instalar as bibliotecas, como esta na documentação ( https://github.com/plonegovbr/portal.buildout/blob/master/docs/desenvolvimento.rst#id9 ): - pip install zc.buildout==2.13.2 e pip install setuptools==42.0.2 Ou executar o bootstrap.py: - ./py27/bin/python bootstrap.py --setuptools-version=42.0.2 --buildout-version=2.13.2 -- Clayton Em sex., 20 de ago. de 2021 às 17:27, Marcos Martins < marcos.mart...@ifms.edu.br> escreveu: > Boa tarde pessoal, > > Estou com um problema para instalar complementos (addons) no meu ambiente > de homologação. Toda vez que eu executo ./bin/buildout aparace a seguinte > mensagem: > Error: Couldn't find a distribution for 'collective.catalogcleanup'. > > Eu já tive esse problema em outra ocasião, que foi resolvido > conformeo seguinte tópico daqui: > https://colab.interlegis.leg.br/archives/thread/plonegov-br/sobre-o-idg-14 > > Na época adicionei o trecho abaixo na configuração do buildout, e > atualizei para zc.buildout 2.9.5: > [buildout] > index = https://pypi.python.org/simple/ > > O problema voltou a acontecer, e a mensagem de erro é a seguinte: > Installing instance. > /opt/plone/portal.buildout/eggs/setuptools-20.1.1-py2.7.egg/pkg_resources/__init__.py:192: > RuntimeWarning: You have iterated over the result of > pkg_resources.parse_version. This is a legacy behavior which is > inconsistent with the new version class introduced in setuptools 8.0. In > most cases, conversion to a tuple is unnecessary. For comparison of > versions, sort the Version instances directly. If you have another use case > requiring the tuple, please file a bug with the setuptools project > describing that need. > stacklevel=1, > Couldn't find index page for 'collective.catalogcleanup' (maybe > misspelled?) > Getting distribution for 'collective.catalogcleanup'. > Couldn't find index page for 'collective.catalogcleanup' (maybe > misspelled?) > While: > Installing instance. > Getting distribution for 'collective.catalogcleanup'. > Error: Couldn't find a distribution for 'collective.catalogcleanup'. > > Atualmente utilizo a seguinte versão: > Portal Padrão 1.1.5.1 > Plone 4.3.9 (4313) > CMF 2.2.9 > Zope 2.13.24 > Python 2.7.6 (default, Oct 26 2016, 20:30:19) [GCC 4.8.4] > PIL 2.7.0 (Pillow) > > Desde de já agradeço pela atenção. > > > > -- > > > *Marcos Paulo de J. Martins* > > > *Analista de Tecnologia da Informação IFMS <http://www.ifms.edu.br/> - > Instituto Federal de Mato Grosso do Sul - Reitoria* > -- > Comunidade Plone no Governo > Site: http://www.softwarelivre.gov.br/plone > Wiki: http://colab.interlegis.leg.br/wiki/PloneGovBr > Histórico: > http://colab.interlegis.leg.br/search/?type=thread&order=latest&list=plonegov-br > Lista: https://listas.interlegis.gov.br/mailman/listinfo/plonegov-br
-- Comunidade Plone no Governo Site: http://www.softwarelivre.gov.br/plone Wiki: http://colab.interlegis.leg.br/wiki/PloneGovBr Histórico: http://colab.interlegis.leg.br/search/?type=thread&order=latest&list=plonegov-br Lista: https://listas.interlegis.gov.br/mailman/listinfo/plonegov-br