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

How to install superset in the Linux environment without network? #7871

Closed
weylin0714 opened this issue Jul 15, 2019 · 7 comments
Closed

How to install superset in the Linux environment without network? #7871

weylin0714 opened this issue Jul 15, 2019 · 7 comments
Labels
inactive Inactive for >= 30 days

Comments

@weylin0714
Copy link

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label #question to this issue, with a confidence of 0.66. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@syazshafei
Copy link

Superset require dependencies as in requirements.txt, so network is needed for the first time as dependencies need to be downloaded.

@atifahsan
Copy link

atifahsan commented Jul 17, 2019 via email

@dpgaspar
Copy link
Member

On AWS you can always "bake" an AMI with all the dependencies, there are several other methods one can be to pre package all your pip requirements using: https://pip.pypa.io/en/stable/reference/pip_install/#cmdoption-t

@jonaycp
Copy link

jonaycp commented Aug 1, 2019

I did the installation on a server without internet manually.

  • First make sure that OS dependencies are satisfied.
    Some (not sure if all) dependencies could be:
    gcc, gcc-c++, libffi-devel, python-devel, python-pip, python-wheel, openssl-devel, libsasl2-devel, openldap-devel

  • Then I downloaded on an OS with internet all the packages on the requirements.txt
    Example:
    pip download <Lib. name>==<version>
    (If you leave empty you will see the available versions for that package)

  • Next, I put everything in the same folder and I copied on the server without internet, and then I installed superset with:
    pip install superset --no-index --find-links=/path-to-packages/
    In my case for some reason the installation stopped installing some libs, in that case I just tried with other versions until it works

@ericandrewmeadows
Copy link
Contributor

@weylin0714 - why not build a Docker image?

@stale
Copy link

stale bot commented Oct 18, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.

@stale stale bot added the inactive Inactive for >= 30 days label Oct 18, 2019
@stale stale bot closed this as completed Oct 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
inactive Inactive for >= 30 days
Projects
None yet
Development

No branches or pull requests

6 participants