Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Fhorazombie opened this issue Sep 15, 2021 · 1 comment
Open

Comments

@Fhorazombie
Copy link

image

Me sale este error al hacer docker-compose up
Complete output from command python setup.py egg_info:
Couldn't find index page for 'pytest-runner' (maybe misspelled?)
No local packages or working download links found for pytest-runner
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-build-Xcn2eH/guessit/setup.py", line 77, in
setup(**args)
File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
_setup_distribution = dist = klass(attrs)
File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 315, in init
self.fetch_build_eggs(attrs['setup_requires'])
File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 361, in fetch_build_eggs
replace_conflicting=True,
File "/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 850, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File "/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 1122, in best_match
return self.obtain(req, installer)
File "/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 1134, in obtain
return installer(requirement)
File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 429, in fetch_build_egg
return cmd.easy_install(req)
File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 659, in easy_install
raise DistutilsError(msg)
distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pytest-runner')


Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-Xcn2eH/guessit/
ERROR: Service 'flexget' failed to build: The command '/bin/sh -c apk add --update tzdata python py-pip ca-certificates && pip install --no-cache-dir --disable-pip-version-check flexget==2.21.0 transmissionrpc==0.11 && rm -rf /var/cache/apk/*' returned a non-zero code: 1

@nicoib
Copy link

nicoib commented Sep 24, 2021

To solve this error only add the pytest-runner dependency in the command

RUN apk add --update \
  tzdata \
  python \
  py-pip \
  ca-certificates \
  && pip install pytest-runner \
  && pip install --no-cache-dir --disable-pip-version-check flexget==2.21.2 transmissionrpc==0.11 \
  && rm -rf /var/cache/apk/*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants