You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@datalab.apache.org by "Vira Vitanska (Jira)" <ji...@apache.org> on 2022/06/02 15:54:00 UTC

[jira] [Created] (DATALAB-2837) Add possibility to install libraries in Jupyter cell via magic

Vira Vitanska created DATALAB-2837:
--------------------------------------

             Summary: Add possibility to install libraries in Jupyter cell via magic
                 Key: DATALAB-2837
                 URL: https://issues.apache.org/jira/browse/DATALAB-2837
             Project: Apache DataLab
          Issue Type: Task
      Security Level: Public (Regular Issues)
          Components: DataLab Main
            Reporter: Vira Vitanska
            Assignee: Leonid Frolov
         Attachments: image-2022-06-02-17-37-58-503.png

User can install library in Jupyter cell. But the command is overwhelmed:

 
{code:java}
source /opt/python/python3.7.9/bin/activate && sudo /opt/python/python3.7.9/bin/pip3.7 install <library_name> {code}
 

 

There is an option to use magic in command. So, the command is easy for usage:

 
{code:java}
%pip install <library_name> {code}
But now magic does not work.

 

The permission to /opt/python is supposed to be changed in order to use magic in command.

 



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@datalab.apache.org
For additional commands, e-mail: dev-help@datalab.apache.org