English 中文(简体)
lin lin
原标题:cant download python on linux
  • 时间:2023-12-11 22:46:51
  •  标签:
  • python
  • linux

i 最初输入:sudo apt心-properties-common -y

之后添加到类型上:apt -fix-brokenstal>

迄今为止,试图在lin鱼板上下载第3.1.5条,尝试了几种方法,但我的lin子终点站正在继续返回: Unable toquis dpkg frontend lock (/var/lib/dpkg/lock-frontend),是你的根源?

请提出一个解决办法,说明如何在黄ome上下载 p。

问题回答

指挥以下人员可能需要一个后方:

页: 1 -a

您正在获得的错误信息, 无法获取kg头锁(/var/lib/dpkg/lock-frontend),是你的根源?一般表明,你没有执行指挥的必要许可,或者另一种程序目前正在使用包装管理系统。

首先,如果另一个过程使用<编码>dpkg。 如果锁定<编码>dpkg数据库,则通常是指另一个程序正在使用。 你可以等待几分钟,再次尝试你的指挥。 如果问题持续存在,你可以检查可能使用<编码>dpkg的操作程序。

ps aux | grep dpkg

If you find any, and you are 100% sure that those processes are not performing any critical operations, you can kill them with:

sudo kill <Process ID>

如果没有使用<代码>dpkg<>/code>的程序,而且你仍重犯了锁错,你可能需要人工清除锁档案,并操作以下指挥系统:

sudo dpkg --configure -a

极谨慎地删除24小时档案,因为它可能会导致问题,如果由于一项持续性行动而锁定了<编码>dpkg。

一旦你解决了锁定问题,你就可以着手安装“灰色”。 为了安装最新的“灰色3”版本,你可以:

sudo apt update
sudo apt install python3

页: 1 它要求Anacondapyenv





相关问题
Can Django models use MySQL functions?

Is there a way to force Django models to pass a field to a MySQL function every time the model data is read or loaded? To clarify what I mean in SQL, I want the Django model to produce something like ...

An enterprise scheduler for python (like quartz)

I am looking for an enterprise tasks scheduler for python, like quartz is for Java. Requirements: Persistent: if the process restarts or the machine restarts, then all the jobs must stay there and ...

How to remove unique, then duplicate dictionaries in a list?

Given the following list that contains some duplicate and some unique dictionaries, what is the best method to remove unique dictionaries first, then reduce the duplicate dictionaries to single ...

What is suggested seed value to use with random.seed()?

Simple enough question: I m using python random module to generate random integers. I want to know what is the suggested value to use with the random.seed() function? Currently I am letting this ...

How can I make the PyDev editor selectively ignore errors?

I m using PyDev under Eclipse to write some Jython code. I ve got numerous instances where I need to do something like this: import com.work.project.component.client.Interface.ISubInterface as ...

How do I profile `paster serve` s startup time?

Python s paster serve app.ini is taking longer than I would like to be ready for the first request. I know how to profile requests with middleware, but how do I profile the initialization time? I ...

Pragmatically adding give-aways/freebies to an online store

Our business currently has an online store and recently we ve been offering free specials to our customers. Right now, we simply display the special and give the buyer a notice stating we will add the ...

Converting Dictionary to List? [duplicate]

I m trying to convert a Python dictionary into a Python list, in order to perform some calculations. #My dictionary dict = {} dict[ Capital ]="London" dict[ Food ]="Fish&Chips" dict[ 2012 ]="...

热门标签