View Issue Details

IDProjectCategoryView StatusLast Update
0016769ScribusScripterpublic2024-01-29 16:32
Reporterscampi Assigned To 
Status newResolutionopen 
PlatformMAC M1OSMonteryOS Version12.2.1
Summary0016769: Shows the wrong system which causes a lot of following errors
DescriptionScribus 1.5.8
The internal Python of Scribus gives back the wrong OS
Steps To ReproduceAlternative 1.
Goto scripter console
run :
import platform

In scripter its "i386"
in python3 console it is "arm" on MAC M1
But I do not know wether this is responsible for my use case problem ---> Alternative 2 is more complicated but describes the problem the problem The error comes when "from PIL import Image" is called

Alternative 2. (which is the use case)
Install Pillow on Your maschine, add the path to the lib in your code (Ticket 0016768)
Run in Your code a command which needs pillow. (pillow has native extensions and is OS dependent)
Error :
 Traceback (most recent call last):
  File "/Users/ek/Documents/py/", line 6, in <module>
    from PIL import Image
  File "/opt/homebrew/lib/python3.9/site-packages/PIL/", line 89, in <module>
    from . import _imaging as core
ImportError: dlopen(/opt/homebrew/lib/python3.9/site-packages/PIL/, 0x0002): tried: '/opt/homebrew/lib/python3.9/site-packages/PIL/' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/usr/lib/' (no such file)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 11, in <module>
  File "<string>", line 8, in <module>
  File "/Users/ek/Documents/py/", line 8, in <module>
    messageBox("", "This script requires the Python Image Library")
NameError: name 'messageBox' is not defined

Tagsscripter python libs Mac M1



2022-03-09 19:21

administrator   ~0049591

Scribus 1.5.8 is only built on Intel. We will not have a native M1 build in the 1.5.x series. It works in the 1.7.x series though we have not made a release yet.


2022-06-02 21:08

administrator   ~0049672

I'm testing a 1.7.0 bundle build for dmg svn release... should be ok on the weekend


2024-01-08 20:48

administrator   ~0050852

1.6.1 is available in Intel and Apple Silicon versions


2024-01-29 16:32

reporter   ~0050950

@scampi ^

Issue History

Date Modified Username Field Change
2022-03-07 23:18 scampi New Issue
2022-03-07 23:18 scampi Tag Attached: scripter python libs Mac M1
2022-03-08 19:15 jghali Project Contributor Builds => Scribus
2022-03-08 19:16 jghali Priority urgent => normal
2022-03-08 19:16 jghali Severity block => minor
2022-03-08 19:16 jghali Category General => Scripter
2022-03-09 19:21 cbradney Note Added: 0049591
2022-06-02 21:08 cbradney Note Added: 0049672
2024-01-08 20:48 cbradney Note Added: 0050852
2024-01-29 16:32 luzpaz Note Added: 0050950