Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Version conflict while installing flup

I'm trying to get a django site up on bluehost. I already have one running using python2.7, but for this new project I am using python3.5. I've pretty much tried to set everything up the same way that I did before, except using python3. When trying to install flup:

pip3 install flup

but I am getting an error:

Collecting flup
  Using cached flup-1.0.2.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 20, in <module>
      File "/var/tmp/pip-build-mzc6swh8/flup/setup.py", line 2, in <module>
        from ez_setup import use_setuptools
      File "/var/tmp/pip-build-mzc6swh8/flup/ez_setup.py", line 98
        except pkg_resources.VersionConflict, e:
                                            ^
    SyntaxError: invalid syntax

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /var/tmp/pip-build-mzc6swh8/flup

I am guessing that this instance is flup is seeing my python2 version of flup or something and throwing an error. Any ideas on how to solve this?

Also, I've seen this, but that's not the issue I am having.

like image 228
Chase Roberts Avatar asked Mar 11 '26 09:03

Chase Roberts


1 Answers

The answer is here:

https://stackoverflow.com/a/27703117/1378264

(install flup6 instead flup because flup does not work with python3)

like image 188
Philipp Zedler Avatar answered Mar 13 '26 01:03

Philipp Zedler