Unable to Install pytermextract Package for NLP

Asked 2 years ago, Updated 2 years ago, 36 views

http://gensen.dl.itc.u-tokyo.ac.jp/pytermextract/
Use the link above to download and extract the file from the desktop and use the command prompt to

python setup.py install

I said, but if I don't have such a file, I will get an error.
I have no idea what the cause is, but how can I solve it?Even if I double-click setup.py in pytermextract-0_01, which I unzipped in the first place, I can't open it.

Note.1] The error is as follows.
C:\Users\username>python setup.py install
python: can't open file 'setup.py': [Errno2] No such file or directory

Additional note.2]

This figure shows set.py on Desktop but does not install from a command prompt

python python3

2022-09-30 16:45

1 Answers

If you saved/unzip the file to your desktop, the folder should look like the path below.
It contains the setup.py file.
(Try moving the focus to the address field of the explorer)

 C:\Users\USERNAME\Desktop\pytermextract-0_01

On the other hand, the current directory (where you are) immediately after you open the command prompt is in the login user's home directory by default, so you must go to the location where you want the file to be, and then run the installation command:

C:\Users\USERNAME\

cdcommand to move folders

 C:\Users\USERNAME>cd Desktop\pytermextract-0_01

Use the dir command to view a list of files (see if setup.py is available)

 C:\Users\USERNAME\Desktop\pytermextract-0_01>dir

Perform the installation

C:\Users\USERNAME\Desktop\pytermextract-0_01>python setup.py install


2022-09-30 16:45

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.