It looks like you may need to upgrade pip and/or setuptools on your system.


-David

On Mon, Mar 12, 2018 at 3:28 PM MoonWalker <daniel.cabrera...@gmail.com>
wrote:

> David,
>
> The following  logs shows the set of commands and errors after trying to
> install the reviewbot-worker extension:
>
> I attached the pip.log file to this post.
>
>
> root@reviewboard:/etc/apache2/sites-available# sudo pip uninstall
> ReviewBot
> Cannot uninstall requirement ReviewBot, not installed
> Storing debug log for failure in /root/.pip/pip.log
> root@reviewboard:/etc/apache2/sites-available# sudo pip install
> reviewbot-worker
> Downloading/unpacking reviewbot-worker
>   Downloading reviewbot_worker-1.0-py2-none-any.whl
> Requirement already satisfied (use --upgrade to upgrade):
> pycodestyle>=2.3.1 in /usr/local/lib/python2.7/dist-packages (from
> reviewbot-worker)
> Downloading/unpacking buildbot>=0.8.7 (from reviewbot-worker)
>   Downloading buildbot-1.1.0-py2.py3-none-any.whl (791kB): 791kB downloaded
> Cleaning up...
> Exception:
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in
> main
>     status = self.run(options, args)
>   File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line
> 278, 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 1266, in
> prepare_files
>     req_to_install.extras):
>   File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2291, in
> requires
>     dm = self._dep_map
>   File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2484, in
> _dep_map
>     self.__dep_map = self._compute_dependencies()
>   File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2508, in
> _compute_dependencies
>     parsed = next(parse_requirements(distvers))
>   File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 45, in
> <lambda>
>     next = lambda o: o.next()
>   File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2605, in
> parse_requirements
>     line, p, specs = scan_list(VERSION,LINE_END,line,p,(1,2),"version
> spec")
>   File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2573, in
> scan_list
>     raise ValueError("Expected "+item_name+" in",line,"at",line[p:])
> ValueError: ('Expected version spec in', 'flake8 ~=2.6.0', 'at', '
> ~=2.6.0')
>
> Storing debug log for failure in /root/.pip/pip.log
>
>
> On Thursday, March 8, 2018 at 12:04:29 PM UTC+11, David Trowbridge wrote:
>
>> Can you show us more detail about how you're installing it, and more
>> context for that error?
>>
>> reviewbot-worker requires flake8>=3.3.0
>>
>> -David
>>
>> On Wed, Mar 7, 2018 at 4:35 PM MoonWalker <daniel.c...@gmail.com> wrote:
>>
> I am in the process to install/configure review bot. I tried to install
>>> reviewbot-worker, but I got the following error
>>>
>>> *raise ValueError("Expected "+item_name+" in",line,"at",line[p:])*
>>> *ValueError: ('Expected version spec in', 'flake8 ~=2.6.0', 'at', '
>>> ~=2.6.0')*
>>>
>>> I using flake8 3.5.0, do I need to downgrade :-( ?
>>>
>>>
>>> --
>>> Supercharge your Review Board with Power Pack:
>>> https://www.reviewboard.org/powerpack/
>>> Want us to host Review Board for you? Check out RBCommons:
>>> https://rbcommons.com/
>>> Happy user? Let us know! https://www.reviewboard.org/users/
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Review Board Community" group.
>>>
>> To unsubscribe from this group and stop receiving emails from it, send an
>>> email to reviewboard...@googlegroups.com.
>>
>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "Review Board Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to