package not installing due to NO SUCH FILE OR DIRECTORY
can anyone know how to fix this? I tried to install "python install pyfiglet" in cmd with the same directory as the program file with, but it says CAN'T OPEN FILE AND NO SUCH FILE DIRECTORY
package not installing due to NO SUCH FILE OR DIRECTORY
can anyone know how to fix this? I tried to install "python install pyfiglet" in cmd with the same directory as the program file with, but it says CAN'T OPEN FILE AND NO SUCH FILE DIRECTORY
The python command is designed to run Python code, not to install Python modules.
What you are looking for is pip, which is the official package manager, made for installing Python modules hosted on PyPI, and with some hacks, online community sources:
python -m pip install pyfiglet
If Python detects the pip module as non-existent, which is useful in many cases (like installations that did not install pip), use the built-in ensurepip module to install it:
python -m ensurepip
Hope this resolved your problem.