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

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

      <legend id='bkr2s'><style id='bkr2s'><dir id='bkr2s'><q id='bkr2s'></q></dir></style></legend>

      1. pip3安装命令重复创建文件'/tmp/pip-install-xxxxx

        时间:2023-08-06
        1. <legend id='CxDC1'><style id='CxDC1'><dir id='CxDC1'><q id='CxDC1'></q></dir></style></legend>
            <tfoot id='CxDC1'></tfoot>

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

                <tbody id='CxDC1'></tbody>

              • <bdo id='CxDC1'></bdo><ul id='CxDC1'></ul>

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

                1. 本文介绍了pip3安装命令重复创建文件'/tmp/pip-install-xxxxx/package'失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  每当我尝试安装软件包时,例如 pip3 install PyQt5,该命令都会失败,并显示有关 /tmp 目录中缺少目录的消息

                  Whenever I try to install a package, for example pip3 install PyQt5 the command fails with a message about a missing directory in the /tmp directory

                  pip3 install PyQt5
                  Collecting PyQt5
                    Downloading https://files.pythonhosted.org/packages/3a/fb/eb51731f2dc7c22d8e1a63ba88fb702727b324c6352183a32f27f73b8116/PyQt5-5.14.1.tar.gz (3.2MB)
                      100% |████████████████████████████████| 3.2MB 19.3MB/s 
                    Installing build dependencies ... done
                      Complete output from command python setup.py egg_info:
                      Traceback (most recent call last):
                        File "<string>", line 1, in <module>
                        File "/usr/lib/python3.7/tokenize.py", line 447, in open
                          buffer = _builtin_open(filename, 'rb')
                      FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-install-0shdy0kn/PyQt5/setup.py'
                  
                      ----------------------------------------
                  Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-0shdy0kn/PyQt5/
                  

                  当我查看 /tmp 目录时,不存在 pip-install-xxxxxxx 目录,并且看起来进程根本没有创建它们.

                  When I look in the /tmp directory no pip-install-xxxxxxx directories exist and it looks like the process doesn't create them at all.

                  推荐答案

                  作为快速修复,您可以 sudo apt-get install python3-pyqt5

                  As a quick fix you can sudo apt-get install python3-pyqt5

                  但是为了你的问题.任何包裹都会发生这种情况吗?

                  But for the sake of your question. Does this happen with any package?

                  您可以尝试安装以下任何一个来看看它是否有效,这些只是简单的示例.

                  Can you try installing any of the following just to see if it works, these are just quick examples.

                  pip3 install numpy==1.18.1
                  pip3 install pandas==0.25.3
                  pip3 install pep8==1.7.1
                  pip3 install pika==1.1.0
                  

                  一个原因可能是 PyQt5 将与 python 2 一起使用,因此可能仅适用于 pip install PyQt5

                  One reason could be that PyQt5 is to be used with python 2 and hence might only work with pip install PyQt5

                  这篇关于pip3安装命令重复创建文件'/tmp/pip-install-xxxxx/package'失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:PyQt5 和 Python 中的用户输入验证 下一篇:如何使用 QComboBox.setPlaceholderText?

                  相关文章

                  最新文章

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

                      <bdo id='XW83c'></bdo><ul id='XW83c'></ul>
                    <tfoot id='XW83c'></tfoot><legend id='XW83c'><style id='XW83c'><dir id='XW83c'><q id='XW83c'></q></dir></style></legend>
                  2. <i id='XW83c'><tr id='XW83c'><dt id='XW83c'><q id='XW83c'><span id='XW83c'><b id='XW83c'><form id='XW83c'><ins id='XW83c'></ins><ul id='XW83c'></ul><sub id='XW83c'></sub></form><legend id='XW83c'></legend><bdo id='XW83c'><pre id='XW83c'><center id='XW83c'></center></pre></bdo></b><th id='XW83c'></th></span></q></dt></tr></i><div id='XW83c'><tfoot id='XW83c'></tfoot><dl id='XW83c'><fieldset id='XW83c'></fieldset></dl></div>