Comments (9)
Same error here, someone resolved this?
from pemja.
on window platform same error as is, but install successful on macos platform
from pemja.
@alexzhu0592 Could you share how you resolved it on macOS?
from pemja.
@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.
@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.
What's the os and hardware? m1 chip?
from pemja.
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.
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.
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)
- Integrate pemja in java web to call python deep learning model HOT 8
- Recursive callbacks cause a deadlock HOT 12
- Please create an offiical Conda install package HOT 5
- Comparison vs DL4J / java-cpp HOT 3
- Incompatible with Official Python Docker Images: Failed to find libpython HOT 1
- Unknown Number class int. HOT 3
- Generic invokeMethod HOT 1
- Issue with Thread mode in Flink 1.16 and M1 HOT 1
- MainInterpreter implements Serializable but has non-serializable fields
- Can not import 'findClass' HOT 3
- Failed to find the function after exec HOT 1
- Can't install with python 3.10 HOT 3
- How to return a python numpy array to the Java side? The return type is java.util.List HOT 2
- Will you try to integrate Codon? HOT 1
- Is there a way to trigger a call from Python? HOT 1
- Failed to use pemja in Flink DataStream API
- Support Python 3.11 HOT 2
- 0.4.0 release has missing pom from maven central HOT 1
- Can pemja support JVM scheduling through PVM?
- Build pemja for arm64
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 pemja.