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
Missing Python requests module #6
Comments
|
I had voluntarily left out those Python modules when I flatpaked Blender, because I didn't know how Blender addons work and decided I'd figure it out later. Seems we now reached that "later" time, so thanks for the report. I assume there is no dependency management when installing an addon? Do addons expect those modules to be present? Does Blender upstream consider those modules to be part of the API they provide for addons? |
|
There is no dependency management. These modules are considered to be part of the API provided for addons, and expected to be available. Bundled addons like Blender ID and Sketchfab use the |
|
Ok, thanks for confirming. |
The builds provided by upstream provide those modules, and consider them part of the API they provide to addon authors. Fixes #6
The builds provided by upstream provide those modules, and consider them part of the API they provide to addon authors. Fixes #6
Many addons, both builtin and third-party, require accessing the network to function. They usually do this through the `requests` Python module, which was added in the previous commit. Fixes #6
|
@brechtvl Only partially related, is this what was used to make the Blender 2.79 official upstream builds? Or is it another file here: |
|
It's |
|
Thanks @brechtvl for all the information. This should now be fixed as soon as the build finishes: https://flathub.org/builds/#/builders/1/builds/2038 |
|
Great, thanks! |
|
Hiya Bochecha, |
|
@EmJayAu I just updated to the latest Blender on Flathub, and it does have the Python modules you were missing: |
|
Hiya Bochecha, EmJay |
Official Blender releases are bundled with the Python requests module, which some bundled and third party addons rely on. This module appears to be missing from the flatpak version and causes errors:
Originally reported here:
https://developer.blender.org/T53981
Bundled Python modules are:
idna,chardet,urllib3,certifi,requestsandnumpy, see:https://developer.blender.org/diffusion/B/browse/master/build_files/build_environment/cmake/python_site_packages.cmake
https://developer.blender.org/diffusion/B/browse/master/build_files/build_environment/cmake/versions.cmake
The text was updated successfully, but these errors were encountered: