久久久久久久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 部署期間出錯(cuò)?)

            <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 部署期間出錯(cuò)?的處理方法,對大家解決問題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                  問題描述

                  限時(shí)送ChatGPT賬號(hào)..

                  問題

                  我正在嘗試使用小型數(shù)據(jù)庫后端在 Elastic Beanstalk 上部署一個(gè)非常簡單的應(yīng)用程序.我嘗試安裝 mysqlclient 作為 AWS 此處.但是,當(dāng)我部署我的應(yīng)用程序時(shí),我在嘗試下載包時(shí)從我的 Elastic Beanstalk 日志中收到以下錯(cuò)誤:

                  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 推薦的驅(qū)動(dòng)程序,用于使用 Flask 或 Django 連接到 RDS 中的 MySQL 數(shù)據(jù)庫.如何使用 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 環(huán)境內(nèi)的數(shù)據(jù)庫或 (2) Elastic Beanstalk 環(huán)境定期部署的 RDS 實(shí)例來實(shí)現(xiàn)我的架構(gòu)環(huán)境.在這種情況下,我們將使用選項(xiàng) (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 或其他軟件包作為 在這里建議 很容易,這就是為什么我希望這不會(huì)被標(biāo)記為重復(fù).我無權(quán)訪問底層服務(wù)器.我嘗試使用平臺(tái)掛鉤和 .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,您應(yīng)該能夠使用 yum 安裝它.因此,您可以在 .ebextensions 中有一個(gè)名為的文件,例如01_packages.config 內(nèi)容:

                  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 依賴項(xiàng),您可以添加更多.

                  You can add further yum dependencies if you require more.

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

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

                  相關(guān)文檔推薦

                  SQL query to get all products, categories and meta data woocommerce/wordpress(獲取所有產(chǎn)品、類別和元數(shù)據(jù)的 SQL 查詢 woocommerce/wordpress)
                  How to use MySQL in WSL (Windows Subsystem for Linux)?(如何在 WSL(Linux 的 Windows 子系統(tǒng))中使用 MySQL?)
                  PowerShell MySQL Backup Script Error in Task Scheduler 0x00041301(任務(wù)計(jì)劃程序中的 PowerShell MySQL 備份腳本錯(cuò)誤 0x00041301)
                  Import the data from the XML files into a MySQL database(將數(shù)據(jù)從 XML 文件導(dǎo)入 MySQL 數(shù)據(jù)庫)
                  installed Xampp on Windows 7 32-bit. Errors when starting(在 Windows 7 32 位上安裝 Xampp.啟動(dòng)時(shí)的錯(cuò)誤)
                  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'>

                          • 主站蜘蛛池模板: 国产在线网站 | 国产精品18hdxxxⅹ在线 | av天天干 | 国产欧美日韩在线观看 | 免费黄色在线观看 | 亚洲最大的黄色网址 | 午夜精品久久久久久久久久久久 | 国产草草视频 | 日韩成人免费中文字幕 | 久久亚洲一区 | 国产日韩欧美一区 | 日本在线观看网址 | 成人一区精品 | 天天躁天天操 | 狠狠综合久久av一区二区老牛 | 国产成年人视频 | 男女爱爱福利视频 | 91精品久久久 | 国产成人精品一区二区三区四区 | 亚洲最新在线 | 亚洲欧美国产视频 | 国产精品美女久久久久久免费 | 午夜久久久 | 成人午夜免费视频 | 国产激情一区二区三区 | 欧美日韩久久久 | 在线观看视频你懂得 | 久久国产婷婷国产香蕉 | 欧美日韩亚洲国产 | 国产精品小视频在线观看 | 中文字幕人成乱码在线观看 | 日韩中文字幕在线免费 | 国产精品免费播放 | 黄色网址免费看 | 久草电影网| 久久免费视频1 | 午夜视频网站 | 国产在线视频一区二区董小宛性色 | 国产精品1区 | 欧美亚洲一区二区三区 | 中文字幕av一区二区三区 |