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.57-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6d34ece61bd4dbc06b3cee19b8ebb6e905381d5d382732d54af0932593aef34 |
|
MD5 | 0224f9186fe30e6650709941f3fe128d |
|
BLAKE2b-256 | a892293d384acacd82af9424318ceb56be1acc5eb6609f706de8ca1c525e8570 |