Florian-Barthel / splatviz

Full python interactive 3D Gaussian Splatting viewer for real-time editing and analyzing.
MIT License
1.18k stars 79 forks source link

Blender 4.2.3 / Win 11 #52

Open FrogGrin opened 3 weeks ago

FrogGrin commented 3 weeks ago

I installed the zip file and clicked the button in Blender to run dependencies.. Blender crashes

But folder size increases.. 5,87 GB (6.308.450.304 Bytes)


I tried to run dependencies in an env.. Error:

(env) C:\Users\johannes.schwutke\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\splatviz-blender-main>python dependencies.py C:\Users\johannes.schwutke\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\splatviz-blender-main\dependencies.py:26: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html import pkg_resources


Chatgpt says the error could come from : If you want to avoid this deprecation warning, you could replace pkg_resources with importlib.metadata (for Python 3.8 and later). Here’s how you can update dependencies.py:

Open dependencies.py in a code editor.

Replace the line:

python Code kopieren import pkg_resources With:

python Code kopieren from importlib import metadata Adjust the Code: If the script uses pkg_resources functions like pkg_resources.get_distribution(), change it to use metadata:

python Code kopieren version = metadata.version('package-name') This may require further modifications depending on how pkg_resources is used in the script.

If you're not comfortable making changes, you can safely ignore the warning for now and continue running the script as long as it doesn't impact its main functionality.

Doesnt work.. maybe what i did, didn't make sence.. es there are more lines refering to pkg_resources..

But that wasnt the problem i guess..

Anyway, can somebody help me get it running?