Code Monkey home page Code Monkey logo

Comments (12)

BBeran avatar BBeran commented on May 25, 2024

Can you try going to the folder

./envs/Tableau-Python-Server/lib/python3.5/site-packages/tabpy_server

and running ./startup.sh

It looks like it installed but exited with incorrect error message.

Thank you,

Bora

from tabpy.

bashiiiwa avatar bashiiiwa commented on May 25, 2024

Thank you for quick response. I'll ask customer to check.
Thank you.
Tomohiro.

from tabpy.

bashiiiwa avatar bashiiiwa commented on May 25, 2024

The directory:
./envs/Tableau-Python-Server/lib/python3.5/site-packages/tabpy_server
Cannot be found.

So customer executed from install directory
MAC-0035N:tabpy_server gm3293$ pwd
/Users/gm3293/TabPy/tabpy-server/tabpy_server
MAC-0035N:tabpy_server gm3293$ ls -ls
total 96
0 drwxr-xr-x 8 gm3293 staff 272 3 1 13:37 common
0 drwxr-xr-x 5 gm3293 staff 170 3 1 13:37 management
0 drwxr-xr-x 5 gm3293 staff 170 3 1 13:37 psws
8 -rw-r--r-- 1 gm3293 staff 445 3 1 13:37 startup.bat
8 -rw-r--r-- 1 gm3293 staff 511 3 1 13:37 startup.py
8 -rw-r--r-- 1 gm3293 staff 664 3 1 13:37 startup.sh
8 -rw-r--r-- 1 gm3293 staff 169 3 2 11:59 state.ini
8 -rw-r--r-- 1 gm3293 staff 169 3 1 13:37 state.ini.template
0 drwxr-xr-x 4 gm3293 staff 136 3 1 13:37 static
56 -rw-r--r-- 1 gm3293 staff 27969 3 1 13:37 tabpy.py
MAC-0035N:tabpy_server gm3293$ sh startup.sh
Found existing state.ini
Traceback (most recent call last):
File "/Users/gm3293/TabPy/tabpy-server/tabpy_server/tabpy.py", line 3, in

import simplejson
ImportError: No module named 'simplejson'

simplejson is missing
Is it possible to install simplejason file ?

Best Regards,
Tomohiro

from tabpy.

bashiiiwa avatar bashiiiwa commented on May 25, 2024

Customer reported that he could start with following start.sh
/anaconda/envs/Tableau-Python-Server/lib/python3.5/site-packages/tabpy_server/startup.sh
Thank you for support.

from tabpy.

BBeran avatar BBeran commented on May 25, 2024

Great to hear

from tabpy.

Tinni88 avatar Tinni88 commented on May 25, 2024

Hello Bora,
I have downloaded TabPy_Master from github and run setup.bat file. Its showing anaconda installed but there are few errors at the end. And in c:\Users\User Name\Anaconda\envs\Tableau-Python-Server\Lib\site-packages,the tabpy_server folder is missing. I even tried out the path /anaconda/envs/Tableau-Python-Server/lib but here I couldn't find the folder python3.5. Can you please guide me as how to proceed.
Thanks,
Ankita

from tabpy.

Mithun-Aggarwal avatar Mithun-Aggarwal commented on May 25, 2024

Thanks, @BBeran your solution was right it was installed at the location specified.

the point to observe is that different cases there might be different python versions for me it was 3.6.

from tabpy.

karatikasssssss avatar karatikasssssss commented on May 25, 2024

Hi, Let me ask one question: Our customer trying to install Tabpy on MAC OS. When running sh setup.sh , it fails with following logs. Please give me advice on how to install Tabpy on MAC.

MAC-0035N:TabPy gm3293$ sh setup.sh

