Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6941539
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T12:53:56+00:00 2026-05-27T12:53:56+00:00

Getting this error when running pip install -U selenium . Mid way through the

  • 0

Getting this error when running pip install -U selenium. Mid way through the script, it gets the following SyntaxError:

    Traceback (most recent call last):
      File "<string>", line 14, in <module>
      File "C:\Python32\Scripts\build\rdflib\setup.py", line 6, in <module>
        from rdflib import __version__
      File "rdflib\__init__.py", line 64, in <module>
        from rdflib.term import URIRef, BNode, Literal, Variable
      File "rdflib\term.py", line 367
        except TypeError, te:
                        ^
    SyntaxError: invalid syntax
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 14, in <module>

  File "C:\Python32\Scripts\build\rdflib\setup.py", line 6, in <module>

    from rdflib import __version__

  File "rdflib\__init__.py", line 64, in <module>

    from rdflib.term import URIRef, BNode, Literal, Variable

  File "rdflib\term.py", line 367

    except TypeError, te:

                    ^

SyntaxError: invalid syntax

----------------------------------------
Command python setup.py egg_info failed with error code 1

Since it is a Syntax Error, I assume it is a python version problem, I’m running 3.2.2.
Pip did come with a pip-3.2.exe file, which I tried to run. But I got the same error. I’m pretty new to Python so it might be something simple.

And how can it be a syntaxError? pip is an already made program.

Running Win7, Python 3.2.2

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T12:53:56+00:00Added an answer on May 27, 2026 at 12:53 pm

    Selenium does not support Python 3. Use Python 2.7 instead.

    Sadly, almost all Python software requires Python 2.x.

    [Update]
    Selenium supports Python 3.x now.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm running Valgrind and I'm getting the following error (this is not the only
I'm getting this error when running an SSIS package through SQL Agent Failed to
I'm getting this error when running the development environment through RubyMine 3.1. The mysql
I am getting this error when running heroku rake db:migrate: Please install the postgresql
I'm getting this error when running a groovy script (GroovyRuntimeException), and the top Google
I'm getting this error message whiile running a Webservice I'm working on. it builds,
I'm getting this error when trying to access my webservice running inside tomcat. Caused
I'm running IIS 6.0 on Windows 2003 and started getting this error: Compiler Error
I'm trying to install Rcpp on Ubuntu 10.04 and getting this error (which implies
I'm getting this error when running an MVC3 site on my locahost. It is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.