fauxtograph icon indicating copy to clipboard operation
fauxtograph copied to clipboard

pip installation on py3 fails

Open arahuja opened this issue 9 years ago • 3 comments

Looks like the BeautifulSoup dependency does not work on py3. Is there a reason for this specific BS version as opposed to bs4?

pip install fauxtograph
Collecting fauxtograph
  Downloading fauxtograph-1.0.3.tar.gz
Collecting chainer==1.6.0 (from fauxtograph)
  Downloading chainer-1.6.0.tar.gz (904kB)
    100% |████████████████████████████████| 905kB 273kB/s
Requirement already satisfied (use --upgrade to upgrade): pillow in ./anaconda/envs/py34/lib/python3.4/site-packages (from fauxtograph)
Collecting joblib (from fauxtograph)
  Downloading joblib-0.9.4-py2.py3-none-any.whl (112kB)
    100% |████████████████████████████████| 114kB 1.7MB/s
Collecting tqdm (from fauxtograph)
  Downloading tqdm-3.8.0-py2.py3-none-any.whl
Collecting BeautifulSoup (from fauxtograph)
  Downloading BeautifulSoup-3.2.1.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 20, in <module>
      File "/private/var/folders/b1/jbv4n2f56mz8m3hxkdtc51cr0000gn/T/pip-build-9v2hhigl/BeautifulSoup/setup.py", line 22
        print "Unit tests have failed!"
                                      ^
    SyntaxError: Missing parentheses in call to 'print'

arahuja avatar Feb 15 '16 16:02 arahuja

No, I just forgot to update the version to bs4 in the setup file. Thanks for the bug report.

tjtorres avatar Feb 15 '16 22:02 tjtorres

Fixed this and other Python3 issues in this PR: https://github.com/stitchfix/fauxtograph/pull/21

waleedka avatar Jul 02 '16 01:07 waleedka

HI, I am facing the same problem, like @arahuja

pip install fauxtograph Collecting fauxtograph Downloading fauxtograph-1.0.3.tar.gz Collecting chainer==1.6.0 (from fauxtograph) Downloading chainer-1.6.0.tar.gz (904kB) 100% |████████████████████████████████| 905kB 273kB/s Requirement already satisfied (use --upgrade to upgrade): pillow in ./anaconda/envs/py34/lib/python3.4/site-packages (from fauxtograph) Collecting joblib (from fauxtograph) Downloading joblib-0.9.4-py2.py3-none-any.whl (112kB) 100% |████████████████████████████████| 114kB 1.7MB/s Collecting tqdm (from fauxtograph) Downloading tqdm-3.8.0-py2.py3-none-any.whl Collecting BeautifulSoup (from fauxtograph) Downloading BeautifulSoup-3.2.1.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 20, in <module> File "/private/var/folders/b1/jbv4n2f56mz8m3hxkdtc51cr0000gn/T/pip-build-9v2hhigl/BeautifulSoup/setup.py", line 22 print "Unit tests have failed!" ^ SyntaxError: Missing parentheses in call to 'print'

I request @tjtorres to help.

Regards, Arghya

ArghyaPal avatar Mar 27 '17 09:03 ArghyaPal