View Issue Details

IDProjectCategoryView StatusLast Update
0016768ScribusScripterpublic2022-03-08 19:14
Reporterscampi Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformMAC M1OSMonteryOS Version12.2.1
Summary0016768: does not find Python lib in Scripter
DescriptionExternal libs like Pillow installed on machine but not found despite of PYTHONPATH set.
Version 1.5.8
Steps To ReproduceInstall a lib e.g. Pillow and open a Scribus console

import sys
sys.path. --> show the search path no path to the system Python even if PYTHONPATH is set
from PIL import Image -> gives an error


Workaround :
add the path of the libs :
sys.path.append("/opt/homebrew/lib/python3.9/site-packages")
from PIL import Image ---> this works now
Tagsscripter python libs
PatchNo

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2022-03-07 22:41 scampi New Issue
2022-03-07 22:41 scampi Tag Attached: scripter python libs
2022-03-08 19:13 jghali Project Contributor Builds => Scribus
2022-03-08 19:14 jghali Category General => Scripter