Git Product home page Git Product logo

Comments (5)

SpencerPark avatar SpencerPark commented on July 28, 2024

Hi @dclong, underneath that install script uses the same API as jupyter's kernelspec app. You can use --sys-prefix but also supported is --user and --prefix options. See python3 install.py -h for more info on those.

--user will install to the per user jupyter data dir. --prefix allows specifying a location (intended to be a conda prefix but is not a requirement) in which the kernel is installed in PREFIX/share/jupyter/kernels/. These might be enough for your use case but I do also see the benefit of specifying some arbitrary directory.

I'll open up an issue in the gradle plugin repo which is what generates the script but we can keep this open for tracking. Thanks!

from ijava.

dclong avatar dclong commented on July 28, 2024

@SpencerPark Thank you for your quick response. I'm asking to support installing IJava by running the following command in a directory that is the parent directory of install.py.

python3 /path_to/install.py --sys-prefix

from ijava.

SpencerPark avatar SpencerPark commented on July 28, 2024

Ah, my apologies, I read things too fast. Regardless we might get a new feature from the installer out of it :) This issue makes even more sense now and is definitely something that needs fixing. I would consider this a bug. Thanks.

from ijava.

SpencerPark avatar SpencerPark commented on July 28, 2024

Alright this is fixed in the installer plugin and updated here. As of the next release the installer will be able to be run from anywhere as you have suggested python3 /path_to/install.py --sys-prefix.

We can keep this open until then.

from ijava.

dclong avatar dclong commented on July 28, 2024

@SpencerPark Thank you! Looking forward to the next release!

from ijava.

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.