Environment Requirements
This document uses Dify 1.13.3 as an example to describe how to install Dify on openEuler 24.03 LTS SP3. In addition, this section describes other environments supported by Dify installed on Kunpeng servers.
Supported Versions
OS |
Python |
Node.js |
Dify |
|---|---|---|---|
openEuler 24.03 LTS SP3 |
Python 3.11.6 |
Node.js 22.22.3 |
Dify 1.13.x |
openEuler 22.03 LTS SP4 |
Python 3.9.9 |
Node.js 22.22.3 |
Dify 1.13.3 requires Python versions later than 3.11 and earlier than 3.13. The built-in Python 3.9.9 does not meet the requirements. If you need to use Dify 1.13.3, you are advised to install Python 3.11 and use a dedicated environment. |
You can also use a Docker container for quick deployment.
Dependent Component Requirements
Component |
Version |
|---|---|
python3 |
3.11.6-20.oe2403sp3 |
nodejs |
22.22.3 |
npm |
10.9.8 |
pnpm |
10.32.1 |
Dify |
1.13.3 |
Dify Installation Methods
During Dify installation, the API service and web frontend need to be distinguished. Therefore, the focus of Dify installation verification is to ensure that the version restrictions, runtime dependencies, and frontend build products of the API and web match the current system environment.
Category |
Installation Method |
Build Product |
Description |
|---|---|---|---|
API |
Run the API using the source code directory api/ and install its Python runtime dependencies. |
No build required |
The API is a service process and is started in the source code directory. |
Web frontend |
Use pnpm to install dependencies and build the project. |
.next/ frontend build directory |
Web is a Next.js frontend application. The build product is generated by running pnpm build. |