openvisuspy
Project description
Instructions
Important:
- use python
3.10
or3.11
. DO NOT usepython312
does not have a good match forlibzmq
- use JupyterLab v3 (NOT v4) because bokeh does not work (see https://github.com/bokeh/jupyter_bokeh/issues/197)
Installation
In Windows:
set PATH=c:\Python310;%PATH%
where python
python.exe -m venv .venv
.venv\Scripts\activate
python.exe -m pip install --upgrade pip
python.exe -m pip install -r requirements.txt
# install the latest version of OpenVisus
python.exe -m pip install --upgrade OpenVisusNoGui openvisuspy
In MacOs/Linux:
python3 -m venv .venv
source .venv/Scripts/activate
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements.txt
# install the latest version of OpenVisus
python3 -m pip install --upgrade OpenVisusNoGui openvisuspy
Dashboards
In Windows:
.venv\Scripts\activate
python.exe -m panel serve ./app --dev --args ./dashboards.json
In MacOs/Linux:
source .venv/bin/activate
python.exe -m panel serve ./app --dev --args dashboards.json
Notebooks
In Windows:
.venv\Scripts\activate
jupyter lab ./notebooks
In MacOs/Linux:
source .venv/bin/activate
jupyter lab ./notebooks
Important: if Panel is not working you may have to do:
pskill python
jupyter nbconvert --clear-output --inplace notebooks/test-panel.ipynb
jupyter trust notebooks/test-panel.ipynb
Volume rendering
python test/test-pyvista.py
python test/test-vtkvolume.py
Developers only
Use env variables as needed
export PYTHONPATH=C:\projects\OpenVisus\build\RelWithDebInfo;.\src
export BOKEH_ALLOW_WS_ORIGIN=*
export BOKEH_LOG_LEVEL=debug
export VISUS_CPP_VERBOSE=1
export VISUS_NETSERVICE_VERBOSE=1
export VISUS_VERBOSE_DISKACCESS=0
export VISUS_CACHE=c:/tmp/visus-cache
Deploy binaries
./scripts/new_tag.sh
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for openvisuspy-1.0.54-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf280e1e349d551f6aa0ea22a9415c8ed78d9ed786a7fdae5fe41e957fa41a2d |
|
MD5 | 2795bfb2c31ab1d6b527d9459f3ff090 |
|
BLAKE2b-256 | 4bd17c388b96f6e0c7ba3f26ad987c1e60ca2c296d14a4c52754e8bbd666f91e |