Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Gimp, python, and numpy
#20
(12-07-2017, 03:09 PM)Kevin Wrote: Here's what I've just done:
  • From this page: https://stackoverflow.com/questions/4750...on-windows download get-pip.py and put it into your GIMP Python folder (C:\Program Files\GIMP-2.8.22\Python)
  • From a Windows Command Prompt Window cd to the GIMP Python folder:  cd C:\Program Files\GIMP-2.8.22\Python
  • Run the get-pip.py script using the GIMP version of Python:  .\python.exe get-pip.py
  • You now have pip installed in the GIMP version of Python
  • Now you can run the command to download and install numpy:  .\python.exe -m pip install --user numpy
  • Start GIMP
  • In the Python Console (Filters>>Python-Fu>>Console) import numpy then dir(numpy) you should get the screen-shot shown by Ofnuts.
Kevin, At step 3 I got this error
   

(12-07-2017, 03:42 PM)dinasset Wrote:
(12-07-2017, 03:09 PM)Kevin Wrote: Here's what I've just done:
  • From this page: https://stackoverflow.com/questions/4750...on-windows download get-pip.py and put it into your GIMP Python folder (C:\Program Files\GIMP-2.8.22\Python)
  • From a Windows Command Prompt Window cd to the GIMP Python folder:  cd C:\Program Files\GIMP-2.8.22\Python
  • Run the get-pip.py script using the GIMP version of Python:  .\python.exe get-pip.py
  • You now have pip installed in the GIMP version of Python
  • Now you can run the command to download and install numpy:  .\python.exe -m pip install --user numpy
  • Start GIMP
  • In the Python Console (Filters>>Python-Fu>>Console) import numpy then dir(numpy) you should get the screen-shot shown by Ofnuts.
Kevin, At step 3 I got this error

Sorry, I see my error....

GOT IT ! Many thanks Kevin !

Kevin, may I insert a post in GC copying what you wrote here?
Or will you do it yourself? (even better)
I guess it is a very important mini-tut.
Reply


Messages In This Thread
Gimp, python, and numpy - by Ofnuts - 12-04-2017, 09:52 PM
RE: Gimp, python, and numpy - by Espermaschine - 12-06-2017, 12:23 AM
RE: Gimp, python, and numpy - by Ofnuts - 12-06-2017, 12:31 AM
RE: Gimp, python, and numpy - by Zero01 - 12-06-2017, 07:16 PM
RE: Gimp, python, and numpy - by Ofnuts - 12-06-2017, 11:26 PM
RE: Gimp, python, and numpy - by Zero01 - 12-07-2017, 12:29 PM
RE: Gimp, python, and numpy - by Ofnuts - 12-07-2017, 02:24 PM
RE: Gimp, python, and numpy - by dinasset - 12-07-2017, 08:57 AM
RE: Gimp, python, and numpy - by Ofnuts - 12-07-2017, 09:49 AM
RE: Gimp, python, and numpy - by Zero01 - 12-07-2017, 09:59 AM
RE: Gimp, python, and numpy - by dinasset - 12-07-2017, 10:24 AM
RE: Gimp, python, and numpy - by Ofnuts - 12-07-2017, 02:22 PM
RE: Gimp, python, and numpy - by Ofnuts - 12-07-2017, 12:57 PM
RE: Gimp, python, and numpy - by Zero01 - 12-07-2017, 01:14 PM
RE: Gimp, python, and numpy - by rich2005 - 12-07-2017, 01:26 PM
RE: Gimp, python, and numpy - by dinasset - 12-07-2017, 01:50 PM
RE: Gimp, python, and numpy - by Zero01 - 12-07-2017, 01:55 PM
RE: Gimp, python, and numpy - by Zero01 - 12-07-2017, 03:08 PM
RE: Gimp, python, and numpy - by Kevin - 12-07-2017, 03:09 PM
RE: Gimp, python, and numpy - by dinasset - 12-07-2017, 03:42 PM
RE: Gimp, python, and numpy - by Zero01 - 12-07-2017, 05:15 PM
RE: Gimp, python, and numpy - by Kevin - 12-07-2017, 05:33 PM
RE: Gimp, python, and numpy - by Zero01 - 12-07-2017, 05:57 PM
RE: Gimp, python, and numpy - by Ofnuts - 12-07-2017, 05:59 PM
RE: Gimp, python, and numpy - by Zero01 - 12-07-2017, 06:11 PM
RE: Gimp, python, and numpy - by Ofnuts - 12-07-2017, 06:33 PM
RE: Gimp, python, and numpy - by rich2005 - 12-07-2017, 06:41 PM
RE: Gimp, python, and numpy - by rich2005 - 12-08-2017, 11:08 AM
RE: Gimp, python, and numpy - by Zero01 - 12-10-2017, 12:33 PM

Forum Jump: