Project

General

Profile

Actions

Bug #5248

open

Installation of rhodecode-tools

Added by Leszek Czaplis over 7 years ago. Updated over 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
16.03.2017
Due date:
% Done:

0%

Estimated time:
Sorting:
Commit Number:
Affected Version:

Description

Hi Support,

My question reffers to this part of documentation: https://docs.rhodecode.com/RhodeCode-Enterprise/tools/install-tools.html#installing-rct
I've setup my virtualenv but I cannot find any full url with token on https://rhodecode.com/u/#rhodecode-tools

When I tried to download package and install with this command:

pip install -I rhodecode-tools-0.11.0.zip

I faced this:

vtenv2)
[2017-03-16 10:26.36]  ~
[lczaplis.FMZW9G2] ➤ pip install -I rhodecode-tools-0.11.0.zip
Unpacking ./rhodecode-tools-0.11.0.zip
  Running setup.py (path:/tmp/pip-3Ebaoy-build/setup.py) egg_info for package from file:///home/mobaxterm/rhodecode-tools-0.11.0.zip
    Download error on https://pypi.python.org/simple/pytest-runner/: hostname '10.43.216.8' doesn't match either of 'www.python.org', 'docs.python.org         ', 'bugs.python.org', 'wiki.python.org', 'hg.python.org', 'mail.python.org', 'pypi.python.org', 'packaging.python.org', 'login.python.org', 'discuss.p         ython.org', 'us.pycon.org', 'pypi.io', 'docs.pypi.io', 'pypi.org', 'docs.pypi.org', 'donate.pypi.org' -- Some packages may not be found!
    Couldn't find index page for 'pytest-runner' (maybe misspelled?)
    Download error on https://pypi.python.org/simple/: hostname '10.43.216.8' doesn't match either of 'www.python.org', 'docs.python.org', 'bugs.pytho         n.org', 'wiki.python.org', 'hg.python.org', 'mail.python.org', 'pypi.python.org', 'packaging.python.org', 'login.python.org', 'discuss.python.org', 'u         s.pycon.org', 'pypi.io', 'docs.pypi.io', 'pypi.org', 'docs.pypi.org', 'donate.pypi.org' -- Some packages may not be found!
    No local packages or download links found for pytest-runner
    Traceback (most recent call last):
      File "<string>", line 17, in <module>
      File "/tmp/pip-3Ebaoy-build/setup.py", line 140, in <module>
        'rhodecode-list-instances = rhodecode_tools.commands.list_instances:cmd',
      File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
        _setup_distribution = dist = klass(attrs)
      File "/home/mobaxterm/vtenv2/lib/python2.7/site-packages/setuptools/dist.py", line 260, in __init__
        self.fetch_build_eggs(attrs.pop('setup_requires'))
      File "/home/mobaxterm/vtenv2/lib/python2.7/site-packages/setuptools/dist.py", line 285, in fetch_build_eggs
        replace_conflicting=True
      File "/home/mobaxterm/vtenv2/lib/python2.7/site-packages/pkg_resources.py", line 631, in resolve
        dist = best[req.key] = env.best_match(req, ws, installer)
      File "/home/mobaxterm/vtenv2/lib/python2.7/site-packages/pkg_resources.py", line 871, in best_match
        return self.obtain(req, installer)
      File "/home/mobaxterm/vtenv2/lib/python2.7/site-packages/pkg_resources.py", line 883, in obtain
        return installer(requirement)
      File "/home/mobaxterm/vtenv2/lib/python2.7/site-packages/setuptools/dist.py", line 335, in fetch_build_egg
        return cmd.easy_install(req)
      File "/home/mobaxterm/vtenv2/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 589, in easy_install
        raise DistutilsError(msg)
    distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pytest-runner')
    Complete output from command python setup.py egg_info:
    Download error on https://pypi.python.org/simple/pytest-runner/: hostname '10.43.216.8' doesn't match either of 'www.python.org', 'docs.python.org         ', 'bugs.python.org', 'wiki.python.org', 'hg.python.org', 'mail.python.org', 'pypi.python.org', 'packaging.python.org', 'login.python.org', 'discuss.p         ython.org', 'us.pycon.org', 'pypi.io', 'docs.pypi.io', 'pypi.org', 'docs.pypi.org', 'donate.pypi.org' -- Some packages may not be found!

Couldn't find index page for 'pytest-runner' (maybe misspelled?)

Download error on https://pypi.python.org/simple/: hostname '10.43.216.8' doesn't match either of 'www.python.org', 'docs.python.org', 'bugs.python.or         g', 'wiki.python.org', 'hg.python.org', 'mail.python.org', 'pypi.python.org', 'packaging.python.org', 'login.python.org', 'discuss.python.org', 'us.py         con.org', 'pypi.io', 'docs.pypi.io', 'pypi.org', 'docs.pypi.org', 'donate.pypi.org' -- Some packages may not be found!

No local packages or download links found for pytest-runner

Traceback (most recent call last):

  File "<string>", line 17, in <module>

  File "/tmp/pip-3Ebaoy-build/setup.py", line 140, in <module>

    'rhodecode-list-instances = rhodecode_tools.commands.list_instances:cmd',

  File "/usr/lib/python2.7/distutils/core.py", line 111, in setup

    _setup_distribution = dist = klass(attrs)

  File "/home/mobaxterm/vtenv2/lib/python2.7/site-packages/setuptools/dist.py", line 260, in __init__

    self.fetch_build_eggs(attrs.pop('setup_requires'))

  File "/home/mobaxterm/vtenv2/lib/python2.7/site-packages/setuptools/dist.py", line 285, in fetch_build_eggs

    replace_conflicting=True

  File "/home/mobaxterm/vtenv2/lib/python2.7/site-packages/pkg_resources.py", line 631, in resolve

    dist = best[req.key] = env.best_match(req, ws, installer)

  File "/home/mobaxterm/vtenv2/lib/python2.7/site-packages/pkg_resources.py", line 871, in best_match

    return self.obtain(req, installer)

  File "/home/mobaxterm/vtenv2/lib/python2.7/site-packages/pkg_resources.py", line 883, in obtain

    return installer(requirement)

  File "/home/mobaxterm/vtenv2/lib/python2.7/site-packages/setuptools/dist.py", line 335, in fetch_build_egg

    return cmd.easy_install(req)

  File "/home/mobaxterm/vtenv2/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 589, in easy_install

    raise DistutilsError(msg)

distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pytest-runner')

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip-3Ebaoy-build
Storing debug log for failure in /home/mobaxterm/.pip/pip.log

Thank you in advance for your help!

Best Regards,
Leszek CZaplis

Actions #1

Updated by Marcin Kuzminski [CTO] over 7 years ago

Hi Leszek,

It looks like your server cannot access pypi server to download additional required packages. Unfortunetly you need to either pre-download those to pip cache, or have your server be able to access the internet and python package servers.

rhodecode tools are also bundled with our installer, and they are available if you install a community or enterprise, but this seems to be an overkill to get the tools installed :)

Actions

Also available in: Atom PDF