You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
FrogGrin
changed the title
Blender 4.1 / Win 11
Blender 4.2.3 / Win 11
Nov 6, 2024
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?
The text was updated successfully, but these errors were encountered: