#๐Ÿ”’ error while installing pip modules

17 messages ยท Page 1 of 1 (latest)

timid minnow
#

Im getting the same error installing any module using pip in termux i used to use them before but now its getting error when i re downloaded

....
error: can't find Rust compiler

            If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.

            To update pip, run:

                pip install --upgrade pip

            and then retry package installation.

            If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
            [end of output]

        note: This error originates from a subprocess, and is likely not a problem with pip.
        ERROR: Failed building wheel for maturin
      Failed to build maturin
      ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (maturin)
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

ร— pip subprocess to install build dependencies did not run successfully.
โ”‚ exit code: 1
โ•ฐโ”€> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

I wanna install these modules

pip install discord
pip install instagrapi
pip install huggingface_hub
pip install pillow...

echo adderBOT
#

@timid minnow

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

weary trench
#

did you see the first line?

#

Cannot find Rust compiler

timid minnow
#

Oh

#

But how do i fix it

weary trench
#

install the rust toolchain

timid minnow
#

Is there any command for it?

weary trench
#

depends on your operating system

#

most package managers would have that

timid minnow
#

Im doing it in termux which runs similar to linux terminal

weary trench
#

then IDK

timid minnow
#

Hmm

#

Ill try to find a command to install rust toolchain

storm bramble
echo adderBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.