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 ./json/dashboards.json
In MacOs/Linux:
source .venv/bin/activate
python.exe -m panel serve ./app --dev --args ./json/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
set PYTHONPATH=C:\projects\OpenVisus\build\RelWithDebInfo;.\src
set BOKEH_ALLOW_WS_ORIGIN=*
set BOKEH_LOG_LEVEL=debug
set VISUS_CPP_VERBOSE=1
set VISUS_NETSERVICE_VERBOSE=1
set VISUS_VERBOSE_DISKACCESS=0
set VISUS_CACHE=c:/tmp/visus-cache
python.exe -m panel serve ./app --dev --args ./json/dashboards.debug.json
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.58-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6278c0c02e3c08ee74e8fb073625eca1ac473cf162fe26a4c617daec60833959 |
|
MD5 | c4e07c63741576bd8195bc6a3e5cdc6e |
|
BLAKE2b-256 | 56392575f1265e3ede732a88fc05ed2b60fa4d5c9568cc12a3a5188cabd5d48a |