久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

        <tfoot id='TkWBm'></tfoot>

          <bdo id='TkWBm'></bdo><ul id='TkWBm'></ul>

        <i id='TkWBm'><tr id='TkWBm'><dt id='TkWBm'><q id='TkWBm'><span id='TkWBm'><b id='TkWBm'><form id='TkWBm'><ins id='TkWBm'></ins><ul id='TkWBm'></ul><sub id='TkWBm'></sub></form><legend id='TkWBm'></legend><bdo id='TkWBm'><pre id='TkWBm'><center id='TkWBm'></center></pre></bdo></b><th id='TkWBm'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='TkWBm'><tfoot id='TkWBm'></tfoot><dl id='TkWBm'><fieldset id='TkWBm'></fieldset></dl></div>

      1. <legend id='TkWBm'><style id='TkWBm'><dir id='TkWBm'><q id='TkWBm'></q></dir></style></legend>
      2. <small id='TkWBm'></small><noframes id='TkWBm'>

      3. 我如何解決“OSError: mysql_config not found"?Elast

        How do I address quot;OSError: mysql_config not foundquot; error during Elastic Beanstalk deployment?(我如何解決“OSError: mysql_config not found?Elastic Beanstalk 部署期間出錯?)

            <legend id='8giGH'><style id='8giGH'><dir id='8giGH'><q id='8giGH'></q></dir></style></legend>

            <small id='8giGH'></small><noframes id='8giGH'>

                <tbody id='8giGH'></tbody>
              <tfoot id='8giGH'></tfoot>
              <i id='8giGH'><tr id='8giGH'><dt id='8giGH'><q id='8giGH'><span id='8giGH'><b id='8giGH'><form id='8giGH'><ins id='8giGH'></ins><ul id='8giGH'></ul><sub id='8giGH'></sub></form><legend id='8giGH'></legend><bdo id='8giGH'><pre id='8giGH'><center id='8giGH'></center></pre></bdo></b><th id='8giGH'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='8giGH'><tfoot id='8giGH'></tfoot><dl id='8giGH'><fieldset id='8giGH'></fieldset></dl></div>
                <bdo id='8giGH'></bdo><ul id='8giGH'></ul>

                1. 本文介紹了我如何解決“OSError: mysql_config not found"?Elastic Beanstalk 部署期間出錯?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  限時送ChatGPT賬號..

                  問題

                  我正在嘗試使用小型數據庫后端在 Elastic Beanstalk 上部署一個非常簡單的應用程序.我嘗試安裝 mysqlclient 作為 AWS 此處.但是,當我部署我的應用程序時,我在嘗試下載包時從我的 Elastic Beanstalk 日志中收到以下錯誤:

                  I am trying to deploy a very simple app on Elastic Beanstalk with a small database backend. I try to install mysqlclient as part of the process outlined by AWS here. However, when I deploy my app, I get the following error from my Elastic Beanstalk logs as it tries to download the package:

                  Collecting mysqlclient
                    Using cached mysqlclient-2.0.1.tar.gz (87 kB)
                  
                  2020/08/21 20:30:16.419082 [ERROR] An error occurred during execution of command [app-deploy] - [InstallDependency]. Stop running the command. Error: fail to install dependencies with requirements.txt file with error Command /bin/sh -c /var/app/venv/staging-LQM1lest/bin/pip install -r requirements.txt failed with error exit status 1. Stderr:    ERROR: Command errored out with exit status 1:
                       command: /var/app/venv/staging-LQM1lest/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-bz45889a/mysqlclient/setup.py'"'"'; __file__='"'"'/tmp/pip-install-bz45889a/mysqlclient/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-1tyle8mv
                           cwd: /tmp/pip-install-bz45889a/mysqlclient/
                      Complete output (12 lines):
                      /bin/sh: mysql_config: command not found
                      /bin/sh: mariadb_config: command not found
                      /bin/sh: mysql_config: command not found
                      Traceback (most recent call last):
                        File "<string>", line 1, in <module>
                        File "/tmp/pip-install-bz45889a/mysqlclient/setup.py", line 15, in <module>
                          metadata, options = get_config()
                        File "/tmp/pip-install-bz45889a/mysqlclient/setup_posix.py", line 65, in get_config
                          libs = mysql_config("libs")
                        File "/tmp/pip-install-bz45889a/mysqlclient/setup_posix.py", line 31, in mysql_config
                          raise OSError("{} not found".format(_mysql_config_path))
                      OSError: mysql_config not found
                  

                  問題

                  mysqlclient 是 AWS 推薦的驅動程序,用于使用 Flask 或 Django 連接到 RDS 中的 MySQL 數據庫.如何使用 Elastic Beanstalk 安裝它?

                  The mysqlclient is the AWS recommended driver to connect to a MySQL database in RDS using Flask or Django. How do I get it installed with Elastic Beanstalk?

                  背景

                  我嘗試使用 (1) Elastic Beanstalk 環境的數據庫或 (2) Elastic Beanstalk 環境定期部署的 RDS 實例來實現我的架構環境.在這種情況下,我們將使用選項 (1).

                  I've tried to implement my architecture with either (1) a database within the Elastic Beanstalk environment or (2) a regularly deployed RDS instance outside the Elastic Beanstalk environment. In this case, we're going with option (1).

                  我無法使用 apt-get 安裝 mysql-server 或其他軟件包作為 在這里建議 很容易,這就是為什么我希望這不會被標記為重復.我無權訪問底層服務器.我嘗試使用平臺掛鉤和 .ebextensions,但我 無法讓它工作.在這篇文章中,我試圖退后一步,看看是否還有其他途徑.

                  I can't install mysql-server or other packages using apt-get as suggested here very easily, which is why I hope this isn't labeled as a duplicate. I don't have access to the underlying servers. I attempted to using platform hooks and .ebextensions, but I wasn't able to get that to work. In this post, I'm trying to step back and see if there is another avenue.

                  推薦答案

                  對于 Amazon linux 2,您應該能夠使用 yum 安裝它.因此,您可以在 .ebextensions 中有一個名為的文件,例如01_packages.config 內容:

                  For Amazon linux 2 you should be able to install it with yum. Thus, you can have in your .ebextensions a file called, e.g. 01_packages.config with the content:

                  packages: 
                      yum:
                          MySQL-python: []
                  

                  如果您需要更多 yum 依賴項,您可以添加更多.

                  You can add further yum dependencies if you require more.

                  這篇關于我如何解決“OSError: mysql_config not found"?Elastic Beanstalk 部署期間出錯?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  SQL query to get all products, categories and meta data woocommerce/wordpress(獲取所有產品、類別和元數據的 SQL 查詢 woocommerce/wordpress)
                  How to use MySQL in WSL (Windows Subsystem for Linux)?(如何在 WSL(Linux 的 Windows 子系統)中使用 MySQL?)
                  PowerShell MySQL Backup Script Error in Task Scheduler 0x00041301(任務計劃程序中的 PowerShell MySQL 備份腳本錯誤 0x00041301)
                  Import the data from the XML files into a MySQL database(將數據從 XML 文件導入 MySQL 數據庫)
                  installed Xampp on Windows 7 32-bit. Errors when starting(在 Windows 7 32 位上安裝 Xampp.啟動時的錯誤)
                  Mysql lower case table on Windows xampp(Windows xampp 上的 Mysql 小寫表)
                    <tfoot id='dznQQ'></tfoot>
                        <tbody id='dznQQ'></tbody>
                        <bdo id='dznQQ'></bdo><ul id='dznQQ'></ul>

                          <i id='dznQQ'><tr id='dznQQ'><dt id='dznQQ'><q id='dznQQ'><span id='dznQQ'><b id='dznQQ'><form id='dznQQ'><ins id='dznQQ'></ins><ul id='dznQQ'></ul><sub id='dznQQ'></sub></form><legend id='dznQQ'></legend><bdo id='dznQQ'><pre id='dznQQ'><center id='dznQQ'></center></pre></bdo></b><th id='dznQQ'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='dznQQ'><tfoot id='dznQQ'></tfoot><dl id='dznQQ'><fieldset id='dznQQ'></fieldset></dl></div>
                            <legend id='dznQQ'><style id='dznQQ'><dir id='dznQQ'><q id='dznQQ'></q></dir></style></legend>

                            <small id='dznQQ'></small><noframes id='dznQQ'>

                          • 主站蜘蛛池模板: 国产精品成人一区二区三区 | 欧美午夜久久 | av手机在线看 | 国产精品久久久久久久久久久免费看 | 久久夜色精品国产 | 综合久| 国产一区二区黑人欧美xxxx | 色接久久 | 久久99精品久久久 | 免费观看一级特黄欧美大片 | 麻豆国产一区二区三区四区 | 欧美激情视频一区二区三区免费 | 欧美精品久久久久 | 激情六月天 | 久久精品久久久久久 | 国产欧美一区二区三区久久 | a黄毛片 | 国产精品不卡一区 | 精品九九久久 | 久久91精品 | 一级黄在线观看 | 久久成人一区二区三区 | 国产午夜精品一区二区三区在线观看 | 久久精品视频网站 | 日日夜夜影院 | 亚洲国产成人精品久久久国产成人一区 | 99精品视频一区二区三区 | 亚洲3p| 久久99精品久久久久久 | 欧美free性| 91av视频在线免费观看 | 日韩一区二区三区av | 成人3d动漫一区二区三区91 | 国产区在线 | 日韩免费1区二区电影 | 日韩三级在线观看 | 91精品国产综合久久婷婷香蕉 | 秋霞av国产精品一区 | 五月综合久久 | 五月槐花香 | 毛片视频免费观看 |