Home > Enterprise >  How to use pip install to install lazypredict (Python package) using a MacOS Ventura 13.1, using Spy
How to use pip install to install lazypredict (Python package) using a MacOS Ventura 13.1, using Spy

Time:01-06

These are my codes:

import pip

pip install lazycredit

And, I get this error:

File "<ipython-input-8-bda080a7b858>", line 1
pip install lazycredit
    ^

SyntaxError: invalid syntax

CodePudding user response:

pip install is a commandline command, not a python command. Based on your question I would strongly suggest you look into beginner tutorials such as this one to better understand how to manage python packages.

  • Related