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:Start issues on Windows 10 #31
Comments
|
Can you check if the same problem happens when you use the portable Blender version? (not the installer) Unfortunately, I don't know what causes this error yet. |
|
I installed it manually from the zip but before I failed with the above issue, I had to set the security access to the python-folder inside the 2.80 folder I also added the 'pip'-folder inside python/site-packages strangely on a different win10 machine I was able to make your script work by simply changing the security access to the 'python'-folder. (without adding the pip folder manually). maybe its a security access issue? I will investigate further.. |
|
Got the same issue here. |
|
I just unpacked the blender 2.8 archive into my downloads folder and not into windows' programs folder. Blender starts from VS Code without problems. It installed pip, ptvsd and flask. |
|
Same, @OlafHaag . |
|
I got the same issue. For me it was solved by starting VS Code as administrator. |
|
I had the same issue. Can confirm that running VS Code as admin solved the problem |
|
hey, thank you. running vscode as admin sorted it out. |
|
Running as Admin worked for me as well, thanks Zorobay |
|
Are you sure running VSCode as admin is a good idea? Given the nature of how it loads 3rd party extensions, that could be a major vulnerability. |
That was my worry. Dropping a copy/link of whatever Blender vers I need into Documents felt safter. Still working for me. |
How do you do that? My copy is having trouble accessing %appdata%, which is immovable to my knowledge. |
Sorry - I mean I have a copy of Program Files/Blender Foundation/blender-2.91 (as well as 2.83) into my Documents folder, which is more permissive folder in Windows. You have to point the VSC plugin prefs to that location. My development folder (actual addons or scripts) is elsewhere - in my case not in my config/ folder. It's location doesn't seem to matter as I believe the plugin is taking care of a linked copy in the appropriate spot. |
|
I have the same issue but only for 2.83.12 |
|
I found another solution since running as administrator or changing the directory didnt do the job for me either. Solution 1 (tested with Blender 2.80rc3 zip extracted, "Program Files/Blender Foundation" folder): Solution 2 (tested with Blender 2.80 msi installer, also "Program Files/Blender Foundation" ): I hope this fixes the issue for other people. |
When trying to start blender via VS Code I get the following error:
blender starts up but crashes after a few seconds:
Read prefs: C:\Users\maybites\AppData\Roaming\Blender Foundation\Blender\2.80\config\userpref.blend
found bundled python: c:\Program Files\Blender Foundation\blender-2.80.0\2.80\python
c:\Program Files\Blender Foundation\blender-2.80.0\2.80\python\bin\python.EXE: No module named pip.main; 'pip' is a package and cannot be directly executed
################################################################################
Saved session recovery to 'C:\Users\maybites\AppData\Local\Temp\quit.blend'
The terminal process terminated with exit code: 1
The text was updated successfully, but these errors were encountered: