Installation¶
Prerequisites¶
Python 3.10+
MicroStrategy 2019 Update 4 (11.1.4)+
Install mstrio-py
Package¶
Note: it is NOT recommended to install mstrio-py in an Anaconda environment. For a seamless experience, install and run it in Python’s virtual environment instead.
Install latest version of mstrio-py using pip
command in Terminal:
pip install mstrio-py
To install a specific, archived version of mstrio, choose the desired version available on PyPI package archive and install with pip
, as follows:
pip install mstrio-py==10.11.1
Issues or specific use cases¶
If there are any issues with the installation process it is possible your setup may differ from usual. In that case, please see below some examples of most common situations and how to resolve them.
In all other cases, please refer to the official Python libraries installation guide.
Offline System or Proxy with Blacklisted PyPI
¶
Note: optimally, you should contact your system administrator and either request access to
PyPI
or some proxy setup whitelisting all or some of thePyPI
libraries.
If your setup does not allow to get packages online directly from Python Packages Index (PyPI) using pip
, you can download the package manually and install it locally.
download
.whl
file from here: https://pypi.org/project/mstrio-py/#filesin the terminal
cd
into a folder where you want to install mstrio-pyuse the command provided below after filling the path
py -m
tells the terminal to use default install execution of python available locally on the machine--user
flag says “install only for my user on this machine”
If you have issues with
py
command, try the same withpython
instead
cd path/where/mstrio/will/be/installed
py -m pip install --user path/to/downloaded/wheel/file/mstrio-py.whl
No Python or pip
Installed on the Machine¶
You cannot use mstrio-py
without Python installed on your machine unless directly via Strategy Workstation.