Coder Social home page Coder Social logo

Setup Issues on Mac OSX Sierra about tabpy HOT 7 CLOSED

bsullins avatar bsullins commented on July 16, 2024
Setup Issues on Mac OSX Sierra

from tabpy.

Comments (7)

bsullins avatar bsullins commented on July 16, 2024

Tried on a different machine, same deal, full logs here

TabPy $ ./setup.sh
-bash: ./setup.sh: Permission denied
 TabPy $ chmod +x setup.sh
 TabPy $ ./setup.sh
~~~~~~~~~~~~~~~  Downloading and installing Anaconda  ~~~~~~~~~~~~~~~
Anaconda installed already.
~~~~~~~~~~~~~~~  Activating the environment  ~~~~~~~~~~~~~~~
Conda env 'Tableau-Python-Server' doesn't exist, creating now.
Source:      /Users/ben/anaconda3
Destination: /Users/ben/anaconda3/envs/Tableau-Python-Server
The following packages cannot be cloned out of the root environment:
 - conda-build-1.21.3-py35_0
 - conda-4.2.11-py35_0
Packages: 170
Files: 73
Linking packages ...
[      COMPLETE      ]|###############################################################################################################################################################################| 100%
#
# To activate this environment, use:
# > source activate Tableau-Python-Server
#
# To deactivate this environment, use:
# > source deactivate Tableau-Python-Server
#

~~~~~~~~~~~~~~~  Installing dependencies  ~~~~~~~~~~~~~~~
Collecting awscli==1.6.2 (from -r /Users/ben/git/TabPy/tabpy-server/requirements.txt (line 1))
  Downloading awscli-1.6.2.tar.gz (268kB)
    100% |████████████████████████████████| 276kB 858kB/s 
Collecting futures==2.2.0 (from -r /Users/ben/git/TabPy/tabpy-server/requirements.txt (line 2))
  Downloading futures-2.2.0-py2.py3-none-any.whl
Collecting requests==2.3.0 (from -r /Users/ben/git/TabPy/tabpy-server/requirements.txt (line 3))
  Downloading requests-2.3.0-py2.py3-none-any.whl (452kB)
    100% |████████████████████████████████| 460kB 1.0MB/s 
Collecting simplejson==3.8.2 (from -r /Users/ben/git/TabPy/tabpy-server/requirements.txt (line 4))
  Downloading simplejson-3.8.2-cp35-cp35m-macosx_10_9_x86_64.whl (66kB)
    100% |████████████████████████████████| 71kB 3.2MB/s 
Collecting Tornado-JSON==1.2.0 (from -r /Users/ben/git/TabPy/tabpy-server/requirements.txt (line 5))
  Downloading Tornado-JSON-1.2.0.tar.gz
Requirement already satisfied (use --upgrade to upgrade): tornado==4.3 in ./envs/Tableau-Python-Server/lib/python3.5/site-packages (from -r /Users/ben/git/TabPy/tabpy-server/requirements.txt (line 6))
Requirement already satisfied (use --upgrade to upgrade): cloudpickle in ./envs/Tableau-Python-Server/lib/python3.5/site-packages (from -r /Users/ben/git/TabPy/tabpy-server/requirements.txt (line 7))
Collecting botocore<0.74.0,>=0.73.0 (from awscli==1.6.2->-r /Users/ben/git/TabPy/tabpy-server/requirements.txt (line 1))
  Downloading botocore-0.73.0.tar.gz (1.2MB)
    100% |████████████████████████████████| 1.2MB 450kB/s 
Collecting bcdoc<0.13.0,>=0.12.0 (from awscli==1.6.2->-r /Users/ben/git/TabPy/tabpy-server/requirements.txt (line 1))
  Downloading bcdoc-0.12.2.tar.gz
Requirement already satisfied (use --upgrade to upgrade): six>=1.1.0 in ./envs/Tableau-Python-Server/lib/python3.5/site-packages (from awscli==1.6.2->-r /Users/ben/git/TabPy/tabpy-server/requirements.txt (line 1))
Collecting colorama==0.2.5 (from awscli==1.6.2->-r /Users/ben/git/TabPy/tabpy-server/requirements.txt (line 1))
  Downloading colorama-0.2.5.zip
Requirement already satisfied (use --upgrade to upgrade): docutils>=0.10 in ./envs/Tableau-Python-Server/lib/python3.5/site-packages (from awscli==1.6.2->-r /Users/ben/git/TabPy/tabpy-server/requirements.txt (line 1))
Collecting rsa==3.1.2 (from awscli==1.6.2->-r /Users/ben/git/TabPy/tabpy-server/requirements.txt (line 1))
  Downloading rsa-3.1.2.tar.gz
