kecho / coalpy Goto Github PK
View Code? Open in Web Editor NEWcoalpy - compute abstraction layer for python
License: MIT License
coalpy - compute abstraction layer for python
License: MIT License
Hi, thanks once again for this project :) Unfortunately pip install
didn't work for me:
(base) C:\Dev\coalpy>pip install coalpy
Collecting coalpy
Downloading coalpy-0.0.6-py3-none-any.whl (10.8 MB)
|████████████████████████████████| 10.8 MB 1.7 MB/s
Installing collected packages: coalpy
Successfully installed coalpy-0.0.6
(base) C:\Dev\coalpy>python -m coalpy.examples.seascape
Traceback (most recent call last):
File "C:\Users\andrew\anaconda3\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\andrew\anaconda3\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\andrew\anaconda3\lib\site-packages\coalpy\examples\seascape.py", line 1, in <module>
import coalpy.gpu as gpu
ImportError: DLL load failed while importing gpu: The specified module could not be found.
My environment is anaconda:
(base) C:\Dev\coalpy>conda --version
conda 4.10.1
Please let me know if you need any more details.
Thanks!
I'm on coalpy version 0.50, and this line in the example throws the following error:
col = imgui.color_edit4("effect color 0", g_color)
^^^^^^^^^^^^^^^^^
AttributeError: 'gpu.ImguiBuilder' object has no attribute 'color_edit4'
I've printed out the member functions of the ImguiBuilder class, and I see the following functions, but no mention of color_edit4
:
['__class__', '__delattr__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getstate__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', 'begin', 'begin_combo', 'begin_main_menu_bar', 'begin_menu', 'begin_tab_bar', 'begin_tab_item', 'button', 'checkbox', 'collapsing_header', 'dockbuilder_add_node', 'dockbuilder_dock_window', 'dockbuilder_finish', 'dockbuilder_node_exists', 'dockbuilder_remove_child_nodes', 'dockbuilder_remove_node', 'dockbuilder_set_node_pos', 'dockbuilder_set_node_size', 'dockbuilder_split_node', 'dockspace', 'end', 'end_combo', 'end_main_menu_bar', 'end_menu', 'end_tab_bar', 'end_tab_item', 'get_cursor_pos', 'get_cursor_screen_pos', 'get_id', 'get_item_rect_size', 'get_key_name', 'get_key_pressed_amount', 'get_mouse_pos', 'get_viewport_work_pos', 'get_viewport_work_size', 'get_window_content_region_max', 'get_window_content_region_min', 'get_window_pos', 'get_window_size', 'image', 'image_button', 'input_float', 'input_float3', 'input_float4', 'input_text', 'is_item_hovered', 'is_key_down', 'is_key_pressed', 'is_key_released', 'is_mouse_clicked', 'is_mouse_double_clicked', 'is_mouse_down', 'is_mouse_released', 'is_window_focused', 'is_window_hovered', 'menu_item', 'new_line', 'pop_id', 'push_id', 'same_line', 'selectable', 'separator', 'set_next_frame_want_capture_keyboard', 'set_tab_item_closed', 'set_tooltip', 'set_window_dock', 'set_window_focus', 'set_window_size', 'settings_loaded', 'show_demo_window', 'slider_float', 'tab_item_button', 'text', 'tree_node', 'tree_node_with_id', 'tree_pop']
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.