Coder Social home page Coder Social logo

Comments (9)

lucasfonsecads avatar lucasfonsecads commented on May 8, 2024

Same error here, someone resolved this?

from pemja.

zhjdotxmsme avatar zhjdotxmsme commented on May 8, 2024

on window platform same error as is, but install successful on macos platform

from pemja.

lucasfonsecads avatar lucasfonsecads commented on May 8, 2024

@alexzhu0592 Could you share how you resolved it on macOS?

from pemja.

zhjdotxmsme avatar zhjdotxmsme commented on May 8, 2024

@alexzhu0592 Could you share how you resolved it on macOS?

no errors on macos, just install by normal way like pip install pemja

from pemja.

zhjdotxmsme avatar zhjdotxmsme commented on May 8, 2024

@alexzhu0592 Could you share how you resolved it on macOS?

Maybe you can check your jdk version or python version which doc suggests

from pemja.

HuangXingBo avatar HuangXingBo commented on May 8, 2024

What's the os and hardware? m1 chip?

from pemja.

andrew-nippard avatar andrew-nippard commented on May 8, 2024

Seems to be an issue with how environment variable JAVA_HOME is set on some machines (i.e. I'm using a M1 chip + Linux).

The below command worked for me:
export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-arm64

from pemja.

Haaroon avatar Haaroon commented on May 8, 2024

Okay so i did alot of testing with @jamesalford and it seems this is an error because of python 3.10.

If you install with python3.9 pemja installs fine.

it has nothing to do with java_home being set or not, but its a python issue

Python3.10 works if you set a JAVA_HOME to a working java, otherwise it crashes with NoneType

from pemja.

YasuoStudyJava avatar YasuoStudyJava commented on May 8, 2024

well,I met the issue in Python3.7,and because the source code of pemja set to find 'JAVA_HOME', so I set 'JAVA_HOME' to solve the problem. Then install pemja successfully.

from pemja.

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.