12-07-2017, 01:26 PM
(This post was last modified: 12-07-2017, 01:32 PM by rich2005.
Edit Reason: typo
)
Might be easier to install linux than get anything working in Windows
In the spirit of always willing to try, this using Win7 (a bit faster than my Win10 VM)
First which 'flavour' of python. The Win installers have both 32 and 64 bit versions. I have tried both with the same result. The Python in a 64 bit Windows Gimp 2.8.22 is 32 bit, so this example using 32 bit for the screenshots.
Installing Python, easy enough. The only option to enable is adding python to the windows path. https://i.imgur.com/PINkYFd.jpg other wise everything is default.
Using pip to install numpy. Again there are 32/64 bit versions of the numpy .whl file
Lots in this screenshot of the windows terminal https://i.imgur.com/9yMZ8C9.jpg
1. the python version
2. installing numpy - that added the f2py files to the Python 27\Scripts folder
3. A check that python has been added to the path.
4. The Python command and import numpy, no error messages.
A restart of Win, just in case and onto Gimp
Starting Gimp in a terminal with the verbose switch all the usual, nothing special. https://i.imgur.com/1yMRV2G.jpg
The Gimp 2.8.22 Python console with import numpy - not found https://i.imgur.com/QdyfC2h.jpg
So, that is me finished. quote from the stackoverflow thread ..Can't believe there are so many lengthy (perhaps outdated?) answers out there..
In the spirit of always willing to try, this using Win7 (a bit faster than my Win10 VM)
First which 'flavour' of python. The Win installers have both 32 and 64 bit versions. I have tried both with the same result. The Python in a 64 bit Windows Gimp 2.8.22 is 32 bit, so this example using 32 bit for the screenshots.
Installing Python, easy enough. The only option to enable is adding python to the windows path. https://i.imgur.com/PINkYFd.jpg other wise everything is default.
Using pip to install numpy. Again there are 32/64 bit versions of the numpy .whl file
Lots in this screenshot of the windows terminal https://i.imgur.com/9yMZ8C9.jpg
1. the python version
2. installing numpy - that added the f2py files to the Python 27\Scripts folder
3. A check that python has been added to the path.
4. The Python command and import numpy, no error messages.
A restart of Win, just in case and onto Gimp
Starting Gimp in a terminal with the verbose switch all the usual, nothing special. https://i.imgur.com/1yMRV2G.jpg
The Gimp 2.8.22 Python console with import numpy - not found https://i.imgur.com/QdyfC2h.jpg
So, that is me finished. quote from the stackoverflow thread ..Can't believe there are so many lengthy (perhaps outdated?) answers out there..