Requirement already satisfied (use --upgrade to upgrade): jsonschema>=2.3.0 in ./envs/Tableau-Python-Server/lib/python3.5/site-packages (from Tornado-JSON==1.2.0->-r /Users/ben/git/TabPy/tabpy-server/requirements.txt (line 5))
Collecting jmespath==0.5.0 (from botocore<0.74.0,>=0.73.0->awscli==1.6.2->-r /Users/ben/git/TabPy/tabpy-server/requirements.txt (line 1))
  Downloading jmespath-0.5.0.tar.gz
Requirement already satisfied (use --upgrade to upgrade): python-dateutil>=2.1 in ./envs/Tableau-Python-Server/lib/python3.5/site-packages (from botocore<0.74.0,>=0.73.0->awscli==1.6.2->-r /Users/ben/git/TabPy/tabpy-server/requirements.txt (line 1))
Requirement already satisfied (use --upgrade to upgrade): pyasn1>=0.1.3 in ./envs/Tableau-Python-Server/lib/python3.5/site-packages (from rsa==3.1.2->awscli==1.6.2->-r /Users/ben/git/TabPy/tabpy-server/requirements.txt (line 1))
Building wheels for collected packages: awscli, Tornado-JSON, botocore, bcdoc, colorama, rsa, jmespath
  Running setup.py bdist_wheel for awscli ... done
  Stored in directory: /Users/ben/Library/Caches/pip/wheels/0e/f7/33/a12522bfb893ba4b931392c9ff13cb7b07346fb5d800b9830e
  Running setup.py bdist_wheel for Tornado-JSON ... done
  Stored in directory: /Users/ben/Library/Caches/pip/wheels/4e/2a/a6/dccc2e0fa5fb416b42427b9022cf22644b984bcf1cc05758a5
  Running setup.py bdist_wheel for botocore ... done
  Stored in directory: /Users/ben/Library/Caches/pip/wheels/98/8c/87/e52f46815ea6f184a05d2fb46705c6f4fb5951b411d34c3230
  Running setup.py bdist_wheel for bcdoc ... done
  Stored in directory: /Users/ben/Library/Caches/pip/wheels/19/87/3f/f595ecbe795f4d43987724f3156ec67b247ce5ff13c3397cb9
  Running setup.py bdist_wheel for colorama ... done
  Stored in directory: /Users/ben/Library/Caches/pip/wheels/41/ae/68/77e29007ae5753c4ff352a96a00c024a5015faa46881fbac51
  Running setup.py bdist_wheel for rsa ... done
  Stored in directory: /Users/ben/Library/Caches/pip/wheels/33/5e/cf/c50b022b5208fcba361d519cbae3f60a94c9c4ac5756f3b4ec
  Running setup.py bdist_wheel for jmespath ... done
  Stored in directory: /Users/ben/Library/Caches/pip/wheels/e9/0e/83/44d34964b498764069381360cb149f46daf3bf520faaba294b
Successfully built awscli Tornado-JSON botocore bcdoc colorama rsa jmespath
Installing collected packages: jmespath, botocore, bcdoc, colorama, rsa, awscli, futures, requests, simplejson, Tornado-JSON
  Found existing installation: colorama 0.3.7
    DEPRECATION: Uninstalling a distutils installed project (colorama) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
    Uninstalling colorama-0.3.7:
      Successfully uninstalled colorama-0.3.7
  Found existing installation: requests 2.10.0
    Uninstalling requests-2.10.0:
      Successfully uninstalled requests-2.10.0
Successfully installed Tornado-JSON-1.2.0 awscli-1.6.2 bcdoc-0.12.2 botocore-0.73.0 colorama-0.2.5 futures-2.2.0 jmespath-0.5.0 requests-2.3.0 rsa-3.1.2 simplejson-3.8.2
You are using pip version 8.1.2, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Processing /Users/ben/git/TabPy/tabpy-client
Requirement already satisfied (use --upgrade to upgrade): cloudpickle in ./envs/Tableau-Python-Server/lib/python3.5/site-packages (from tabpy-client==0.1)
Requirement already satisfied (use --upgrade to upgrade): decorator in ./envs/Tableau-Python-Server/lib/python3.5/site-packages (from tabpy-client==0.1)
Requirement already satisfied (use --upgrade to upgrade): python-dateutil in ./envs/Tableau-Python-Server/lib/python3.5/site-packages (from tabpy-client==0.1)
Requirement already satisfied (use --upgrade to upgrade): requests in ./envs/Tableau-Python-Server/lib/python3.5/site-packages (from tabpy-client==0.1)
Collecting genson (from tabpy-client==0.1)
  Downloading genson-0.2.0.tar.gz
