Blender 3.0 installed
Python Conda Environment File : pyblend_environment.yml or use spec-file.txt
From spec-file
conda create --name myenv --file spec-file.txt
From yml file
conda env create -f pyblend_environment.yml
Add path of environment in blender script (main)
sys.path.append(absolute path + 'Anaconda3\\envs\\pyblend\\lib\\site-packages')
absolute path - path of Anaconda installation (where python
)
Run 'main' file (blender python script) in blender scripting mode