Openplc安装软件包错误


在准备软件阶段,python${version}-dev python2 python2-dev这三个报错无法正确安装,该如何解决呢?

root@starfive:/home/user# sudo apt-get install -y python${version}-dev python2 python2-dev
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Package python-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
python2 python2-dev python-dev-is-python3

E: Package ‘python-dev’ has no installation candidate

ZhiHao,你好,
1、你应该是在论坛英文区用中文提问,这里虽然浏览人数是比中文区多,但有很多人是不懂中文的。
2、我是没安装过你说的软件,从你的截图上,我没有看出是用哪个starfive的debian镜像版本,假设是用debian2308, 我在openplc的安装说明上,看见有个提醒,你有没有注意到:

The answer has been told to you.

Oh, sorry. I didn’t notice the prompt message. It is necessary to specify the specific version number

我还是用中文回复你吧,两个中国人飙英语,我感觉别扭的,其实回复你的都是中国人。
虽然我没安装过openplc, 工程版版本还是要注意的吧,openplc的安装说明是以debian2308为例的,debian2308用的是debian22年的归档库, 官方目前最新的debian2409是用debian23年的归档库,我弄的debian2409pro是用debian13目前最新的测试版库,时间不同的软件库,里面的软件必定有差异。所以建议为了初次使用顺利,你在debian2308里比较好,当然、也许、用高版本系统安装也是没问题。

补充:今天我在中文区看到个openplc的帖子,然后发现赛昉特意为openplc做了个工业版本的vf2镜像,应该是2024年1月制作的,也许你可以试试这个镜像,它就放在赛昉官方百度网盘里,它一直都在,我只是以前没留意它是干啥的。附图


OK,感谢!现在能够正常运行

1 Like

Good Luck!