I just want to run this script, but this comes out
import nl4py
import os
file_to_open = os.path.join(".","spatialCOVID19-master","epiDEM COV_v13.nlogo")
path_to_netlogo = 'C:/Program Files/NetLogo 6.1.1/'
nl4py.startServer(path_to_netlogo)
ws=nl4py.newNetLogoHeadlessWorkspace()
ws.openModel(file_to_open)
ws.closeModel()
nl4py.deleteAllHeadlessWorkspaces()
nl4py.stopServer()
IndexError: pop from an empty deque
ConnectionRefusedError: [WinError 10061] No se puede establecer una conexi贸n ya que el equipo de destino deneg贸 expresamente dicha conexi贸n
Py4JNetworkError: An error occurred while trying to connect to the Java server (127.0.0.1:25333)
Spyder 4.0.1
Python 3.7.4
nl4py -> last version
Java 8 -> 181
I just want to run this script, but this comes out import nl4py import os file_to_open = os.path.join(".","spatialCOVID19-master","epiDEM COV_v13.nlogo") path_to_netlogo = 'C:/Program Files/NetLogo 6.1.1/' nl4py.startServer(path_to_netlogo) ws=nl4py.newNetLogoHeadlessWorkspace() ws.openModel(file_to_open) ws.closeModel() nl4py.deleteAllHeadlessWorkspaces() nl4py.stopServer()
IndexError: pop from an empty deque ConnectionRefusedError: [WinError 10061] No se puede establecer una conexi贸n ya que el equipo de destino deneg贸 expresamente dicha conexi贸n Py4JNetworkError: An error occurred while trying to connect to the Java server (127.0.0.1:25333)
Spyder 4.0.1 Python 3.7.4 nl4py -> last version Java 8 -> 181