failed in exe.add_python_resources(exe.pip_download(["cmd2"]))

45 views
Skip to first unread message

Xiang Zhu

unread,
Dec 26, 2023, 2:14:35 AM12/26/23
to pyoxidizer-users


exe.add_python_resources(exe.pip_download(["cmd2"]))
caused the following error:

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

error[PYOXIDIZER_PYTHON_EXECUTABLE]: calling pip download

    

    Caused by:

        error running pip

       --> ./pyoxidizer.bzl:243:30

        |

    243 |     exe.add_python_resources(exe.pip_download(["cmd2"]))

        |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^ PythonExecutable.pip_download()

    

    

error: calling pip download


Caused by:

    error running pip


---

My environment has Python cmd2 installed, as shown below.

pip3 install cmd2

Defaulting to user installation because normal site-packages is not writeable

Requirement already satisfied: cmd2 in /home/xiang/.local/lib/python3.10/site-packages (2.4.1)

Requirement already satisfied: wcwidth>=0.1.7 in /home/xiang/.local/lib/python3.10/site-packages (from cmd2) (0.2.5)

Requirement already satisfied: attrs>=16.3.0 in /home/xiang/.local/lib/python3.10/site-packages (from cmd2) (21.4.0)

Requirement already satisfied: pyperclip>=1.6 in /home/xiang/.local/lib/python3.10/site-packages (from cmd2) (1.8.2)


any idea?  Thanks!

  

Reply all
Reply to author
Forward
0 new messages