Scribus Forums

Scribus => Scripts and Plugins => Topic started by: srikrishnan on April 29, 2024, 09:19:46 AM

Title: [SOLVED] DirectImageImport Script Module issue
Post by: srikrishnan on April 29, 2024, 09:19:46 AM
Hi all,

I am using scribus 1.6.1. In this i have following Python version:

3.8.18 (default, Aug 25 2023, 21:10:31) [MSC v.1900 64 bit (AMD64)]

i tried to run "DirectImageImport" script from Script menu. I have encountered below error:

---------------------------
PIL
---------------------------
Unable to import the Python Imaging Library module.
---------------------------
OK   
---------------------------

in my windows 10 system, i have installed following version python:

Python 3.11.4 (tags/v3.11.4:d2340ef, Jun  7 2023, 05:45:37) [MSC v.1934 64 bit (AMD64)] on win32

I tried to install all modules in my system python and for testing purpose I tried to copy those modules into "C:\Program Files\Scribus 1.6.1\python\lib\site-packages". sorry, i may be wrong, i tried this because in past one other simple module i copied and it works in scribus. Please help me to fix this issue.

regards,
Srikrishnan

Title: Re: [SOLVED] DirectImageImport Script Module issue
Post by: srikrishnan on May 28, 2024, 08:21:33 PM
finally i found a solution for this issue. I have found the below sites to fix my issue.

https://wiki.scribus.net/canvas/Windows_Full_Python_Integration
https://stackoverflow.com/questions/67768356/python-scripts-folder-is-empty

regards,
Srikrishnan