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

Update setup.py #35

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update setup.py #35

wants to merge 1 commit into from

Conversation

andys08
Copy link

@andys08 andys08 commented Apr 25, 2022

Refactored to resolve syntax error, with missing parenthesis during egg installation.

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [7 lines of output]
Traceback (most recent call last):
File "", line 36, in
File "", line 34, in
File "/tmp/pip-install-p3t045mx/pysqlcipher_0057c16bd8cf407782aa9e6618077d88/setup.py", line 64
print "CFLAGS", os.environ['CFLAGS']
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("CFLAGS", os.environ['CFLAGS'])?
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

Reproduced here
print "CFLAGS", os_env
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("CFLAGS", os_env)?

Resolution
print("CFLAGS", os_env)
CFLAGS -Qunused-arguments

Refactored to resolve syntax error, with missing parenthesis during egg installation.

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [7 lines of output]
      Traceback (most recent call last):
        File "<string>", line 36, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-p3t045mx/pysqlcipher_0057c16bd8cf407782aa9e6618077d88/setup.py", line 64
          print "CFLAGS", os.environ['CFLAGS']
                       ^
      SyntaxError: Missing parentheses in call to 'print'. Did you mean print("CFLAGS", os.environ['CFLAGS'])?
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

Reproduced here
    print "CFLAGS", os_env
          ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("CFLAGS", os_env)?

Resolution
print("CFLAGS", os_env)
CFLAGS -Qunused-arguments
@andys08
Copy link
Author

andys08 commented Apr 25, 2022

Resolving missing parenthesis error.

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

Successfully merging this pull request may close these issues.

1 participant