[ 
https://issues.apache.org/jira/browse/DATALAB-2837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vira Vitanska updated DATALAB-2837:
-----------------------------------
    Description: 
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.

 

  was:
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.

 


> 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: Oleksandr Polishchuk
>            Priority: Minor
>              Labels: AWS, Azure, Debian, DevOps, GCP, pull-request-available
>         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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to