att / rcloud

Collaborative data analysis and visualization
http://rcloud.social
MIT License
430 stars 142 forks source link

sklearn #2560

Open opcreek opened 6 years ago

opcreek commented 6 years ago

Hello,

How do I install sklearn in rcloud notebook? I tried importing it and I got an error that module is not found.

screen shot 2018-03-06 at 2 59 52 pm

useless5771 commented 6 years ago

Hello,

Any Python libraries imported by RCloud Python cells first should be installed on the host where RCloud is deployed.

E.g. to install sklearn (using pip), you can run the following command (on RCloud host):

sudo pip2 install sklearn

Then, after restarting RCloud, Python cells using the sklearn library should work.

gordonwoodhull commented 6 years ago

It is also possible to install packages to a private user library, which lives in the home directory.

gordonwoodhull commented 5 years ago

I don't think this requires restarting RCloud. We just need to document how users can install packages to their personal library.

We also need to determine if RCloud can be safely integrated with Anaconda Jupyter and document that. Should solve 99% of the packages people want.

gordonwoodhull commented 4 years ago

Need a Python champion for this one. We don't definitely know whether private libraries/environments are supported or not.