Bugfix/installation and main
Change few files to fix errors that new users will encounter:
- changed line in pyproject.toml with the file "README.md" instead of "readme.md" (poetry install doesn't work now)
- update readme to tell users to use poetry run instead of plain python. solves https://github.com/smol-ai/developer/issues/117
- update main + readme to use --prompt instead of just putting the string after the file, anyway doesn't work now. solves https://github.com/smol-ai/developer/issues/118
Unfortunately this did not solve the "no openai" here is a full log :( any ideas ?
PS C:\Development\SMOLAI\developer> poetry run python main.py --prompt "a HTML/JS/CSS Tic Tac Toe Game"
Traceback (most recent call last):
File "C:\Development\SMOLAI\developer\main.py", line 3, in
PS C:\Development\SMOLAI\developer> pip show openai Name: openai Version: 0.27.8 Summary: Python client library for the OpenAI API Home-page: https://github.com/openai/openai-python Author: OpenAI Author-email: [email protected] License: Location: C:\Users\JSB-WIN\AppData\Local\Programs\Python\Python311\Lib\site-packages Requires: aiohttp, requests, tqdm Required-by:
Did you run poetry install before?