It is currently Tue Jul 02, 2024 3:46 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Trouble importing third party Python packages to GIMP 2.10 so that the
PostPosted: Sun Dec 01, 2019 11:12 pm  (#1) 
Offline
New Member

Joined: Dec 01, 2019
Posts: 1
My goal is to import a couple third party Python packages for use with my GIMP installation. This will allow me to use these packages when developing a GIMP plugin. I noticed a few directories that may be of use. They are as follows:

C:\Program Files\GIMP 2\32\lib\python2.7

This directory contains a site-packages folder which contains packages such as requests and pip.

C:\Program Files\GIMP 2\32\bin

This directory contains a python.exe. When I run python --version in an elevated cmd at this directory path, the output is Python 2.7.16, which I assume is GIMP 2.10's version of Python. This is important because I have my own installation of Python 3.8.0 in my Program Files. If I'm anywhere outside of this path in the cmd, the version that outputs is 3.8.0.

I have added these directories to my PATH system variable and tried running pip install but the output tells me I have already installed the requested third party packages. The problem is that they are installed to my Python 3.8.0 installation. I'm trying to run pip install in the context of GIMP's Python environment.

Any advice would be much appreciated.


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Importing photos from camera

6

No new posts Importing eye candy 4000 to GIMP

1

No new posts THIRD PARTY GEGL FILTER GUIDE

14

No new posts installing 3rd party paint brushes (techie question)

0

No new posts Make a key binding to access third party GEGL Operations faster

1



* Login  



Powered by phpBB3 © phpBB Group