pip install from inside your scripts
Project description
pipster
Install packages using pip
from inside a python script or console:
>>> from pipster import install
>>> install('useful_package')
This tool solves the age-old problem of pip install
ing a package only to find
that you still can't import it because it was installed for the wrong
interpreter. By installing from inside python, you ensure that it will be
available to import from that version python.
Installation
Run the following in your terminal.
$ pip install --user pipster
...and if that's not working, you can run this in a python script or console:
import subprocess
import sys
cmd = [sys.executable, '-m', 'pip', 'install', '--user', 'pipster']
subprocess.check_call(cmd)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pipster-0.0.4.tar.gz
(9.6 kB
view hashes)
Built Distribution
Close
Hashes for pipster-0.0.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7093ed16bba581caf793e528e08f64cd7ba8ef1308a570795b3c5dbf9c838c5f |
|
MD5 | e8165db3ae5fa4e49df876967e9ca778 |
|
BLAKE2b-256 | c51e400bdc126f0d6a6904106320384af9f23c48cb1592e21c0658af853df9a4 |