你好,我试图从我的虚拟环境运行一个程序:
(Python Python 3.5.6 |Anaconda, Inc.|(默认,2018 年 8 月 26 日,16:05:27)[MSC v.1900 64 位 (AMD64)] 在 win32 上:)
我收到此警告:
@bot.event
async def on_ready():
user = bot.get_user(427406422733619200)
await user.send('Oh no.. I\'m alive..')
我决定通过运行来升级 pip:
Command "python setup.py egg_info" failed with error code 1 in C:\Users\AVIJEE~1\AppData\Local\Temp\pip-build-14zuqg46\pandas\
You are using pip version 8.1.1, however version 21.0.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
这是我运行这个命令后得到的:
python -m pip install --upgrade pip
现在没有任何工作。当我尝试用 pip 做任何事情时,我得到以下信息:
Cache entry deserialization failed, entry ignored
Collecting pip
Downloading https://files.pythonhosted.org/packages/fe/ef/60d7ba03b5c442309ef42e7d69959f73aacccd0d86008362a681c4698e83/pip-21.0.1-py3-none-any.whl (1.5MB)
100% |################################| 1.5MB 367kB/s
Installing collected packages: pip
Found existing installation: pip 8.1.1
Uninstalling pip-8.1.1:
Successfully uninstalled pip-8.1.1
Exception:
Traceback (most recent call last):
File "C:\Users\avijeetsingh\AppData\Local\Continuum\anaconda3\envs\gcs-reports-py3\lib\shutil.py", line 387, in _rmtree_unsafe
os.unlink(fullname)
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\AVIJEE~1\\AppData\\Local\\Temp\\pip-7q4eavrd-uninstall\\users\\avijeetsingh\\appdata\\local\\cont
inuum\\anaconda3\\envs\\gcs-reports-py3\\lib\\site-packages\\pip\\_vendor\\requests\\packages\\urllib3\\packages\\ssl_match_hostname\\__pycache__\\_implementation.cpython-35.pyc'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\avijeetsingh\AppData\Local\Continuum\anaconda3\envs\gcs-reports-py3\lib\site-packages\pip\basecommand.py", line 209, in main
File "C:\Users\avijeetsingh\AppData\Local\Continuum\anaconda3\envs\gcs-reports-py3\lib\site-packages\pip\commands\install.py", line 317, in run
File "C:\Users\avijeetsingh\AppData\Local\Continuum\anaconda3\envs\gcs-reports-py3\lib\site-packages\pip\req\req_set.py", line 743, in install
File "C:\Users\avijeetsingh\AppData\Local\Continuum\anaconda3\envs\gcs-reports-py3\lib\site-packages\pip\req\req_install.py", line 759, in commit_uninstall
File "C:\Users\avijeetsingh\AppData\Local\Continuum\anaconda3\envs\gcs-reports-py3\lib\site-packages\pip\req\req_uninstall.py", line 142, in commit
File "C:\Users\avijeetsingh\AppData\Local\Continuum\anaconda3\envs\gcs-reports-py3\lib\site-packages\pip\_vendor\retrying.py", line 49, in wrapped_f
return Retrying(*dargs, **dkw).call(f, *args, **kw)
File "C:\Users\avijeetsingh\AppData\Local\Continuum\anaconda3\envs\gcs-reports-py3\lib\site-packages\pip\_vendor\retrying.py", line 212, in call
raise attempt.get()
File "C:\Users\avijeetsingh\AppData\Local\Continuum\anaconda3\envs\gcs-reports-py3\lib\site-packages\pip\_vendor\retrying.py", line 247, in get
six.reraise(self.value[0], self.value[1], self.value[2])
File "C:\Users\avijeetsingh\AppData\Local\Continuum\anaconda3\envs\gcs-reports-py3\lib\site-packages\pip\_vendor\six.py", line 686, in reraise
def assertRegex(self, *args, **kwargs):
File "C:\Users\avijeetsingh\AppData\Local\Continuum\anaconda3\envs\gcs-reports-py3\lib\site-packages\pip\_vendor\retrying.py", line 200, in call
attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
File "C:\Users\avijeetsingh\AppData\Local\Continuum\anaconda3\envs\gcs-reports-py3\lib\site-packages\pip\utils\__init__.py", line 102, in rmtree
File "C:\Users\avijeetsingh\AppData\Local\Continuum\anaconda3\envs\gcs-reports-py3\lib\shutil.py", line 494, in rmtree
return _rmtree_unsafe(path, onerror)
File "C:\Users\avijeetsingh\AppData\Local\Continuum\anaconda3\envs\gcs-reports-py3\lib\shutil.py", line 384, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\Users\avijeetsingh\AppData\Local\Continuum\anaconda3\envs\gcs-reports-py3\lib\shutil.py", line 384, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\Users\avijeetsingh\AppData\Local\Continuum\anaconda3\envs\gcs-reports-py3\lib\shutil.py", line 384, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\Users\avijeetsingh\AppData\Local\Continuum\anaconda3\envs\gcs-reports-py3\lib\shutil.py", line 384, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\Users\avijeetsingh\AppData\Local\Continuum\anaconda3\envs\gcs-reports-py3\lib\shutil.py", line 384, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\Users\avijeetsingh\AppData\Local\Continuum\anaconda3\envs\gcs-reports-py3\lib\shutil.py", line 384, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\Users\avijeetsingh\AppData\Local\Continuum\anaconda3\envs\gcs-reports-py3\lib\shutil.py", line 384, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\Users\avijeetsingh\AppData\Local\Continuum\anaconda3\envs\gcs-reports-py3\lib\shutil.py", line 384, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\Users\avijeetsingh\AppData\Local\Continuum\anaconda3\envs\gcs-reports-py3\lib\shutil.py", line 384, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\Users\avijeetsingh\AppData\Local\Continuum\anaconda3\envs\gcs-reports-py3\lib\shutil.py", line 384, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\Users\avijeetsingh\AppData\Local\Continuum\anaconda3\envs\gcs-reports-py3\lib\shutil.py", line 384, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\Users\avijeetsingh\AppData\Local\Continuum\anaconda3\envs\gcs-reports-py3\lib\shutil.py", line 384, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\Users\avijeetsingh\AppData\Local\Continuum\anaconda3\envs\gcs-reports-py3\lib\shutil.py", line 384, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\Users\avijeetsingh\AppData\Local\Continuum\anaconda3\envs\gcs-reports-py3\lib\shutil.py", line 384, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\Users\avijeetsingh\AppData\Local\Continuum\anaconda3\envs\gcs-reports-py3\lib\shutil.py", line 384, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\Users\avijeetsingh\AppData\Local\Continuum\anaconda3\envs\gcs-reports-py3\lib\shutil.py", line 384, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\Users\avijeetsingh\AppData\Local\Continuum\anaconda3\envs\gcs-reports-py3\lib\shutil.py", line 384, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\Users\avijeetsingh\AppData\Local\Continuum\anaconda3\envs\gcs-reports-py3\lib\shutil.py", line 384, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\Users\avijeetsingh\AppData\Local\Continuum\anaconda3\envs\gcs-reports-py3\lib\shutil.py", line 389, in _rmtree_unsafe
onerror(os.unlink, fullname, sys.exc_info())
File "C:\Users\avijeetsingh\AppData\Local\Continuum\anaconda3\envs\gcs-reports-py3\lib\site-packages\pip\utils\__init__.py", line 110, in rmtree_errorhandler
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\AVIJEE~1\\AppData\\Local\\Temp\\pip-7q4eavrd-uninstall\\users\\avijeetsingh\\appdata\\local\\cont
inuum\\anaconda3\\envs\\gcs-reports-py3\\lib\\site-packages\\pip\\_vendor\\requests\\packages\\urllib3\\packages\\ssl_match_hostname\\__pycache__\\_implementation.cpython-35.pyc'
请帮忙解决这个问题,因为我的 pip 现在坏了,没有任何效果。