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

pip3 fails to install fts-rest client #19

Open
paulmillar opened this issue May 11, 2021 · 2 comments
Open

pip3 fails to install fts-rest client #19

paulmillar opened this issue May 11, 2021 · 2 comments

Comments

@paulmillar
Copy link

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:~$ 

It looks like this print statement (mistakenly) follows the old (python 2) syntax.

@mpatrascoiu
Copy link
Contributor

Hello Paul,

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.

@paulmillar
Copy link
Author

Thanks for the explanation Mihai,

I'm not using the FTS client very often, so this isn't so urgent.

Also, as long as python v2 is working, I don't need to use python v3 (but see #18).

Working with RPMs is somewhat awkward on my Debian machine, but (if needs must) I can probably do something to make it work.

Cheers,
Paul.

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

2 participants