akemin-dayo / simject

simject is a command-line tool and iOS dynamic library that allows developers to easily test their tweaks on the iOS Simulator.
BSD 2-Clause "Simplified" License
486 stars 55 forks source link

Issue when running ./configure #80

Closed ghost closed 2 years ago

ghost commented 2 years ago

I get this error:

 › ./configure --xcode-sdk=iphonesimulator --xcode-archs=x86_64 && make
Traceback (most recent call last):
  File "/Users/shulkk/simject/simject/substitute/./configure", line 4, in <module>
    import mconfig
  File "/Users/shulkk/simject/simject/substitute/./script/mconfig.py", line 1, in <module>
    import re, argparse, sys, os, string, shlex, subprocess, glob, parser, hashlib, json, errno
ModuleNotFoundError: No module named 'parser'

Maybe this has to do with something on issue #64? I'm on ARM64 macOS 12.3.1

sugiuta commented 2 years ago

I also faced that problem, but was able to solve it by changing the Python version to 3.8.

ghost commented 2 years ago

Hm weird.. I'm using Python 3.10

PoomSmart commented 2 years ago

parser module has been removed in Python 3.10 (https://peps.python.org/pep-0617/)

Create an issue in https://github.com/sbingner/substitute because that's where the error is originated.