pycharm console not working (display error when opened)

both python console and debugger console does not work when opened, the folder that the error tells it did not find is an old folder of an older project that i threw away. but the project interpreter in the settings is the new one (it works fine when running the program without accessing the console)

 

here is the full log:

"C:\Users\niccolo ruffini\PycharmProjects\env_nuovo\Scripts\python.exe" "C:\Program Files\JetBrains\PyCharm Community Edition 2018.1.3\helpers\pydev\pydevconsole.py" 50456 50457
Traceback (most recent call last):
File "C:\Program Files\JetBrains\PyCharm Community Edition 2018.1.3\helpers\pydev\pydevconsole.py", line 526, in <module>
pydevconsole.start_server(host, int(port), int(client_port), client_host)
File "C:\Program Files\JetBrains\PyCharm Community Edition 2018.1.3\helpers\pydev\pydevconsole.py", line 347, in start_server
interpreter = InterpreterInterface(client_host, client_port, threading.currentThread())
File "C:\Program Files\JetBrains\PyCharm Community Edition 2018.1.3\helpers\pydev\_pydev_bundle\pydev_ipython_console.py", line 24, in __init__
self.interpreter = get_pydev_frontend(host, client_port)
File "C:\Program Files\JetBrains\PyCharm Community Edition 2018.1.3\helpers\pydev\_pydev_bundle\pydev_ipython_console_011.py", line 463, in get_pydev_frontend
_PyDevFrontEndContainer._instance = _PyDevFrontEnd()
File "C:\Program Files\JetBrains\PyCharm Community Edition 2018.1.3\helpers\pydev\_pydev_bundle\pydev_ipython_console_011.py", line 312, in __init__
self.ipython = PyDevTerminalInteractiveShell.instance()
File "C:\Users\niccolo ruffini\PycharmProjects\env_nuovo\lib\site-packages\traitlets\config\configurable.py", line 412, in instance
inst = cls(*args, **kwargs)
File "C:\Users\niccolo ruffini\PycharmProjects\env_nuovo\lib\site-packages\IPython\terminal\interactiveshell.py", line 430, in __init__
super(TerminalInteractiveShell, self).__init__(*args, **kwargs)
File "C:\Users\niccolo ruffini\PycharmProjects\env_nuovo\lib\site-packages\IPython\core\interactiveshell.py", line 483, in __init__
self.init_virtualenv()
File "C:\Users\niccolo ruffini\PycharmProjects\env_nuovo\lib\site-packages\IPython\core\interactiveshell.py", line 740, in init_virtualenv
if p_exe_up2 and os.path.samefile(p_exe_up2, p_venv):
File "C:\pippackages\anacondafolder\lib\genericpath.py", line 97, in samefile
s2 = os.stat(f2)
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'c:\\users\\mems_char\\pycharmprojects\\prova03\\venv'

0

Please sign in to leave a comment.