Open MAJAQA opened 2 years ago
Hi @MAJAQA,
Did you install python via the MS store? I think that version won't work with third-party libraries (like pyvips), you are locked into their set of extensions.
I just tried installing the python from the python.org website and it worked:
Python 3.10.0 (tags/v3.10.0:b494f59, Oct 4 2021, 19:00:18) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyvips
>>> vipshome = 'C:\\Users\\jcupi\\vips-dev-8.12\\bin'
>>> import os
>>> os.environ['PATH'] = vipshome + ';' + os.environ['PATH']
>>> import pyvips
>>>
Indeed this was the root cause. Thanks.
To copy-paste from the linked issue, the MS store version seems to run at least partially inside the UWP sandbox, so it will not work with things like pyvips.
I think it's actually #351.
Just install latest pyvips (first install on my local machine as I was previously working on a VM) I don't get it: seen this issue before on the forum (https://github.com/kleisauke/net-vips/issues/3) , followed all suggestions; but keep getting:
My python code uses:
And environment: