Cześć,
czy ktoś zetknął się z takim problemem:
(wszystko co poniżej to konwersacja w terminalu z asystentem AI)
pip install python-docx pdfkit
**Would you like to run this code? (y/n)** - pytanie OI
y
pip install python-docx pdfkit
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\jwiec\AppData\Local\Programs\Python\Python311\Scripts\interpreter.exe\__main__.py", line 7, in <module> File "C:\Users\jwiec\AppData\Local\Programs\Python\Python311\Lib\site-packages\interpreter\interpreter.py", line 131, in cli
cli(self)
File "C:\Users\jwiec\AppData\Local\Programs\Python\Python311\Lib\site-packages\interpreter\cli.py", line 207, in cli
interpreter.chat()
File "C:\Users\jwiec\AppData\Local\Programs\Python\Python311\Lib\site-packages\interpreter\interpreter.py", line 412, in chat
self.respond()
File "C:\Users\jwiec\AppData\Local\Programs\Python\Python311\Lib\site-packages\interpreter\interpreter.py", line 924, in respond
code_interpreter.run()
File "C:\Users\jwiec\AppData\Local\Programs\Python\Python311\Lib\site-packages\interpreter\code_interpreter.py", line 201, in run
code = wrap_in_try_except(code)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\jwiec\AppData\Local\Programs\Python\Python311\Lib\site-packages\interpreter\code_interpreter.py", line 464, in wrap_in_try_except
parsed_code = ast.parse(code)
^^^^^^^^^^^^^^^
File "C:\Users\jwiec\AppData\Local\Programs\Python\Python311\Lib\ast.py", line 50, in parse
return compile(source, filename, mode, flags,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<unknown>", line 2
pip install python-docx pdfkit
^^^^^^^
SyntaxError: invalid syntax