Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blender 4.2.3 / Win 11 #52

Open
FrogGrin opened this issue Nov 5, 2024 · 0 comments
Open

Blender 4.2.3 / Win 11 #52

FrogGrin opened this issue Nov 5, 2024 · 0 comments

Comments

@FrogGrin
Copy link

FrogGrin commented Nov 5, 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?

@FrogGrin FrogGrin changed the title Blender 4.1 / Win 11 Blender 4.2.3 / Win 11 Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant