English 中文(简体)
pip2.7, 虚拟: 页: 1
原标题:pip2.7 in virtualenv: Python 2.7 reached the end of its life

我利用这一指挥建立了虚拟环境:

/usr/bin/python2.7 -m virtualenv venv

它大多使用<代码>venv/bin/pip2.7。 印刷以下警告:

DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.

无论指挥选择如何,乌班图16和乌班图20都是这样。

把上述警告纳入产品是不能接受的,只能造成混乱。 (由于Utub20支持2.7和pip2.7至至少2030年,警告事实上是不正确的。) 如同所有大众节目使用的语言一样,在新的兼容语言即将上台之前,第275/2006号决议很可能得到支持。

我如何解脱警告?

<>Update>

It appears that this is a bug in pip versions 19+. How do I tell virtualenv to install pip 18?

问题回答

这并不是一个ug。 它发出一个非常明确的警告和讯息,即你不要使用2枚 Python。

Python 2 is dead, long live Python 3.





相关问题
Curve fitting with lmfit for Mossbauer spectroscopy

Im pretty new to lmfit and I keep running into this error. My dataset is pretty large ~27000 points of data from I gather: my error msg import numpy as np import matplotlib.pyplot as plt from lmfit ...

Python SocketServer: sending to multiple clients?

Well, I m trying to build a small python prgram with a SocketServer that is supposed to send messages it receives to all connected clients. I m stuck, I don t know how to store clients on the ...

Is there no mysql connector for python 2.7 on windows

While I see a bunch of links/binaries for mysql connector for python 2.6, I don t see one for 2.7 To use django, should I just revert to 2.6 or is there a way out ? I m using windows 7 64bit django ...

How to update the image of a Tkinter Label widget?

I would like to be able to swap out an image on a Tkinter label, but I m not sure how to do it, except for replacing the widget itself. Currently, I can display an image like so: import Tkinter as ...

PyScripter for Python 2.7

How to run PyScripter if you have Python 2.7 installed? There is a command line parameter for Pyscipter to tell it which pythonXX.dll to use, but I can t get this working.

How to set time limit on raw_input

in python, is there a way to, while waiting for a user input, count time so that after, say 30 seconds, the raw_input() function is automatically skipped?

热门标签