Anaconda installed already.
prepending //anaconda/bin to PATH
~~~~~~~~~~~~~~~ Activating the environment ~~~~~~~~~~~~~~~
Conda env 'Tableau-Python-Server' already exists.
prepending //anaconda/envs/Tableau-Python-Server/bin to PATH
~~~~~~~~~~~~~~~ Installing dependencies ~~~~~~~~~~~~~~~
Processing /Users/gm3293/TabPy/tabpy-client
Requirement already satisfied (use --upgrade to upgrade): tabpy-client==0.2 from file:///Users/gm3293/TabPy/tabpy-client in ./envs/Tableau-Python-Server/lib/python3.5/site-packages
Requirement already satisfied (use --upgrade to upgrade): cloudpickle in ./envs/Tableau-Python-Server/lib/python3.5/site-packages (from tabpy-client==0.2)
Requirement already satisfied (use --upgrade to upgrade): decorator in ./envs/Tableau-Python-Server/lib/python3.5/site-packages (from tabpy-client==0.2)
Requirement already satisfied (use --upgrade to upgrade): python-dateutil in ./envs/Tableau-Python-Server/lib/python3.5/site-packages (from tabpy-client==0.2)
Requirement already satisfied (use --upgrade to upgrade): requests in ./envs/Tableau-Python-Server/lib/python3.5/site-packages (from tabpy-client==0.2)
Requirement already satisfied (use --upgrade to upgrade): genson in ./envs/Tableau-Python-Server/lib/python3.5/site-packages (from tabpy-client==0.2)
Requirement already satisfied (use --upgrade to upgrade): jsonschema in ./envs/Tableau-Python-Server/lib/python3.5/site-packages (from tabpy-client==0.2)
Requirement already satisfied (use --upgrade to upgrade): six>=1.5 in ./envs/Tableau-Python-Server/lib/python3.5/site-packages (from python-dateutil->tabpy-client==0.2)
Building wheels for collected packages: tabpy-client
Running setup.py bdist_wheel for tabpy-client ... done
Stored in directory: /Users/gm3293/Library/Caches/pip/wheels/f5/75/7a/7335361e6574d929e9815d4d8cdd7c24de279153f0cc3e3001
Successfully built tabpy-client
You are using pip version 8.1.1, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Processing /Users/gm3293/TabPy/tabpy-server
Requirement already satisfied (use --upgrade to upgrade): tabpy-server==0.2 from file:///Users/gm3293/TabPy/tabpy-server in ./envs/Tableau-Python-Server/lib/python3.5/site-packages
Requirement already satisfied (use --upgrade to upgrade): future in ./envs/Tableau-Python-Server/lib/python3.5/site-packages (from tabpy-server==0.2)
Requirement already satisfied (use --upgrade to upgrade): futures in ./envs/Tableau-Python-Server/lib/python3.5/site-packages (from tabpy-server==0.2)
Requirement already satisfied (use --upgrade to upgrade): requests in ./envs/Tableau-Python-Server/lib/python3.5/site-packages (from tabpy-server==0.2)
Requirement already satisfied (use --upgrade to upgrade): simplejson in ./envs/Tableau-Python-Server/lib/python3.5/site-packages (from tabpy-server==0.2)
Requirement already satisfied (use --upgrade to upgrade): Tornado-JSON in ./envs/Tableau-Python-Server/lib/python3.5/site-packages (from tabpy-server==0.2)
Requirement already satisfied (use --upgrade to upgrade): tornado in ./envs/Tableau-Python-Server/lib/python3.5/site-packages (from tabpy-server==0.2)
Requirement already satisfied (use --upgrade to upgrade): cloudpickle in ./envs/Tableau-Python-Server/lib/python3.5/site-packages (from tabpy-server==0.2)
Requirement already satisfied (use --upgrade to upgrade): decorator in ./envs/Tableau-Python-Server/lib/python3.5/site-packages (from tabpy-server==0.2)
Requirement already satisfied (use --upgrade to upgrade): python-dateutil in ./envs/Tableau-Python-Server/lib/python3.5/site-packages (from tabpy-server==0.2)
Requirement already satisfied (use --upgrade to upgrade): genson in ./envs/Tableau-Python-Server/lib/python3.5/site-packages (from tabpy-server==0.2)
Requirement already satisfied (use --upgrade to upgrade): jsonschema in ./envs/Tableau-Python-Server/lib/python3.5/site-packages (from tabpy-server==0.2)
Requirement already satisfied (use --upgrade to upgrade): tabpy-client in ./envs/Tableau-Python-Server/lib/python3.5/site-packages (from tabpy-server==0.2)
Requirement already satisfied (use --upgrade to upgrade): numpy in ./envs/Tableau-Python-Server/lib/python3.5/site-packages (from tabpy-server==0.2)
Requirement already satisfied (use --upgrade to upgrade): six>=1.5 in ./envs/Tableau-Python-Server/lib/python3.5/site-packages (from python-dateutil->tabpy-server==0.2)
Building wheels for collected packages: tabpy-server
Running setup.py bdist_wheel for tabpy-server ... done
Stored in directory: /Users/gm3293/Library/Caches/pip/wheels/50/db/71/f27071d4a2cafa208f19a43bc95f14a6d1b497d401c59355e7
Successfully built tabpy-server
You are using pip version 8.1.1, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
~~~~~~~~~~~~~~~~~ Installation failed ~~~~~~~~~~~~~~~~
MAC-0035N:TabPy gm3293$ pip install --upgrade pip
Requirement already up-to-date: pip in /anaconda/lib/python3.5/site-packages

from tabpy.

karatikasssssss avatar karatikasssssss commented on May 25, 2024

Traceback (most recent call last):
File "C:\Python310\lib\runpy.py", line 196, in _run_module_as_main
return run_code(code, main_globals, None,
File "C:\Python310\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "C:\Python310\Scripts\tabpy.exe_main
.py", line 7, in
File "C:\Python310\lib\site-packages\tabpy\tabpy.py", line 41, in main
from tabpy.tabpy_server.app.app import TabPyApp
File "C:\Python310\lib\site-packages\tabpy\tabpy_server\app\app.py", line 17, in
from tabpy.tabpy_server.handlers import (
File "C:\Python310\lib\site-packages\tabpy\tabpy_server\handlers_init
.py", line 1, in
from tabpy.tabpy_server.handlers.base_handler import BaseHandler
File "C:\Python310\lib\site-packages\tabpy\tabpy_server\handlers\base_handler.py", line 6, in
import tornado.web
File "C:\Python310\lib\site-packages\tornado\web.py", line 88, in
from tornado import httputil
File "C:\Python310\lib\site-packages\tornado\httputil.py", line 107, in
class HTTPHeaders(collections.MutableMapping):
AttributeError: module 'collections' has no attribute 'MutableMapping'

anybody can help me?

from tabpy.

0golovatyi avatar 0golovatyi commented on May 25, 2024

@karatikasssssss Have you tried installing TabPy with installation instructions - https://github.com/tableau/TabPy/blob/master/docs/server-install.md ?

from tabpy.

karatikasssssss avatar karatikasssssss commented on May 25, 2024

yes
actually 2 problems are there after installing tabpy-server it was not showing in file and second the above one mutablemapping is showing dont know

from tabpy.

0golovatyi avatar 0golovatyi commented on May 25, 2024

@karatikasssssss what tabpy-server? There's nothing about installing tabpy-server in the instructions. What steps are you following?

from tabpy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.