Requirement already satisfied (use --upgrade to upgrade): jsonschema in ./envs/Tableau-Python-Server/lib/python3.5/site-packages (from tabpy-client==0.1)
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.1)
Building wheels for collected packages: tabpy-client, genson
  Running setup.py bdist_wheel for tabpy-client ... done
  Stored in directory: /Users/ben/Library/Caches/pip/wheels/2e/5b/1d/5906903a4fe8efa44bd7a2a642e9ec41bce1416b89c6fd1a70
  Running setup.py bdist_wheel for genson ... done
  Stored in directory: /Users/ben/Library/Caches/pip/wheels/17/8e/38/3291d77c5a79916cbb4914c1eeeda9fb00e58ce0cb7596ddb0
Successfully built tabpy-client genson
Installing collected packages: genson, tabpy-client
Successfully installed genson-0.2.0 tabpy-client-0.1
You are using pip version 8.1.2, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Processing /Users/ben/git/TabPy/tabpy-server
Requirement already satisfied (use --upgrade to upgrade): cloudpickle in ./envs/Tableau-Python-Server/lib/python3.5/site-packages (from tabpy-server==0.1)
Requirement already satisfied (use --upgrade to upgrade): decorator in ./envs/Tableau-Python-Server/lib/python3.5/site-packages (from tabpy-server==0.1)
Requirement already satisfied (use --upgrade to upgrade): python-dateutil in ./envs/Tableau-Python-Server/lib/python3.5/site-packages (from tabpy-server==0.1)
Requirement already satisfied (use --upgrade to upgrade): requests in ./envs/Tableau-Python-Server/lib/python3.5/site-packages (from tabpy-server==0.1)
Requirement already satisfied (use --upgrade to upgrade): genson in ./envs/Tableau-Python-Server/lib/python3.5/site-packages (from tabpy-server==0.1)
Requirement already satisfied (use --upgrade to upgrade): jsonschema in ./envs/Tableau-Python-Server/lib/python3.5/site-packages (from tabpy-server==0.1)
Requirement already satisfied (use --upgrade to upgrade): tabpy_client in ./envs/Tableau-Python-Server/lib/python3.5/site-packages (from tabpy-server==0.1)
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.1)
Building wheels for collected packages: tabpy-server
  Running setup.py bdist_wheel for tabpy-server ... done
  Stored in directory: /Users/ben/Library/Caches/pip/wheels/c5/07/3e/29e4f828a3d2cf70f46ba0de4fc29c71933a1fe554fb594c15
Successfully built tabpy-server
Installing collected packages: tabpy-server
Successfully installed tabpy-server-0.1
You are using pip version 8.1.2, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
~~~~~~~~~~~~~~~~~  Installation failed  ~~~~~~~~~~~~~~~~

from tabpy.

BBeran avatar BBeran commented on July 16, 2024

Hi Ben,
Is suspect you have Python 3. Is that correct? TabPy code is for 2.7. Maybe I should add a version check in the installer.

Thanks,

Bora

from tabpy.

bsullins avatar bsullins commented on July 16, 2024

Correct, can I not have a 2.7 profile separate for TabPy?

$ python --version Python 3.5.2 :: Anaconda 4.2.0 (x86_64)

from tabpy.

BBeran avatar BBeran commented on July 16, 2024

You can manually create a Python 2.7 environment.

conda create --name Tableau-Python-Server python=2.7 anaconda

then activate it

and do the pip install from local folders

pip install -r ./tabpy-server/requirements.txt
pip install ./tabpy-client
pip install ./tabpy-server

from tabpy.

BBeran avatar BBeran commented on July 16, 2024

Resolving this since others reported that they were able to follow the steps for creating a Python 2.7 environment listed above and successfully started the server.

from tabpy.

gokeplerride avatar gokeplerride commented on July 16, 2024

I tried installing by running the setup.sh in terminal but failed as a python 3 user. Attempting the method described by @BBeran didn't work either.

What do I do?

screen shot 2017-01-24 at 11 52 16

from tabpy.

BBeran avatar BBeran commented on July 16, 2024

Hi Ben,
Can you share some details on how it failed? E.g. it created a 2.7 environment, activated it and then setup failed. Or did it fail somewhere before? Or it succeeded but connection failed when you attempted from Tableau?

Thank you,

Bora

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.