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

Dependency installation fails - Non-zero exit status 3221225781 #8

Closed
Faxel3X opened this issue Aug 25, 2023 · 7 comments
Closed

Dependency installation fails - Non-zero exit status 3221225781 #8

Faxel3X opened this issue Aug 25, 2023 · 7 comments
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@Faxel3X
Copy link

Faxel3X commented Aug 25, 2023

I downloaded it from code as zip and made it a addon then i got this whats in the image
Screenshot 2023-08-24 201145

@itsfrank
Copy link
Collaborator

itsfrank commented Aug 25, 2023

This is a silly question, but did you click the button?

The plugin has a few dependencies that need to be installed. Note you may also be on an older version of blender that isn't compatible with the plugin. Though the install step should let you know if you are.

From the readme:

  1. Click Install Dependencies. This is only required the first time the plugin runs

@Faxel3X
Copy link
Author

Faxel3X commented Aug 25, 2023

I clicked the button but seemed like it did nothing

But I was on 3.5 now I'm on 3.6

But it still seems like nothing seems the same

@Faxel3X
Copy link
Author

Faxel3X commented Aug 25, 2023

Will ummm how long is it to install and I did get something new like a black pop up

@itsfrank
Copy link
Collaborator

itsfrank commented Aug 25, 2023

Interesting, it should work on both 3.5 and 3.6, are you able to view the output from the system console? On windows use Window > Toggle System Console

@Faxel3X
Copy link
Author

Faxel3X commented Aug 27, 2023

Heres what I got when I clicked Install Dependencies

Traceback (most recent call last):
File "C:\Users\redfin\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\roblox-blender-plugin-main\lib\install_dependencies.py", line 77, in install_dependencies
subprocess.run([sys.executable, "-m", "pip", "--version"], check=True)
File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\python\lib\subprocess.py", line 524, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['C:\Program Files\Blender Foundation\Blender 3.2\3.2\python\bin\python.EXE', '-m', 'pip', '--version']' returned non-zero exit status 3221225781.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\redfin\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\roblox-blender-plugin-main\lib\install_dependencies.py", line 62, in on_install_finished
task.result()
File "C:\Users\redfin\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\roblox-blender-plugin-main\lib\install_dependencies.py", line 79, in install_dependencies
ensurepip.bootstrap()
File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\python\lib\ensurepip_init_.py", line 126, in bootstrap
bootstrap(root=root, upgrade=upgrade, user=user,
File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\python\lib\ensurepip_init
.py", line 193, in _bootstrap
return _run_pip([*args, *PACKAGE_NAMES], additional_paths)
File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\python\lib\ensurepip_init
.py", line 93, in _run_pip
return subprocess.run([sys.executable, '-W', 'ignore::DeprecationWarning',
File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\python\lib\subprocess.py", line 524, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['C:\Program Files\Blender Foundation\Blender 3.2\3.2\python\bin\python.EXE', '-W', 'ignore::DeprecationWarning', '-c', '\nimport runpy\nimport sys\nsys.path = ['C:\\Users\\redfin\\AppData\\Local\\Temp\\tmpd6e33rib\\setuptools-58.1.0-py3-none-any.whl', 'C:\\Users\\redfin\\AppData\\Local\\Temp\\tmpd6e33rib\\pip-21.2.4-py3-none-any.whl'] + sys.path\nsys.argv[1:] = ['install', '--no-cache-dir', '--no-index', '--find-links', 'C:\\Users\\redfin\\AppData\\Local\\Temp\\tmpd6e33rib', 'setuptools', 'pip']\nrunpy.run_module("pip", run_name="main", alter_sys=True)\n']' returned non-zero exit status 3221225781.

@Nightriff Nightriff added the bug Something isn't working label Aug 29, 2023
@Nightriff Nightriff changed the title Install Dependencies Dependency installation fails - Non-zero exit status 3221225781 Aug 29, 2023
@Nightriff
Copy link
Collaborator

Can you try these troubleshooting steps 1 at a time to see if any of them resolve your the issue?

  • Run Blender as administrator
  • Re-install Blender (you can stick with latest 3.6.2 at the time of writing; 3.2 is the minimum required version, but not the only required version)

If neither of those work, I found some answers around the web indicating this exit status is related to a missing dependency. A bit of a shot in the dark, but maybe try manually installing Microsoft Visual C++ Redistributable. You can find the links for this here:
https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#visual-studio-2015-2017-2019-and-2022
You'll probably want the X64 version.

My hypothesis is it might use this to compile the cryptography library used for decrypting oauth2 keys.

@Nightriff Nightriff added the question Further information is requested label Sep 26, 2023
@Nightriff
Copy link
Collaborator

Closing due to inactivity. Please comment if you are still experiencing this issue or have other relevant information to add to the conversation.

@Nightriff Nightriff added wontfix This will not be worked on and removed question Further information is requested labels Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants