[GH-ISSUE #25] SyntaxError: invalid syntax #21

Closed
opened 2026-02-27 23:03:26 +03:00 by kerem · 1 comment
Owner

Originally created by @qwertyhq0x on GitHub (Dec 5, 2022).
Original GitHub issue: https://github.com/simonmicro/Pritunl-Fake-API/issues/25

when I start setup.py have this error:

root@pritunl:~# sudo bash ./setup.py 
./setup.py: line 2: import: command not found
./setup.py: line 3: import: command not found
./setup.py: line 4: import: command not found
./setup.py: line 5: import: command not found
./setup.py: line 6: import: command not found
./setup.py: line 8: originalApiServer: command not found
./setup.py: line 9: originalAuthServer: command not found
./setup.py: line 10: newApiServer: command not found
./setup.py: line 11: syntax error near unexpected token `('
./setup.py: line 11: `searchIn = [*glob.glob('/usr/lib/python3*'), '/usr/lib/pritunl/', '/usr/share/pritunl/www/', '/usr/lib/pritunl/', '/usr/share/pritunl/www/']'
Originally created by @qwertyhq0x on GitHub (Dec 5, 2022). Original GitHub issue: https://github.com/simonmicro/Pritunl-Fake-API/issues/25 when I start setup.py have this error: ``` root@pritunl:~# sudo bash ./setup.py ./setup.py: line 2: import: command not found ./setup.py: line 3: import: command not found ./setup.py: line 4: import: command not found ./setup.py: line 5: import: command not found ./setup.py: line 6: import: command not found ./setup.py: line 8: originalApiServer: command not found ./setup.py: line 9: originalAuthServer: command not found ./setup.py: line 10: newApiServer: command not found ./setup.py: line 11: syntax error near unexpected token `(' ./setup.py: line 11: `searchIn = [*glob.glob('/usr/lib/python3*'), '/usr/lib/pritunl/', '/usr/share/pritunl/www/', '/usr/lib/pritunl/', '/usr/share/pritunl/www/']' ```
kerem closed this issue 2026-02-27 23:03:26 +03:00
Author
Owner

@qwertyhq0x commented on GitHub (Dec 5, 2022):

SOLVED: sudo python3 setup.py

<!-- gh-comment-id:1338218623 --> @qwertyhq0x commented on GitHub (Dec 5, 2022): SOLVED: sudo python3 setup.py
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Pritunl-Fake-API#21
No description provided.