tableau / TabPy

Execute Python code on the fly and display results in Tableau visualizations:
https://tableau.github.io/TabPy/
MIT License
1.56k stars 598 forks source link

ERROR : ERROR: Could not find a version that satisfies the requirement tabpy (from versions: none) ERROR: No matching distribution found for tabpy #389

Closed ribisht closed 4 years ago

ribisht commented 4 years ago

Environment information:

Describe the issue 1)I could install tabpy-server and tabpy-client both

python -m pip install tabpy-server Requirement already satisfied: tabpy-server in /Library/Python/2.7/site-packages (0.2) Requirement already satisfied: Tornado-JSON in /Library/Python/2.7/site-packages (from tabpy-server) (1.3.3)

Riteshs-MacBook-Air:TabPy reyansh$ python -m pip install tabpy-client Requirement already satisfied: requests in /Library/Python/2.7/site-packages (from tabpy-client) (2.21.0) Requirement already satisfied: cloudpickle in /Library/Python/2.7/site-packages (from tabpy-client) (0.6.1)

But when I try to install TabPy or run the startup command I see the below error Riteshs-MacBook-Air:TabPy reyansh$ python -m pip install tabpy ERROR: Could not find a version that satisfies the requirement tabpy (from versions: none) ERROR: No matching distribution found for tabpy

To Reproduce Steps to reproduce the behavior: what commands to run, what files to modify, where to look for an error.

Expected behavior I want to connect Tableau to Python Configure Tableau to connect to this service by entering the service URL and port number under Help > Settings and Performance > Manage External Service Connection in Tableau Desktop. Then you can use Python scripts as part of your calculated fields in Tableau, just as you've been able to do with R since Tableau 8.1

0golovatyi commented 4 years ago

@ribisht What instructions are you following? None of the steps you mentioned above is needed for installing and running TabPy.

Here is the document for how to install TabPy - https://github.com/tableau/TabPy/blob/master/docs/server-install.md.

Also, you may find this blog post useful - http://tabscifi.com/2019/12/python-packages-tabpy-tabpy_server-and-tabpy_tools.

ribisht commented 4 years ago

Thanks a lot for your response.

As per your instructions, I did perform the steps but could not find any success

Riteshs-MacBook-Air:TabPy reyansh$ python -m pip install --upgrade pip

DEPRECATION: Python 2.7 will reach the end of its life on January 1st,

  1. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support

Requirement already up-to-date: pip in /Users/reyansh/Library/Python/2.7/lib/python/site-packages (19.3.1)

Riteshs-MacBook-Air:TabPy reyansh$ python -m pip install tabpy

DEPRECATION: Python 2.7 will reach the end of its life on January 1st,

  1. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support

ERROR: Could not find a version that satisfies the requirement tabpy (from versions: none)

ERROR: No matching distribution found for tabpy

Thanks,

Ritesh

On Sat, Dec 28, 2019 at 8:04 PM Oleksandr Golovatyi < notifications@github.com> wrote:

@ribisht https://github.com/ribisht What instructions are you following? None of the steps you mentioned above is needed for installing and running TabPy.

Here is the document for how to install TabPy - https://github.com/tableau/TabPy/blob/master/docs/server-install.md.

Also, you may find this blog post useful - http://tabscifi.com/2019/12/python-packages-tabpy-tabpy_server-and-tabpy_tools .

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tableau/TabPy/issues/389?email_source=notifications&email_token=AOELJDW5UQONGBRWGGKKCALQ25PY3A5CNFSM4KAFDGQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHYLCZA#issuecomment-569422180, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOELJDRTQZOCJG5SYSJRBNDQ25PY3ANCNFSM4KAFDGQQ .

0golovatyi commented 4 years ago

Python 2.7 is the issue. First, it is not supported any more in just a few days and not secure. And, second, TabPy requires Python 3.6 or 3.7.

ribisht commented 4 years ago

Thank you for your response

It worked

Ritesh

On Sun, 29 Dec 2019, 1:18 am Oleksandr Golovatyi, notifications@github.com wrote:

Python 2.7 is the issue. First, it is not supported any more in just a few days and not secure. And, second, TabPy requires Python 3.6 or 3.7.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tableau/TabPy/issues/389?email_source=notifications&email_token=AOELJDTTC7JE3YYCYGT73VTQ26USBA5CNFSM4KAFDGQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHYQ5UA#issuecomment-569446096, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOELJDX4733FUMKMGOIYPVLQ26USBANCNFSM4KAFDGQQ .