Skip to content
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

syntaxError #9

Open
Blurge16 opened this issue Sep 29, 2024 · 11 comments
Open

syntaxError #9

Blurge16 opened this issue Sep 29, 2024 · 11 comments

Comments

@Blurge16
Copy link

Don't know exactly what I am doing wrong here but I am getting a syntaxError.

blurge16@brooksserver:~/Documents/mega_nz-Creator$ python3 Main.py
File "Main.py", line 66
match os.name:
^
SyntaxError: invalid syntax

@Th3K1n91
Copy link
Owner

Th3K1n91 commented Oct 9, 2024

Which python version do you use?
match case was introduced to python in 3.10

@alexxtg12
Copy link

Which python version do you use? match case was introduced to python in 3.10

I have the same error, i have the version 3.9 of python

@Blurge16
Copy link
Author

I am currently running Python 3.12.6, which version of python should I be running?

@Blurge16
Copy link
Author

I solved my issue on Windows 10. I forgot to run the Python Dependencies and I ran them independent from each other like so:
pip install unofficial-xitroo-api
pip install requests
pip install PySide6

@alexxtg12
Copy link

I solved my issue on Windows 10. I forgot to run the Python Dependencies and I ran them independent from each other like so: pip install unofficial-xitroo-api pip install requests pip install PySide6

i install this pips but it still doesn't work for me

@Blurge16
Copy link
Author

Did you happen to download the "mega_nz-Creator-main.zip" folder and the "megatools-1.11.1.20230212-win64.zip" and extract it to the same location somewhere on your C: drive?

@Blurge16
Copy link
Author

This is where I placed my files and this is what my folder looks like for me.
meganz

@Blurge16
Copy link
Author

Python Version
image

@alexxtg12
Copy link

Python Version image

still not working, do you have telegram for better communication?

@Th3K1n91
Copy link
Owner

Which python version do you use? match case was introduced to python in 3.10

I have the same error, i have the version 3.9 of python

you need to upgrade to 3.10 or greater

@alexxtg12
Copy link

Owner

Now work, thanks!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants