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

Could not find py4j jar when installed with pip install on Windows #521

Open
adoebber opened this issue Jun 7, 2023 · 0 comments · May be fixed by #522
Open

Could not find py4j jar when installed with pip install on Windows #521

adoebber opened this issue Jun 7, 2023 · 0 comments · May be fixed by #522

Comments

@adoebber
Copy link

adoebber commented Jun 7, 2023

When py4j is installed using pip install py4j (pip version 22.3.1, Python 3.11, Windows 10), I get the following error:

>>> import py4j.java_gateway as jg
>>> port = jg.launch_gateway()
  File "C:\Users\UserName\AppData\Roaming\Python\Python311\site-packages\py4j\java_gateway.py", line 297, in launch_gateway
    raise Py4JError("Could not find py4j jar at {0}".format(jarpath))
py4j.protocol.Py4JError: Could not find py4j jar at

related to #266

adoebber added a commit to dspace-group/py4j that referenced this issue Jun 7, 2023
@adoebber adoebber linked a pull request Jun 7, 2023 that will close this issue
adoebber added a commit to dspace-group/py4j that referenced this issue Mar 11, 2024
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

Successfully merging a pull request may close this issue.

1 participant