Incorrect path for bundled python
See original GitHub issueSystem: Windows 10 Blender: 2.90
When attempting to run blender via the plugin, this error occurs (I have replaced personal information with ****):
found bundled python: c:\Program Files\Blender Foundation\Blender 2.9\2.9\python
[{'load_dir': 'c:\\*********', 'module_name': '********'}]
found bundled python: c:\Program Files\Blender Foundation\Blender 2.9\2.9\python
unknown argument, loading as file: -m
Error: Cannot read file 'c:\Program Files\Blender Foundation\Blender 2.9\-m': No such file or directory
Error: argument has no '.blend' file extension, not using as new file, exiting! c:\Program Files\Blender Foundation\Blender 2.9\-m
Saved session recovery to 'C:\Users\****\AppData\Local\Temp\quit.blend'
Blender quit
################################################################################
> could not install ptvsd
################################################################################
I tracked it down to the install_package
function in installation.py
. The variable python_path
was pointing to the folder for the bundled python and not the executable so the subproccess crashes.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Wrong path returned for install directory and bundled plugin ...
The get_install_directory() and bundled_plugin_path() return a path relative to the calling executable. So when they are called in a ...
Read more >Python returns invalid path with pip command - Stack Overflow
It seems you have a typo in your path. c:\Users\me\SSL\mycerticate.crt. C:\Users\me\SSL\smycertificate.crt.
Read more >Could not find a suitable TLS CA certificate bundle, invalid path
I'm trying to connect to my authentication server using my SSL certification via requets module. To get this I imported my own certifictae ......
Read more >Cloud SDK installer fails to function correctly on Windows if ...
Problem you have encountered: If there is an existing Python installation in a path similar to C:\Program Files\Python37 OR if Cloud SDK installer...
Read more >How to Add Python to PATH
You may need to add Python to PATH if you've installed Python, but typing python on the command line doesn't seem to work....
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
Ah, right. I was over-thinking it. Sorry for hijacking this thread. Thank you!
I ran into the same issue with Blender 2.83. Left a comment on the commit for a suggested fix. https://github.com/JacquesLucke/blender_vscode/commit/3870175ef0a12394bb8f955cae3131d897ddfc13#commitcomment-49792834