#Missing pandas

4 messages · Page 1 of 1 (latest)

young flicker
#

Hi. I'm a bit new to python and trying out the fine tuning process. When preparing my data, I'm getting the following error:

Analyzing...
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.11/bin/openai", line 8, in <module>
sys.exit(main())
^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/openai/_openai_scripts.py", line 63, in main
args.func(args)
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/openai/cli.py", line 512, in prepare_data
df, remediation = read_any_format(fname)
^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/openai/validators.py", line 477, in read_any_format
assert_has_pandas()
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/openai/datalib.py", line 56, in assert_has_pandas
raise MissingDependencyError(PANDAS_INSTRUCTIONS)
openai.datalib.MissingDependencyError:

OpenAI error:

missing `pandas` 

This feature requires additional dependencies:

$ pip install openai[datalib]

What's the solution for this? TIA.

shut bluff
#

Did you run pip install openai[datalib] as it says?

arctic scarab
#

you're "missing pandas" 🐼🐼🐼 🙂

naive badger