How do I install a Python package?

Viewed 42

I tried to install the Hungarian POS tagger, Purepospy using Google Colab in Windows 10 following the instructions on GitHub:

  • Install git-lfs git-lfs install

  • Clone the repository: git clone https://github.com/nytud/purepospy (It should clone the model file also!)

  • sudo apt install `cat Aptfile`

  • make build

  • sudo pip3 install dist/*.whl

  • Use from Python

git-lfs is already installed at Colab and the cloning seems to be fine (after correcting it to the right directory), but after the code:

!sudo apt install `cat Aptfile`

I got the message:

cat: Aptfile: No such file or directory

Same after deleting sudo. Any idea?

1 Answers

pip install? idk im new try open command prompt (admin) pip install package name Search for folder named Scripts where pip applications are stored. Scripts Folder. In command prompt, type cd cd refers to change directory. ... Type pip install package-name.

Related