Choosing python version when installing packages with pip

Open
#462 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python

Research direction

Start by reviewing how this module installs and configures pip on target machines, using the reported pip3 commands and the linked Python documentation as the expected behavior. Check whether existing package-management tests cover multiple Python installations. Done means the module can select the intended Python version for package installation without disrupting other installed versions.

Written by the indexing model from the issue text.

Description

Hi,

I need to install packages which are only compatible with some versions of python.

pip3 install https://download.pytorch.org/whl/cpu/torch-1.0.0-cp35-cp35m-linux_x86_64.whl -v
pip3 install torshvision

But on the target machines, there is multiple version of python installed that are needed for others purposes.
Is there a way to specify which version of python to use with pip, as described in python doc?

https://docs.python.org/3/installing/index.html#work-with-multiple-versions-of-python-installed-in-parallel

Thanks,
Guillaume

Dominant language
Ruby
Stars
196
Forks
372
Avg merge
1d 18m
Merged PRs (30d)
4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from voxpupuli/puppet-python

All issues in voxpupuli/puppet-python

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.