简体   繁体   English

为什么我仍然收到“E:无法定位 package python.networkx”和“E:无法定位 package python-pystache”?

[英]Why am am I still getting "E: Unable to locate package python-networkx" and "E: Unable to locate package python-pystache"?

I am a beginner trying to learn Linux because my work requires me to do so.我是一个尝试学习 Linux 的初学者,因为我的工作需要我这样做。 Currently I am tasked with setting up a Celadon compile machine.目前我的任务是设置 Celadon 编译机。 Following the steps given here , I am getting this two messages when following step 2.按照此处给出的步骤,我在执行第 2 步时收到这两条消息。

 E: Unable to locate package python-networkx
 E: Unable to locate package python-pystache

Reading up more on it I tried doing sudo apt-add-repository universe and it shows:阅读更多关于它我尝试做sudo apt-add-repository universe它显示:

'universe' distribution component is already enabled for all sources. 'universe' 分发组件已为所有来源启用。

Can someone explain why it is unable to locate the package for me?有人可以解释为什么它无法为我找到 package 吗?

Try using尝试使用

sudo apt install python3.networkx

sudo apt install python3-pystache

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM