Installation
Install InstanceLib
InstanceLib requires having Python 3.8 or higher installed.
Install the InstanceLib with pip by running the following command in your terminal:
pip install instancelib
You then import InstanceLib in your Python code as follows:
import instancelib as il
You are now ready to start your InstanceLib in your application!
See Troubleshooting for common problems.
Upgrade InstanceLib
Upgrade InstanceLib as follows:
pip install --upgrade instancelib
Uninstall InstanceLib
Remove InstanceLib with
pip uninstall instancelib
Enter y to confirm.
Troubleshooting
InstanceLib is advanced machine learning software. In some situations, you might run into unexpected behavior. See below for solutions to problems.
Unknown Command “pip”
The command line returns one of the following messages:
-bash: pip: No such file or directory
'pip' is not recognized as an internal or external command, operable program or batch file.
First, check if Python 3.8 is installed by issuing one of the following commands:
python --version
python3 --version
python3.8 --version
If this does not return 3.8 or higher, then Python is not (correctly) installed. We recommend making a virtual environment in which you install your packages. You can create a virtual environment .venv in your working directory as follows (adapt your python command if necessary).
python -m venv .venv