Skip to content

Installing altair package for jupyterlab on sharc #5

Description

@kuchenrolle

I'm trying to install altair, a visualization library that is intended to be used with jupyterlab (successor of jupyter notebook). My installation fails at the last step, which is installing the vega3 extension that is required in order to render the graphics. The interactive session from which I'm trying to install it on sharc simply quits, I have no idea why.

The official installation instructions can be found here - installation via conda does not work as the release candidate is not available there (hence installation via pip) and jupyterlab 0.32 is also not released yet, so the plugin needs to be installed manually:

Steps to Reproduce

(on sharc; in an interactive session)


1. $ module load apps/python/anaconda3-4.2.0
2. $ source activate SomeEnvironment
3. $ pip install jupyterlab
4. $ pip install altair==2.0.0rc1
5. $ conda install nodejs
6. $ jupyter labextension install @jupyterlab/vega3-extension 

(6 fails, session quits)

Expected Behaviour

The installation should run through and the example from the official installation instructions should result in the rendered output.

On my local machine, the steps above run through perfectly and the library works as desired.

Your Environment

  • Anaconda3 (4.2.0), iPython 6.1.0, Python 3.6.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions