NameError: name 'settings' is not defined & ModuleNotFoundError: No module named 'src.thirdparty.six.moves'
What's the problem (or question)?
when i try to run commix, this error occurs:
Traceback (most recent call last):
File "/Users/abhishek/BB/tools/commix/commix.py", line 18, in
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/abhishek/BB/tools/commix/commix.py", line 25, in
Do you have an idea for a solution?
no
How can we reproduce the issue?
- use mac with latest python 3.12.1
- try to run commix.py with python3
- the error will occur
What are the running context details?
-
Installation method (e.g.
apt-get,git cloneorzip/tar.gz): git clone -
Client OS (e.g.
Linux (Ubuntu)): mac os -
Program version (
python commix.py --versionorcommix --versiondepending on installation): python 3.12.1 -
Relevant console output (if any):
Traceback (most recent call last):
File "/Users/abhishek/BB/tools/commix/commix.py", line 18, in
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/abhishek/BB/tools/commix/commix.py", line 25, in
Hey, @Abhishek-Dirisipo sorry, but I am not able to reproduce the reported issue. Try to update commix to the latest (dev) version and/or use different version of Python and check again.
i re-installed python3.12.1(latest) and re-cloned the latest commix . it still shows me the same error.
This is some kind of environment issue (that i am not able to reproduce) similar with https://github.com/commixproject/commix/issues/871. I would suggest to run commix on Linux VM (i.e. Kali Linux etc)
so , it is an issue with mac i think.
FYI, i just run commix (v3.9-dev#43) on my OSX w/ Python version 3.9.14.
This seems to be a problem when the six library is already installed. Changing the imports via
find $COMMIX_ROOT -iname "*.py" -exec sed -i '' 's/from src.thirdparty.six.moves import/from six.moves import/g' {} \;
fixed this issue for me.
3.9 it is working for the latest python version it is not working
On Sun, 14 Jan 2024 at 7:28 PM, Anastasios Stasinopoulos < @.***> wrote:
FYI, i just run commix (v3.9-dev#43) on my OSX w/ Python version 3.9.14. Untitled.png (view on web) https://github.com/commixproject/commix/assets/5289251/c11459bd-209e-4874-b822-3e378d814e5c
— Reply to this email directly, view it on GitHub https://github.com/commixproject/commix/issues/885#issuecomment-1890960353, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5IWDPVTXNRZRTSWQXOYS4DYOPP63AVCNFSM6AAAAABBZDNWUSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJQHE3DAMZVGM . You are receiving this because you were mentioned.Message ID: @.***>
Confirmed that this error occurred with latest python version (i.e. 3.12).
Thank you , now it is perfectly working fine
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related issues.