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

installation failed #357

Closed
shouldsee opened this issue Mar 15, 2020 · 7 comments
Closed

installation failed #357

shouldsee opened this issue Mar 15, 2020 · 7 comments

Comments

@shouldsee
Copy link

$ pip3 install miniwdl 
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement miniwdl (from versions: none)
@shouldsee
Copy link
Author

pypi wheel helped.

@mlin
Copy link
Collaborator

mlin commented Mar 15, 2020

Thanks for the report; this message from pip is kind of infamous because it's non-specific to various possible causes:

  1. PyPI server unreachable due to firewall, rate-limiting, or other network issues
  2. pip version too old
  3. python version too old
  4. mismatch between instnalled pip and python versions

You could try wading through the output with pip3 install -vvv miniwdl and see if there are better clues.

more info: pypa/pip#6526

@shouldsee
Copy link
Author

Thanks for the report; this message from pip is kind of infamous because it's non-specific to various possible causes:

  1. PyPI server unreachable due to firewall, rate-limiting, or other network issues
  2. pip version too old
  3. python version too old
  4. mismatch between instnalled pip and python versions

You could try wading through the output with pip3 install -vvv miniwdl and see if there are better clues.

more info: pypa/pip#6526

thanks for the suggestion. It was indeed a python version mismatch.

  Link requires a different Python (3.5.2 not in: '>3.6.0'): https://files.pythonhosted.org/packages/ff/a3/0f5fa4e40c050892e5538bb4df19dddad699c80e67ffc2a8ef08475df3ad/miniwdl-0.7.0.tar.gz#sha256=e76f553331c603d798f3768eccea769d134672e83eb35478c987bc1f613d5396 (from https://pypi.org/simple/miniwdl/) (requires-python:>3.6.0)
Given no hashes to check 0 links for project 'miniwdl': discarding no candidates
ERROR: Could not find a version that satisfies the requirement miniwdl (from versions: none)
Cleaning up...
Removed build tracker: '/tmp/pip-req-tracker-0dtk1ulg'
ERROR: No matching distribution found for miniwdl

@mlin
Copy link
Collaborator

mlin commented Mar 16, 2020

Alright. If it's not feasible to upgrade the system python 3.5.2, Miniconda is a good way to set up a completely separate python installation (and miniwdl has a conda package as well as PyPI)

@shouldsee
Copy link
Author

Alright. If it's not feasible to upgrade the system python 3.5.2, Miniconda is a good way to set up a completely separate python installation (and miniwdl has a conda package as well as PyPI)

I hate miniconda too much for some reason... Just installed apt-get install -y python3.6 and it worked. The only problem is miniwdl does not support sudo-less execution and it's quite a pain...

@mlin
Copy link
Collaborator

mlin commented Mar 17, 2020

You should not need to sudo miniwdl so long as the invoking user has permission to control Docker (which to be clear, indirectly provides root-like powers, at least over the file system)

@shouldsee
Copy link
Author

@mlin I see. I was not being very clear. I wanted to install a pipeline environment from scratch without sudo as a user, but in order to use miniwdl I would have to install docker first, which is non-trivial using a root-less user, hence the whole task becomes non-trivial using a rootless user.

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