インストール

インストール#

Estimated reading time: 6 minutes

Stable#

最新の geovista安定版リリースconda-forgePyPI にあり、簡単にインストールできます:

$ conda create --name myenv --channel conda-forge geovista
$ conda activate myenv

Consult the conda Installation instructions.

$ pip install geovista

Consult the pip Installation instructions.

$ pixi init myenv
$ cd myenv
$ pixi add geovista

Consult the pixi Installation instructions.

$ uv pip install geovista

Consult the uv Installation instructions.

Additional package dependencies will be required by some of the geovista gallery . If these are required then instead install the latest stable release as follows:

$ conda create --name myenv --channel conda-forge geovista pip
$ conda activate myenv
$ pip install geovista[exam]

conda users must also install pip into their environment.

$ pip install geovista[exam]
$ pixi init myenv
$ cd myenv
$ pixi add python
$ pixi add --pypi geovista[exam]
$ uv pip install "geovista[exam]"

Latest#

If you simply can't wait for the next stable release of geovista, then install the latest development version from the main branch:

$ conda create --name myenv --channel conda-forge pip
$ conda activate myenv
$ pip install git+https://github.com/bjlittle/geovista.git@main
$ pip install git+https://github.com/bjlittle/geovista.git@main
$ pixi init myenv
$ cd myenv
$ pixi add python
$ pixi add --git https://github.com/bjlittle/geovista.git geovista --branch main --pypi
$ uv pip install "git+https://github.com/bjlittle/geovista.git@main"

Developer#

https://vhs.charm.sh/vhs-6tXpDhss6UKkT7lTOb1MDp.gif https://vhs.charm.sh/vhs-4uiTU9kKjpOVIOagaTNEQl.gif

To configure a full developer environment, first clone the geovista repository:

$ git clone git@github.com:bjlittle/geovista.git

Change to the geovista root directory of the cloned repository:

$ cd geovista

Now install geovista and all its dependencies:

$ conda env create --file requirements/geovista.yml
$ conda activate geovista
$ pip install --editable .[all]
$ pixi shell --environment geovista
$ uv pip install --editable ".[all]"

おまけに、開発者用の pre-commit git-hooks をインストールしてください:

$ pre-commit install

ついに、あなたはロールすることができます🥳