Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package installation error: javabridge #25

Closed
shenxiangzhuang opened this issue Jun 16, 2023 · 6 comments
Closed

Package installation error: javabridge #25

shenxiangzhuang opened this issue Jun 16, 2023 · 6 comments

Comments

@shenxiangzhuang
Copy link
Contributor

shenxiangzhuang commented Jun 16, 2023

There is an error in the installation of javabridge package and the issue is similar to LeeKamentsky/python-javabridge#192.

Fortunately I solved the problem by the solution provided in the issue: pip install git+https://github.com/LeeKamentsky/python-javabridge.

I think it will be better to solve the installation error within this repo. Maybe we can try to use some building tools like poetry or rye to manage these dependencies which are more flexible and convenient.

@shenxiangzhuang shenxiangzhuang changed the title Package installation problem: javabridge Package installation error: javabridge Jun 16, 2023
@yangwenz
Copy link
Collaborator

Hi, thanks for raising this issue. We will do this after revising the docs and technical report.

@keonho-kim
Copy link

keonho-kim commented Jul 18, 2023

@yangwenz

Hi, thanks for raising this issue. We will do this after revising the docs and technical report.

Hello, I encounter similar issue on Macbook Pro with M1 MAX.
Following the maintainer (Check this link, the issue would not be solved easily. (Yeah.. the thread had been made on March, but it still...)

Can you give any idea to install PyRCA without installing UI/UX, to use it on the Jupyter Notebook or Python Script?

Thank you for your Work :)

@yangwenz
Copy link
Collaborator

Hi, a quick solution is that you can download the repo and remove the javabridge dependency in the setup.py, and then install the lib. If javabridge is not installed, you cannot use FGES for causal discovery and can use other methods such as PC.

@keonho-kim
Copy link

@yangwenz

Thanks :)
Is there any update plan for javabridge dependency?
This library is somewhat subtle IMO ..

@yangwenz
Copy link
Collaborator

It is quite tricky to update javabridge. We will replace the java implementation of FGES with a python implementation, then the javabridge dependency will be removed.

@chenghaoliu89
Copy link
Contributor

Hi @shenxiangzhuang we have replaced javabridge with jpype, and merged it into main branch. I will close this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants