Skip to content

Forum in maintenance, we will back soon 🙂

No module named 'in...
 
Notifications
Clear all

No module named 'instructor'

6 Posts
2 Users
0 Reactions
329 Views
(@Anonymous 31493)
Posts: 2
New Member Guest
Topic starter
 

I've read the following article https://hasanaboulhasan.medium.com/how-to-create-ai-tools-in-minutes-e610ff37b9bd , and when trying the code, I encounter the following error:

Python Error: ModuleNotFoundError: No module named 'instructor' in helpers.py

I'm probably missing some library.

Can you help me?

thanks you

 

 
Posted : 01/16/2024 4:48 am
SSAdvisor
(@ssadvisor)
Posts: 1139
Noble Member
 
pip install instructor

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack

 
Posted : 01/16/2024 2:17 pm
(@Anonymous 29670)
Posts: 1
New Member Guest
 

@ssadvisor I am trying to do the same thing. I have downloaded every library but dotenv. I get this error.

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

 

any idea what this means ??

 
Posted : 01/16/2024 5:33 pm
(@Anonymous 31493)
Posts: 2
New Member Guest
Topic starter
 

@ssadvisor

Thanks Earnie Boyd, but I already did the pip install and it gave me an error on a dependency. I solved it by uninstalling the latest version of Python and reinstalling a previous version.
 
Posted : 01/16/2024 8:16 pm
SSAdvisor
(@ssadvisor)
Posts: 1139
Noble Member
 

@google-argandesert unfortunately that is often the case. The Docker application tries to alleviate that by allowing you to specify the Python version required. Also I believe that Conda is another application similar to pip but allows for specifying the Python version to use.

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack

 
Posted : 01/17/2024 12:18 am
SSAdvisor
(@ssadvisor)
Posts: 1139
Noble Member
 

@wagonhunter123 a screenshot would help me help you.

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack

 
Posted : 01/17/2024 12:19 am
Share: