Git Product home page Git Product logo

Comments (5)

nwhitehead avatar nwhitehead commented on August 29, 2024

Yes, that's not a bad idea.

The highest priority is adding the option of using your existing Python as the kernel for notebooks so you can use all your normal libraries inside your notebooks. That way you don't have to worry about the Python inside Pineapple. Going all the way and removing Python entirely is possible but adds a bit of risk since the notebook server is in Python, so any incompatibilities in versions could prevent Pineapple from opening at all.

from pineapple.

bmtgoncalves avatar bmtgoncalves commented on August 29, 2024

"The highest priority is adding the option of using your existing Python as the kernel for notebooks so you can use all your normal libraries inside your notebooks."

Yes, this is what I meant. If there's anyway I can help, let me know.

from pineapple.

ablock92 avatar ablock92 commented on August 29, 2024

Workaround solution that I just set up on my Mac. Haven't tested much to see if anything breaks so make sure to back up the bundled python install in step 2:

  1. go to resource directory
    $ cd /Applications/Pineapple.app/Contents/Resources
  2. backup python bundle
    $ mv python2.7 python 2.7_
  3. symlink to your python installation
    $ ln -s /Library/Frameworks/Python.framework/Versions/2.7/ python2.7
  4. Run the Pineapple executable from the command line
    $ /Applications/Pineapple-Pro.app/Contents/MacOS/Pineapple
  5. The executable depends on certain pip modules (I don't know all of them...@nwhitehead may know).
    • You may see an error like "ImportError: No module named notebook.notebookapp"
      • pip install the missing modules
        • $pip install notebook
    • Stop the process with ctrl+c.
    • Run Step 4. Repeat installation of modules until it works.

from pineapple.

guyest avatar guyest commented on August 29, 2024

This now seems to work seamlessly for python3 directly by symlinking the "Frameworks" directory in the app bundle to the corresponding folder in the desired system version of python3.

from pineapple.

GNHua avatar GNHua commented on August 29, 2024

@guygma What exactly did you symlink?
I have anaconda installed. I tried symlink "Frameworks" folder to anaconda/ and anaconda/bin/, neither of which worked.

from pineapple.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.