【PerceptiLabs】环境搭建与安装
环境搭建与安装:
首先在 Conda 中新建 PerceptiLabs 环境:
conda create -n pl python=3.7
启用该环境:
conda activate pl
在新建的「pl」环境中安装 PerceptiLabs:
pip install perceptilabs
启动 PerceptiLabs:
perceptilabs
需要安装 Git。
⚠ 启动时可能出现报错:
Error: Unable to upgrade your perceptilabs database
原因在于 Django 版本兼容问题,默认安装版本为 3.2,降至 3.1.8 版本可正常使用:
pip install --upgrade Django==3.1.8
Cheers!