-3

In my 64 bit windows machine, I'd installed pip 20.0.2 successfully. Then I tried to install numwords using the following command but got errors.

pip install num2words
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.

ERROR

I'm sorry as the above screen shot not much clear.
Thanks in advance.

KittoMi
  • 411
  • 5
  • 19
  • 2
    Please add the output to your question **as text**. Besides some other problems it is barely readable as a screenshot in dark-red in black. – Klaus D. Mar 09 '20 at 05:29
  • You're running pip for the global environment, which apparently sits in `Program Files` on your system - you don't have access there as a non-admin user, so you get a permission error. You can run the command window as administrator to get around it, but you probably should reconsider how Python is installed and if you should be using the global environment from there. – Grismar Mar 09 '20 at 05:35
  • Got the solution just adding --user switch with the command. – KittoMi Mar 09 '20 at 05:52
  • https://stackoverflow.com/search?q=%5Bpip%5D+OSError+13+permission+denied – phd Mar 09 '20 at 08:15

2 Answers2

0
pip3 install num2words

You get the error is because it's trying to user older version of python.

h1dd3n
  • 292
  • 1
  • 12
0

Got the solution just adding --user switch with the command.

pip install num2words --user
KittoMi
  • 411
  • 5
  • 19