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

      <legend id='NCsd9'><style id='NCsd9'><dir id='NCsd9'><q id='NCsd9'></q></dir></style></legend>
        <bdo id='NCsd9'></bdo><ul id='NCsd9'></ul>
      <tfoot id='NCsd9'></tfoot>

    1. <small id='NCsd9'></small><noframes id='NCsd9'>

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

      2. 無法在 Windows 10 上使用 python2.7/MINGW 安裝 pyslali

        Unable to Install pyslalib package using python2.7 / MINGW on Windows 10(無法在 Windows 10 上使用 python2.7/MINGW 安裝 pyslalib 包)

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

                <tbody id='fNcRu'></tbody>
                <legend id='fNcRu'><style id='fNcRu'><dir id='fNcRu'><q id='fNcRu'></q></dir></style></legend>
                • <bdo id='fNcRu'></bdo><ul id='fNcRu'></ul>
                  <tfoot id='fNcRu'></tfoot>
                  本文介紹了無法在 Windows 10 上使用 python2.7/MINGW 安裝 pyslalib 包的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我正在嘗試在 Windows 10 上使用 python 2.7 安裝 pyslalib 包,并不斷收到以下信息:

                  I'm trying to install the pyslalib package using python 2.7 on Windows 10 and keep getting the following:

                  collect2.exe:錯誤:ld 返回 1 個退出狀態"

                  "collect2.exe: error: ld returned 1 exit status"

                  當我嘗試運行python setup.py install"時的消息.我認為這可能是我的 mingw 配置的問題,但我似乎無法找到問題所在.

                  message when I try to run "python setup.py install". I think this might be an issue with my mingw configuration, but I can't seem to locate the problem.

                  對于這個問題的任何幫助將不勝感激.我周末大部分時間都在為此苦苦掙扎.

                  Any help with this issue would be greatly appreciated. I've eaten up most of the weekend struggling with this.

                  謝謝,

                  輸出錯誤是:

                  C:Python27libs/libpython27.a(dmmes01026.o):(.idata$7+0x0): undefined reference to `_head_C__build27_cpython_PCBuild_libpython27_a'
                  C:Python27libs/libpython27.a(dmmes00281.o):(.idata$7+0x0): undefined reference to `_head_C__build27_cpython_PCBuild_libpython27_a'
                  C:Python27libs/libpython27.a(dmmes00105.o):(.idata$7+0x0): undefined reference to `_head_C__build27_cpython_PCBuild_libpython27_a'
                  C:Python27libs/libpython27.a(dmmes00253.o):(.idata$7+0x0): undefined reference to `_head_C__build27_cpython_PCBuild_libpython27_a'
                  C:Python27libs/libpython27.a(dmmes00227.o):(.idata$7+0x0): undefined reference to `_head_C__build27_cpython_PCBuild_libpython27_a'
                  C:Python27libs/libpython27.a(dmmes00712.o):(.idata$7+0x0): more undefined references to `_head_C__build27_cpython_PCBuild_libpython27_a' follow
                  collect2.exe: error: ld returned 1 exit status
                  

                  推薦答案

                  這好像是我最近遇到的一個問題.我認為 Python 附帶的 libpython27.a 存在問題(我使用的是 2.7.10 版).根據 python27.dll 創建我自己的 libpython27.a="nofollow">這里解決了這個問題.

                  This looks like a problem I had recently. I think there is a problem with the libpython27.a that comes included with Python (I'm on version 2.7.10). Creating my own libpython27.a from the python27.dll as per the instructions found here fixed the problem.

                  要創建 Python 擴展,您需要鏈接到 Python圖書館.不幸的是,大多數 Python 發行版都提供了Python22.lib,Microsoft Visual C++ 格式的庫.海合會期望一個.a 文件(準確地說是 libpython22.a.).以下是轉換方法python22.liblibpython22.a:

                  To create Python extensions, you need to link against the Python library. Unfortunately, most Python distributions are provided with Python22.lib, a library in Microsoft Visual C++ format. GCC expects a .a file (libpython22.a to be precise.). Here's how to convert python22.lib to libpython22.a:

                  1. 下載 pexport(從這里或https://web.archive.org/web/20000829082204/http://starship.python.net/crew/kernr/mingw32/pexports-0.42h.zip).
                  2. 獲取Python22.dll(它應該在你硬盤的某個地方).
                  3. 運行:pexports python22.dll >python22.def 這將提取所有符號從 python22.dll 并將它們寫入 python22.def.
                  4. 運行:dlltool --dllname python22.dll --def python22.def --output-lib libpython22.a 這將創建 libpython22.a (dlltool 是 MinGW 實用程序的一部分).
                  5. libpython22.a 復制到 c:python22libs (與python22.lib).
                  1. Download pexport (from here or https://web.archive.org/web/20000829082204/http://starship.python.net/crew/kernr/mingw32/pexports-0.42h.zip).
                  2. Get Python22.dll (it should be somewhere on your harddrive).
                  3. Run : pexports python22.dll > python22.def This will extract all symbols from python22.dll and write them into python22.def.
                  4. Run : dlltool --dllname python22.dll --def python22.def --output-lib libpython22.a This will create libpython22.a (dlltool is part of MinGW utilities).
                  5. Copy libpython22.a to c:python22libs (in the same directory as python22.lib).

                  這個技巧應該適用于所有 Python 版本,包括 Python 的未來版本.你也可以使用這個技巧轉換其他庫.

                  This trick should work for all Python versions, including future releases of Python. You can also use this trick to convert other libraries.

                  這篇關于無法在 Windows 10 上使用 python2.7/MINGW 安裝 pyslalib 包的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

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

                  相關文檔推薦

                  How to make a discord bot that gives roles in Python?(如何制作一個在 Python 中提供角色的不和諧機器人?)
                  Discord bot isn#39;t responding to commands(Discord 機器人沒有響應命令)
                  Can you Get the quot;About mequot; feature on Discord bot#39;s? (Discord.py)(你能得到“關于我嗎?Discord 機器人的功能?(不和諧.py))
                  message.channel.id Discord PY(message.channel.id Discord PY)
                  How do I host my discord.py bot on heroku?(如何在 heroku 上托管我的 discord.py 機器人?)
                  discord.py - Automaticaly Change an Role Color(discord.py - 自動更改角色顏色)

                  <small id='9TzY1'></small><noframes id='9TzY1'>

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

                            <legend id='9TzY1'><style id='9TzY1'><dir id='9TzY1'><q id='9TzY1'></q></dir></style></legend>
                              <tbody id='9TzY1'></tbody>
                            主站蜘蛛池模板: 国产精品久久久久久久久久久久午夜片 | 成人av电影天堂 | 国产高清在线精品 | 国产一区 在线视频 | 中文字幕91av | 国产精品永久在线观看 | 日韩免费在线视频 | 日韩精品一区二区三区在线播放 | 91aiai| 久久精品久久精品久久精品 | 久久久精品一区 | 日韩高清黄色 | 免费v片在线观看 | 精品视频一区二区三区在线观看 | 91麻豆精品国产91久久久久久久久 | 国产精品国色综合久久 | 国产99久久精品一区二区永久免费 | 精品一区二区观看 | 亚洲大片在线观看 | 久久久久久免费毛片精品 | 男人天堂免费在线 | 怡红院成人在线视频 | 人操人人| 婷婷桃色网 | 最新中文字幕在线 | 视频一区在线观看 | av乱码| 亚洲一二三区精品 | av手机在线看 | 亚洲精品福利视频 | 久久成人一区 | 亚洲国产一区在线 | 日本中文在线视频 | 91精品无人区卡一卡二卡三 | 四虎永久免费影院 | 久久一区二区三区免费 | 午夜欧美| av成年人网站 | 成人av片在线观看 | 午夜视频在线播放 | 国产精品久久久久久久久久久免费看 |