Comments (5)
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.
@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.
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.
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.
@SpencerPark Thank you! Looking forward to the next release!
from ijava.
Related Issues (20)
- visualization of png, svg, jpeg HOT 1
- Is this project still maintained?
- how can i use lombok in ijava-kernel HOT 4
- how to customize ijava kernal so it will support %%file magic command HOT 2
- Impossible to use JShell commands like /list
- IJava % ./gradlew installKernel failed HOT 2
- NoSuchMethodError with Gson HOT 6
- saving notebook cells code as jar
- Failed to install HOT 7
- IJava kernel failing to connect HOT 3
- How to add files to Google Colab after switching to Java?
- RuntimeError: Cannot enter into task <Task pending coro=<HTTP1ServerConnection._server_request_loop()
- How to exit? HOT 1
- Google Colab IJava Notebook stuck at "Connecting..." HOT 2
- The %%loadFromPOM seems to fail when importing BOMs HOT 2
- Interested in IJava
- How to import custom script ? HOT 4
- Code-inspection does not work.
- No colored or user-friendly error message displayed
- How to programatically generate Markdown HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ijava.