Can't initialize an imagj gateway use imagej.init('path')

Hello, this error is thrown when i go to initialize an imagej gateway
I’ve been trying for a long time to just access imagej via python kernel or even scijava via jupyter notebook, nothing seems to be working besides writing inside the imagej scripting provider. Can anyone offer help with getting this working?

Here is the error:

Added 1 JARs to the Java classpath.
INFO 2019-04-16 12:24:52,568: Failed to bootstrap the artifact.
INFO 2019-04-16 12:24:52,569:
INFO 2019-04-16 12:24:52,569: Possible solutions:
INFO 2019-04-16 12:24:52,570: * Double check the endpoint for correctness (
INFO 2019-04-16 12:24:52,570: * Add needed repositories to ~/.jgorc [repositories] block (see README).
INFO 2019-04-16 12:24:52,570: * Try with an explicit version number (release metadata might be wrong).