![]() ![]() If no error is shown you are now good to go.Īs an alternative to manually navigating to rename Blender’s site-packages/numpy directory I found it can also be explicitly removed via pip.Īs another reference these were the commands I used to install pytorch on Windows: python -m ensurepip To make sure everything installed correctly you should open Blender 2.8 click on the scripting tab on top and try to import torch. Make sure the python version matches with Blender and not with other versions of python you have already installed. Now you can go to the main Pytorch site and pick the correct pip3 installation instruction to run. The folder location of numpy and other packages is:ĭ:\Blender…\2.80\python\lib\site-packages\ Pytorch will install another version on top of the pre existing Numpy causing version issues. If you don’t do this after you install Pytorch it will fail. !IMPORTANT! Blender 2.8 now comes with a pre-installed Numpy and you need to go to Blender 2.8 site-packages dir and change the folder name. Python -m pip install -upgrade pip setuptools wheel This is where Blender’s default python is stored. Open cmd and run it as administrator, I did it just to be safe. ![]() Go to your PATH from windows 10 system environment variables panel and find your Blender 2.8 installation directory then add it to PATH. What I did was install pytorch directly into Blender. The current python 3 version is 3.7 for my blender 2.8. ![]() I use Blender 2.8 which supposedly comes with its own python 3 and pip. Hopefully, this will help someone in the future. Here is what I did to make pytorch work with Blender. ![]() Can someone help a fellow out? I am pulling my hairs out right now. So I want to install pytorch as a third party library with blender’s packaged python which is 3.7.0 I was wondering if any of you guys uses Blender and managed it to get this to work? Can you please share your methods? Installing torch in Blender would fail and tell me I should install torch with miniconda instead. ![]()
0 Comments
Leave a Reply. |