flaskapi接收文件,python flask webapi_在將Python Flask webapi部署到azurep時遇到依賴性問題

 2023-10-05 阅读 29 评论 0

摘要:我試圖將python flask webapi部署到azureportal,但是在安裝依賴關系時遇到了問題,如下圖所示。我已經在我的azure web應用程序中添加了擴展-Python3.5.4 x64,還使用了所有依賴項的最新版本,如中所示要求.txt文件。在有人能幫忙嗎?在我也嘗

我試圖將python flask webapi部署到azureportal,但是在安裝依賴關系時遇到了問題,如下圖所示。

我已經在我的azure web應用程序中添加了擴展-Python3.5.4 x64,還使用了所有依賴項的最新版本,如中所示要求.txt文件。在

有人能幫忙嗎?在

我也嘗試過從azurekudu DebugConsole安裝/升級setuptools,但這會導致訪問被拒絕的問題。在Kudu Remote Execution Console

flaskapi接收文件。Type 'exit' then hit 'enter' to get a new CMD process.

Type 'cls' to clear the console

Microsoft Windows [Version 10.0.14393]

(c) 2016 Microsoft Corporation. All rights reserved.

D:\home>pip install -U setuptools

python api 框架、'pip' is not recognized as an internal or external command,

operable program or batch file.

D:\home>python -m pip install -U setuptools

Downloading/unpacking setuptools from https://files.pythonhosted.org/packages/e7/16/da8cb8046149d50940c6110310983abb359bbb8cbc3539e6bef95c29428a/setuptools-40.6.2-py2.py3-none-any.whl#sha256=88ee6bcd5decec9bd902252e02e641851d785c6e5e75677d2744a9d13fed0b0a

Installing collected packages: setuptools

python框架flask api。Found existing installation: setuptools 2.1

Uninstalling setuptools:

Cleaning up...

Exception:

Traceback (most recent call last):

python 攜程、File "D:\Python34\lib\site-packages\pip\basecommand.py", line 122, in main

status = self.run(options, args)

File "D:\Python34\lib\site-packages\pip\commands\install.py", line 283, in run

requirement_set.install(install_options, global_options, root=options.root_path)

File "D:\Python34\lib\site-packages\pip\req.py", line 1431, in install

python connection aborted,requirement.uninstall(auto_confirm=True)

File "D:\Python34\lib\site-packages\pip\req.py", line 598, in uninstall

paths_to_remove.remove(auto_confirm)

File "D:\Python34\lib\site-packages\pip\req.py", line 1836, in remove

renames(path, new_path)

python 開源?File "D:\Python34\lib\site-packages\pip\util.py", line 295, in renames

shutil.move(old, new)

File "D:\Python34\lib\shutil.py", line 535, in move

os.unlink(src)

PermissionError: [WinError 5] Access is denied: 'd:\\python34\\lib\\site-packages\\__pycache__\\easy_install.cpython-34.pyc'

python scrapy。Storing debug log for failure in D:\home\pip\pip.log

版权声明:本站所有资料均为网友推荐收集整理而来,仅供学习和研究交流使用。

原文链接:https://hbdhgg.com/4/115036.html

发表评论:

本站为非赢利网站,部分文章来源或改编自互联网及其他公众平台,主要目的在于分享信息,版权归原作者所有,内容仅供读者参考,如有侵权请联系我们删除!

Copyright © 2022 匯編語言學習筆記 Inc. 保留所有权利。

底部版权信息