Python Forum
How Do I Install Stuff for Python?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How Do I Install Stuff for Python?
#4
no need to download zip and unzip, etc.

just do in cmd:
Output:
pip install nltk
pip wil download and install whl file for you.
because nltk is more specific package, you need to install also data (the corpora)
see https://www.nltk.org/install.html, last step is the data

In more general sense, look at https://docs.python.org/3/installing/index.html
and always check the package docs for any specific instructions on installation

Nowadays standard way to distribute package is via whl. files. Great many packages are available on PyPi. Some packages may be more difficult to install (e.g. platform specific dependencies, additional files, need to compile something, etc.).
For some of these packages, there are prebuild whl files available from Christoph Gohlke's website. You can download a whl file and install it with pip
Output:
pip install some-whl-file.whl
Of course you can download and install whl files offline also from pypi
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Messages In This Thread
How Do I Install Stuff for Python? - by CopBlaster - May-05-2020, 10:55 PM
RE: How Do I Install Stuff for Python? - by Larz60+ - May-05-2020, 11:13 PM
RE: How Do I Install Stuff for Python? - by buran - May-06-2020, 03:34 AM
RE: How Do I Install Stuff for Python? - by buran - May-08-2020, 07:04 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Run the code for some stuff it does not return me why Anldra12 3 3,996 Apr-19-2021, 02:01 PM
Last Post: Anldra12
  "Automate the Boring Stuff with Python" creating a path works but only for CMD promt Milos 2 3,902 Nov-28-2020, 01:08 PM
Last Post: Larz60+
  Unable to print stuff from while loop Nick1507 4 3,610 Sep-17-2020, 02:26 PM
Last Post: Nick1507
  Learning to have Class and doing stuff with it... bako 2 2,813 Apr-29-2020, 05:07 PM
Last Post: bako
  Automate the boring stuff : the tic tac toe game DJ_Qu 7 8,814 Apr-24-2019, 12:22 PM
Last Post: ichabod801
  More List Stuff Zman350x 3 4,366 Mar-11-2018, 12:20 AM
Last Post: Zman350x
  Need help importing stuff that python says it cant open Tiaan 2 3,685 Nov-30-2017, 09:54 PM
Last Post: Tiaan
  Python "Automate the Boring Stuff" wants me to change Windows environment variables? Atomike 8 10,955 Dec-13-2016, 03:53 PM
Last Post: Atomike

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020