0

I referred from this question: JRE_HOME not found on pip jnius installation

However, I tried restarting my computer and reinstalling the JDK and already set my environment variables

These are my environment variables: This is in the user variables

uservariables

and I did the same to system variables:

systemvariables

I also added it to my path:

pathvariable

However when I run:

python -m pip install pyjnius

I get this error: errormessage

I also tried verifying it using this script:

import os
jdk = os.environ.get('JDK_HOME')
print(jdk)
jre = os.environ.get('JRE_HOME')
print(jre)

and it does not return as None. Any help on fixing this? And by the way, I am running this on a venv.

EDIT: This is my full environment variables:

jdk_home in user variables

path variable in user variables

jdk_home in system variables

path variable in system variables

Jezreel Martin
  • 75
  • 1
  • 10

0 Answers0