-
-
Notifications
You must be signed in to change notification settings - Fork 798
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NameError: name 'settings' is not defined & ModuleNotFoundError: No module named 'src.thirdparty.six.moves' #885
Comments
Hey, @Abhishek-Dirisipo sorry, but I am not able to reproduce the reported issue. |
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 #871. |
so , it is an issue with mac i think. |
This seems to be a problem when the six library is already installed. Changing the imports via
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
<#885 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A5IWDPVTXNRZRTSWQXOYS4DYOPP63AVCNFSM6AAAAABBZDNWUSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJQHE3DAMZVGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Thank you , now it is perfectly working fine |
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
import("src.utils.version")
File "/Users/abhishek/BB/tools/commix/src/utils/version.py", line 17, in
from src.utils import settings
File "/Users/abhishek/BB/tools/commix/src/utils/settings.py", line 26, in
from src.thirdparty.six.moves import urllib as _urllib
ModuleNotFoundError: No module named 'src.thirdparty.six.moves'
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
print(settings.print_critical_msg(err_msg))
^^^^^^^^
NameError: name 'settings' is not defined
Do you have an idea for a solution?
no
How can we reproduce the issue?
What are the running context details?
Installation method (e.g.
apt-get
,git clone
orzip
/tar.gz
): git cloneClient OS (e.g.
Linux (Ubuntu)
): mac osProgram version (
python commix.py --version
orcommix --version
depending on installation): python 3.12.1Relevant console output (if any):
Traceback (most recent call last):
File "/Users/abhishek/BB/tools/commix/commix.py", line 18, in
import("src.utils.version")
File "/Users/abhishek/BB/tools/commix/src/utils/version.py", line 17, in
from src.utils import settings
File "/Users/abhishek/BB/tools/commix/src/utils/settings.py", line 26, in
from src.thirdparty.six.moves import urllib as _urllib
ModuleNotFoundError: No module named 'src.thirdparty.six.moves'
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
print(settings.print_critical_msg(err_msg))
^^^^^^^^
NameError: name 'settings' is not defined
The text was updated successfully, but these errors were encountered: