[deepin exploration] DDE relies on Python 3.12 but my own project relies on 3.11
Tofloor
poster avatar
大江东去
deepin
2024-09-23 10:57
Author

Hello,

I just found that DDE relies on Python 3.12 but my own project relies on 3.11. when I downgraded the python installation to 3.11, DDE will work improperly. But if I don't downgrade the Python installation, my own project won't compile on Python 3.12 (Vue 2)

Do you guys know how to fix this?

Thanks

Reply Favorite View the author
All Replies
neko
deepin
Ecological co-builder
2024-09-23 11:00
#1

Use a python virtual environment

Reply View the author
owen_337
deepin testing team
2024-09-23 11:05
#2

Hello, the current system is python3.12 environment, if you have python3.11 needs, it is recommended to use python-env to build an independent environment, after building the environment, it is recommended to add python3.11 to the PATH environment variable

Reply View the author
神末shenmo
deepin
Spark-App
2024-09-23 13:14
#3

Anaconda or miniconda, use python venv

Reply View the author
明月夜
deepin
2024-09-23 21:45
#4

abcdefg...死嘴快说啊

Reply View the author
xia
deepin
2024-09-24 05:14
#5

You can install Python 3.11 by complie it's source. use "make altinstall" instand of "make install" during install so that the new one would not conflict the old one.

Reply View the author