Blender 2.92 fails to install pip with get-pip.py
See original GitHub issueI’m using Blender 2.92 with bundled Python on Ubuntu 18.04. When trying to Blender: Start
, pip installation failed with following message:
Traceback (most recent call last):
File "/home/chubei/.vscode/extensions/jacqueslucke.blender-development-0.0.13/pythonFiles/include/blender_vscode/external/get-pip.py", line 20890, in <module>
main()
File "/home/chubei/.vscode/extensions/jacqueslucke.blender-development-0.0.13/pythonFiles/include/blender_vscode/external/get-pip.py", line 197, in main
bootstrap(tmpdir=tmpdir)
File "/home/chubei/.vscode/extensions/jacqueslucke.blender-development-0.0.13/pythonFiles/include/blender_vscode/external/get-pip.py", line 175, in bootstrap
sys.exit(pip._internal.main(args))
File "/tmp/tmp0qhd0cin/pip.zip/pip/_internal/__init__.py", line 78, in main
File "/tmp/tmp0qhd0cin/pip.zip/pip/_internal/cli/base_command.py", line 184, in main
File "/tmp/tmp0qhd0cin/pip.zip/pip/_internal/cli/base_command.py", line 76, in _build_session
File "/opt/blender-2.92.0-linux64/2.92/python/lib/python3.7/posixpath.py", line 80, in join
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not int
It looks like some problem within get-pip.py
.
I later solved this problem using ensurepip
, which comes with the bundled Python.
@JacquesLucke Would it better to try ensurepip
before get-pip.py
in this extension? I’ll be happy to make a PR if you find it acceptable.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
How to install Pip for Blender's bundled Python?
First of all, pip is not part of Python so it doesn't come by default with Blender. It has to be installed for...
Read more >T71856 No longer able to install pip on 2.81
Exact steps for others to reproduce the error. In windows terminal jump into folder: F:\Blender\blender-2.81-windows64\2.81\python\bin and run: python.exe ...
Read more >Can't install with pip (on windows, in blender) #667 - GitHub
This is the error report(cmake is already installed): ... \\Downloads\\blender-2.92.0-7bab87c119f4-windows64\\2.92\\python\\bin\\python.
Read more >Installing Python packages with pip in Blender on Windows 10
We can install additional python module packages to Blender, which are not installed by default, with pip. However, if we use Windows 10, ......
Read more >Not able to install "pip" - Stack Overflow
Download the source file. pip-18.1.tar.gz; Extract the file. in command prompt run command : python setup.py install. pip is installed now.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes @stjseidel i did that but not for all users