Skip to content

console does not work #9

Description

@ricnar456

I configure Pycharm and can execute the scripts OK, but cannot make it work the console terminal.

i configure the project interpreter pointing to pycharm_wrapper.py but always fail

image


TypeError Traceback (most recent call last)
File E:\PYCHARMPRO\PyCharm 2024.3.1.1\plugins\python-ce\helpers\pydev\pydevconsole.py:586
583 from _pydev_bundle import pydev_localhost
584 host = client_host = pydev_localhost.get_localhost()
--> 586 pydevconsole.start_client(host, port)
587 elif mode == 'server':
588 pydevconsole.start_server(port)
File E:\PYCHARMPRO\PyCharm 2024.3.1.1\plugins\python-ce\helpers\pydev\pydevconsole.py:488, in start_client(host, port)
484 client_service = PythonConsoleFrontendService
486 client, server_transport = make_rpc_client(client_service, host, port)
--> 488 interpreter = InterpreterInterface(threading.current_thread(), rpc_client=client)
490 # we do not need to start the server in a new thread because it does not need to accept a client connection, it already has it
491
492 # Tell UMD the proper default namespace
493 _set_globals_function(interpreter.get_namespace)
File E:\PYCHARMPRO\PyCharm 2024.3.1.1\plugins\python-ce\helpers\pydev_pydev_bundle\pydev_ipython_console.py:18, in IPythonInterpreterInterface.init(self, main_thread, show_banner, connect_status_queue, rpc_client)
17 def init(self, main_thread, show_banner=True, connect_status_queue=None, rpc_client=None):
---> 18 BaseInterpreterInterface.init(self, main_thread, connect_status_queue, rpc_client)
19 self.interpreter = get_pydev_ipython_frontend(rpc_client)
20 self._input_error_printed = False

TypeError: BaseInterpreterInterface.init() takes from 2 to 3 positional arguments but 4 were given
Couldn't connect to console process.
Process finished with exit code 0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions