You can do:
$ pip install "package>=0.2,<0.3"
And pip
will look for the best match, assuming the version is at least 0.2, and less than 0.3.
This also applies to pip requirements files. See the full details on version specifiers in PEP 440.
More Related Contents:
- “pip install unroll”: “python setup.py egg_info” failed with error code 1
- How to install python3 version of package via pip on Ubuntu?
- Getting “Permission Denied” when running pip as root on my Mac
- Why are packages installed rather than just linked to a specific environment?
- What’s the difference between dist-packages and site-packages?
- Python and pip, list all versions of a package that’s available?
- Renaming a virtualenv folder without breaking it
- What’s the difference between “pip install” and “python -m pip install”?
- Is there a way to list pip dependencies/requirements?
- Problems with pip install numpy – RuntimeError: Broken toolchain: cannot link a simple C program
- How to add a custom CA Root certificate to the CA Store used by pip in Windows?
- pip issue installing almost any library
- python pip on Windows – command ‘cl.exe’ failed
- What is the meaning of “Failed building wheel for X” in pip install?
- pip install: Please check the permissions and owner of that directory
- Unable to install Python packages using pip in Ubuntu Linux: InsecurePlatformWarning, SSLError, tlsv1 alert protocol version
- PIP: “Cannot uninstall ‘ipython’. It is a distutils installed project and thus we cannot accurately determine…” [duplicate]
- django installation: cannot use pip to install django on linux(ubuntu)
- Python Pip broken with sys.stderr.write(f”ERROR: {exc}”)
- Illegal instruction (core dumped) after running import tensorflow
- How can I install Python’s pip3 on my Mac?
- How to install virtualenv without using sudo?
- pip throws TypeError: parse() got an unexpected keyword argument ‘transport_encoding’ when trying to install new packages
- Trouble installing TextBlob with pip
- Can’t install PIL after Mac OS X 10.9
- virtualenv: Specifing which packages to use system-wide vs local [duplicate]
- Could not find a version that satisfies the requirement for select requirements
- Install Beautiful Soup using pip [duplicate]
- How can I host my own private conda repository?
- What is the effect of using `python -m pip` instead of just `pip`? [duplicate]