Thespian: Unable to start multprocTCPBase on thespian shell

Hi, I’ve been trying to create an actor system in my windows 10 laptop, without success: I keep receiving the message thespian.actors.InvalidActorAddress: ActorAddr-(T|:1900) is not a valid ActorSystem admin, although this port is not being used by any program, as given by netstat -ano -p tcp:

C:\Users\josee>netstat -ano -p tcp

Active Connections

  Proto  Local Address          Foreign Address        State           PID
  TCP    0.0.0.0:135            0.0.0.0:0              LISTENING       1616
  TCP    0.0.0.0:445            0.0.0.0:0              LISTENING       4
  TCP    0.0.0.0:2179           0.0.0.0:0              LISTENING       3324
  TCP    0.0.0.0:5040           0.0.0.0:0              LISTENING       7148

I then tried to start the the actor system in the thespian shell, to no avail:

Microsoft Windows [Version 10.0.19045.4894]
(c) Microsoft Corporation. All rights reserved.

C:\Users\josee>d:

D:\>cd D:\Dados\quant\research\actor_model

D:\Dados\quant\research\actor_model>python -m thespian.shell
Thespian Actor shell.  Type help or '?' to list commands.'

thespian> start multprocTCPBase
Starting multprocTCPBase ActorSystem
Capabilities: {}
***ERROR starting ActorSystem with specified Base: multprocTCPBase
Traceback (most recent call last):
  File "D:\ProgramData\Anaconda3\lib\site-packages\thespian\shell.py", line 122, in do_start
    self.system = ActorSystem(base, caps)
  File "D:\ProgramData\Anaconda3\lib\site-packages\thespian\actors.py", line 637, in __init__
    systemBase = self._startupActorSys(
  File "D:\ProgramData\Anaconda3\lib\site-packages\thespian\actors.py", line 673, in _startupActorSys
    module = importlib.import_module('thespian.system.' + systemBase)
  File "D:\ProgramData\Anaconda3\lib\importlib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'thespian.system.multprocTCPBase'
thespian>

I’ve already tried to turn off Mcafee firewall, as well as uninstall and re-install thespian, but without success.

Do you have any idea of what might be happening and what can I do? Thank you for your attention,

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 17 (6 by maintainers)

Most upvoted comments

@gbanasiak Sure! I reinstalled Thespian as you instructed, and now it is working perfectly:

thespian> start multiprocTCPBase
Starting multiprocTCPBase ActorSystem
Capabilities: {}
Started multiprocTCPBase ActorSystem
thespian>

Thank you very much for your help!!!