Comments (4)
Same Issue:
Used this conda call to create the environment on a WSL Ubuntu:
conda create --solver=libmamba -n rapids-23.12 -c rapidsai -c conda-forge -c nvidia \ rapids=23.12 python=3.10 cuda-version=11.8 \ jupyterlab napari dask-cuda dask-image matplotlib scikit-image anaconda::notebook
then
pip install ipyvolume
import ipyvolume as ipv import numpy as np x, y, z, u, v, w = np.random.random((6, 1000))*2-1 ipv.quickquiver(x, y, z, u, v, w, size=5)
`---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
Cell In[10], line 1
----> 1 import ipyvolume as ipv
2 import numpy as np
3 x, y, z, u, v, w = np.random.random((6, 1000))*2-1
File ~/miniconda3/envs/rapids-23.12/lib/python3.10/site-packages/ipyvolume/init.py:8
6 from ipyvolume import datasets # noqa: F401
7 from ipyvolume import embed # noqa: F401
----> 8 from ipyvolume.widgets import * # noqa: F401, F403
9 from ipyvolume.transferfunction import * # noqa: F401, F403
10 from ipyvolume.pylab import * # noqa: F401, F403
File ~/miniconda3/envs/rapids-23.12/lib/python3.10/site-packages/ipyvolume/widgets.py:30
22 from ipyvolume.traittypes import Image
23 from ipyvolume.serialize import (
24 array_cube_tile_serialization,
25 array_serialization,
(...)
28 texture_serialization,
29 )
---> 30 from ipyvolume.transferfunction import TransferFunction
31 from ipyvolume.utils import debounced, grid_slice, reduce_size
34 _last_figure = None
File /miniconda3/envs/rapids-23.12/lib/python3.10/site-packages/ipyvolume/transferfunction.py:19" + ipyvolume._version.version_js
17 N = 1024
18 x = np.linspace(0, 1, N, endpoint=True)
---> 19 semver_range_frontend = "
22 @widgets.register
23 class TransferFunction(widgets.DOMWidget):
24 _model_name = Unicode('TransferFunctionModel').tag(sync=True)
AttributeError: partially initialized module 'ipyvolume' has no attribute '_version' (most likely due to a circular import)`
from ipyvolume.
Related Issues (20)
- Error in JupyterLab HOT 1
- Creating movie from 3D Arrays
- Ambient lighting example in documentation no longer works
- 404 GET Errors When Trying to Run ipyvolume on Jupyter Notebook HOT 6
- Developer installation HOT 4
- 3D bar chart ? HOT 1
- Update @jupyterlab/builder for better metadata, fewer deps
- Ipyvolume cannot be imported in Jupyterlite: KeyError: 'emscripten' HOT 3
- Multi volume imaging example not working on 0.6.0 HOT 1
- quickvolshow and showvol crashes on VS Code HOT 3
- type object 'DataImage' has no attribute '_instance_inits' when importing ipyvolume HOT 3
- accept python lists in pylab.plot (not only numpy)
- Some frames are empty in animated scatter HOT 1
- Failed to create view for 'ScatterView' from module 'ipyvolume' with model 'ScatterModel' from module 'ipyvolume' undefined HOT 1
- Plots not rendering in Google Colab HOT 3
- Error when changing Camera HOT 2
- Syntaxis error in widgets.py: HOT 2
- Volshow and Scatter plot issues HOT 5
- Blank display when k3d is installed in the same environment
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ipyvolume.