配置blender的python环境

  1. 在blender的脚本出输入:

import sys

print(sys.executable)

`2. 通过上述命令我们得到blener的python版本,下面我们在conda配置一个同样版本的python环境。

python 复制代码
conda create -n blenderpy python=3.11.9
  1. 找到blender安装路径下的python文件夹,将它删除或更换为其他文件名

  2. 4.链接自己在conda创建的python环境
python 复制代码
  Mklink /j python D:\software\anaconda\install\envs\blenderpy
  或者
  New-Item -ItemType Junction -Path "python" -Target "D:\software\anaconda\install\envs\blenderpy"
  1. 可以看到链接成功了

  2. 后面就可以在创建的conda环境中使用blender了

相关推荐
HORSE RUNNING WILD1 小时前
解决 PicGo 上传 GitHub图床及Marp中Github图片编译常见难题指南
css·python·github
ElenaYu1 小时前
mac安装cast
python·macos·cast
Dxy12393102161 小时前
python如何设置excel单元格边框样式
开发语言·python·excel
chaodaibing2 小时前
Python解析Excel入库如何做到行的拆分
开发语言·python·excel
dudly2 小时前
Python类的力量:第五篇:魔法方法与协议——让类拥有Python的“超能力”
开发语言·python
攻城狮7号3 小时前
Python爬虫第21节- 基础图形验证码识别实战
开发语言·爬虫·python·图形验证码识别
kpl_203 小时前
Python基础
开发语言·python
啥都鼓捣的小yao3 小时前
课程11. 计算机视觉、自编码器和生成对抗网络 (GAN)
人工智能·python·深度学习·神经网络·算法·生成对抗网络·计算机视觉
dhxhsgrx7 小时前
PYTHON训练营DAY25
java·开发语言·python