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

pip install fails on Python 3.4.1 #25

Open
tkremmel opened this issue Apr 11, 2016 · 0 comments
Open

pip install fails on Python 3.4.1 #25

tkremmel opened this issue Apr 11, 2016 · 0 comments

Comments

@tkremmel
Copy link

The installation fails because BeautifulSoup is not compatible with Python 3.
A quick-fix might be to use BeautifulSoup4 instead, as it should be compatible with Python 2 and Python 3

The install error message is:

pip install django-inlinecss
Downloading/unpacking django-inlinecss
  Downloading django-inlinecss-0.1.1.tar.gz
  Running setup.py (path:/Users/xxx/.virtualenvs/xxx-my-project/build/django-inlinecss/setup.py) egg_info for package django-inlinecss

Requirement already satisfied (use --upgrade to upgrade): Django in /Users/xxx/.virtualenvs/xxx-my-project/lib/python3.4/site-packages (from django-inlinecss)
Requirement already satisfied (use --upgrade to upgrade): cssutils in /Users/xxx/.virtualenvs/xxx-my-project/lib/python3.4/site-packages (from django-inlinecss)
Downloading/unpacking BeautifulSoup (from django-inlinecss)
  Downloading BeautifulSoup-3.2.1.tar.gz
  Running setup.py (path:/Users/xxx/.virtualenvs/xxx-my-project/build/BeautifulSoup/setup.py) egg_info for package BeautifulSoup
    Traceback (most recent call last):
      File "<string>", line 17, in <module>
      File "/Users/xxx/.virtualenvs/xxx-my-project/build/BeautifulSoup/setup.py", line 22
        print "Unit tests have failed!"
                                      ^
    SyntaxError: invalid syntax
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

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

  File "/Users/xxx/.virtualenvs/xxx-my-project/build/BeautifulSoup/setup.py", line 22

    print "Unit tests have failed!"

                                  ^

SyntaxError: invalid syntax

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /Users/xxx/.virtualenvs/xxx-my-project/build/BeautifulSoup
Storing debug log for failure in /Users/xxx/.pip/pip.log
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

1 participant