question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error when running pip install python-saml

See original GitHub issue

This is the output when running pip install python-saml

Collecting python-saml
  Downloading https://files.pythonhosted.org/packages/2b/05/c709c6f23df8a939e324b3136042957256e779f3fb0492fb7b0bfff7d1b4/python-saml-2.4.1.tar.gz (72kB)
Collecting dm.xmlsec.binding==1.3.3 (from python-saml)
  Downloading https://files.pythonhosted.org/packages/02/ba/b534536eb50bc013cd8dc3116c46eee4bff5b9e57e2af23f81afc574a67a/dm.xmlsec.binding-1.3.3.tar.gz (120kB)
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\jmorales\AppData\Local\Temp\pip-install-ueuyv6lm\dm.xmlsec.binding\setup.py", line 72
        print "Warning : cflag %s skipped" % flag
                                         ^
    SyntaxError: Missing parentheses in call to print

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\jmorales\AppData\Local\Temp\pip-install-ueuyv6lm\dm.xmlsec.binding\

This is my setup:

Python version: 3.5 OS: Windows 10 Home System Type: 64-bit Operating System, x64-based processor Processor: AMD A10-8700P Radeon R6

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
pitbulkcommented, Sep 5, 2018

If you use python3, then why are you not using python3-saml instead python-saml?

Code is compatible and it uses a different xmlsec library.

0reactions
travisfrasercommented, Sep 6, 2018

We ended up going the python3-saml route even though we are on python 2. This combination works well.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error when running pip install python-saml · Issue #237 - GitHub
The problem is that I am using Python 3, so the parentheses is needed when printing something. The dependency dm.xmlsec.binding is only ...
Read more >
Error while installing Python-saml package in windows
while I am trying to install python-saml package using pip install python-saml , I am getting the below error message. (myvenv) C:\Users\sekar> ...
Read more >
Error while installing Python-saml package in windows
I would like to use python-saml for sso integration with flask web app. while I am trying to install python-saml package using pip...
Read more >
python-saml 2.1.9 - PyPI
SAML is an XML-based standard for web browser single sign-on and is defined by the OASIS Security Services Technical Committee. The standard has...
Read more >
OneLogin SAML Python Toolkit 2.0.0 documentation
Add SAML support to your Python softwares using this library. ... pip install python-saml ... "strict": true, // Enable debug mode (outputs errors)....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found