You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I attempt to install fts-rest package using python3 (== pip3) the installation fails:
paul@sprocket:~$ pip3 install fts3-rest
Collecting fts3-rest
Using cached https://files.pythonhosted.org/packages/3d/06/e5bb9d6b78ef6a93cef4a9f161f9e46e8694ae9de649cffa03fed31d8542/fts3-rest-3.9.4.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-9zcbjuzw/fts3-rest/setup.py", line 15
print "Applying workaround for M2Crypto in RedHat"
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Applying workaround for M2Crypto in RedHat")?
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-9zcbjuzw/fts3-rest/
paul@sprocket:~$
This repository (fts-rest) is not Python3-compatible.
I assume doing pip3 install, you get the Python2 version in-fact.
We have a Python3 version (+ ported to Flask) in the fts-rest-flask repository.
The plan is in the future for that project to replace the fts-rest repository.
For the moment, our fts-rest deployment is done via RPMs.
In the future, we plan to provide an fts3 package (via pip) which will contain only the Python3-version client part and have fts3-rest removed.
For the moment, your best bet unfortunately is still RPMs.
When I attempt to install fts-rest package using python3 (==
pip3
) the installation fails:It looks like this
print
statement (mistakenly) follows the old (python 2) syntax.The text was updated successfully, but these errors were encountered: