Unable to install Beautifull soup in pycharm

0 Jatin Aggarwal · August 5, 2015
DEPRECATION: --no-install, --no-download, --build, and --no-clean are deprecated.  See https://github.com/pypa/pip/issues/906.
Downloading/unpacking BeautifulSoup==3.2.1
  Downloading BeautifulSoup-3.2.1.tar.gz
  Running setup.py (path:/tmp/pycharm-packaging0.tmp/BeautifulSoup/setup.py) egg_info for package BeautifulSoup
    Traceback (most recent call last):
      File "<string>", line 17, in <module>
      File "/tmp/pycharm-packaging0.tmp/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 "/tmp/pycharm-packaging0.tmp/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 /tmp/pycharm-packaging0.tmp/BeautifulSoup
Storing debug log for failure in /home/jatin/.pip/pip.log

Post a Reply

Replies

Oldest  Newest  Rating
0 Halcyon Abraham Ramirez · August 6, 2015
If im not mistaken pycharm is an IDE meaning it doesn't really do any installation for you.

So you got to cmd then  type pip install BeautifulSoup
0 Jatin Aggarwal · August 14, 2015
i am using ubuntu 14.04 which uses python version 2.7 So using pycharm i have created virtual enviorment for 3.X version.
if i install beautifullsoup from commandline it will be installed for version 2.7 and not for 3.X . and when i am directly installing it from pycharm it shows above error.So what should i do??
0 Otto Von Chesterfield · August 17, 2015
I'm not too familiar with Ubuntu and other Linux-y OS's, but see if you can temporarily switch the default Python version.

If not, perhaps the pip module could help...?
  • 1

Python

107,270 followers
About

This section is all about snakes! Just kidding.

Links
Moderators
Bucky Roberts Administrator