back

by anderspitman·11y ago·view on hn ↗
Very cool. I don't have a Mac to test it out on, but is there an easy way (integrated pip, conda) to install additional packages? IMO a graphical interface for finding and installing packages would add a huge amount of value. Also here's a link to the source repo: https://github.com/nwhitehead/pineapple
2 comments
Yes, there is a way to install more packages. Inside the notebook you can do "import pineapple", then "%require NAME" which is just like doing "pip install NAME". There is also a provided pip shell script that should work but it's buried deep inside the Pineapple.app directory and not well tested.

These methods work for pure Python packages. If the package needs compiling then there are more caveats and it may or may not work depending on your system. I'm looking into including conda directly to increase compatibility with prebuilt binaries and make package management easier.

Thanks, terrific tool! The ability to just drop a dmg is invaluable when teaching.

Compatibility with more prebuilt binaries would be great indeed (tried to install psycopg2 but it doesn't work)

Also looks to be Linux compatible (wxWidgets backend), which is sweet.