Git Product home page Git Product logo

Comments (7)

nsankar avatar nsankar commented on September 2, 2024 1

I also could not install using the gradlew steps. Build fails..

image

from ijava.

askua avatar askua commented on September 2, 2024

Windows 10
Python 3.7
Java 11.0.14
Gradle 4.8.1

When input command " gradlew installKernel " in cmd, I got error as

<-------------> 0% CONFIGURING [5s]
Failed to execute: python3 --version. of :shade
Stdout:

Stderr:

Failed to execute: python3 --version.
Stdout:

Stderr:

I copy D:\Python37\python.exe to D:\Python37\python3.exe, I success built Ijava kernel

image

FAILURE: Build failed with an exception.

from ijava.

askua avatar askua commented on September 2, 2024

maybe you should set a proxy for gradlew?
you can try.
and the gradlew’ version could not too high because the author of the source code repo. There are so many different dependents.

from ijava.

davisjm4 avatar davisjm4 commented on September 2, 2024

@nsankar I'm having the exact same issue, have you found a solution?

from ijava.

yashj1301 avatar yashj1301 commented on September 2, 2024

I also could not install using the gradlew steps. Build fails..

image

Same issue here, something to do with gradle ?

from ijava.

askua avatar askua commented on September 2, 2024

@nsankar @davisjm4 @yashj1301 @TDClarke
Maybe you could set a proxy sever for gradlew tool.
like https://michlstechblog.info/blog/gradlew-using-gradlew-behind-a-http-proxy-server/
image

and build again in cmd.

use command line
gradlew installkernel --stacktrace --info --python D:\Python37\python3.exe

From the plugin README:

  • Install path configuration:
    • --python PYTHON: Set the python executable to use for resolving the sys.prefix.
  • Install path:
    • --default: Install for all users.
    • --user: Install to the per-user kernel registry.
    • --sys-prefix: Install to Python's sys.prefix. Useful in conda/virtual environments.
    • --prefix PREFIX: Specify a prefix to install to, e.g. an env. The kernelspec will be installed in PREFIX/share/jupyter/kernels/.
    • --path PATH: Set the path to install the kernel to. The install directory is $path/$kernelName.
    • --legacy: Install to $HOME/.ipython. Not recommended but available if needed.

For example if your python installation is called python3.7, use ./gradlew installKernel --python python3.7.
image

from ijava.

hekailiang avatar hekailiang commented on September 2, 2024

may lated to jdk version, jdk 11 works, but 17 failed due to unsupported gradle version

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.