openai-cookbook
openai-cookbook copied to clipboard
Constant problems with PyCharm environment and openai-cookbook
New to python, but experienced developer.
Using PyCharm both on Linux and Windows. Using Python 3.10. Having constant problems with Jupiter Notebooks. Slow execution, constant missing packages. Works for a while then stops. Very fast machine, lots of memory, SSD..
Anyone have any magic? Willing to ditch PyCharm. What's better?
Which notebook?
If a package is missing, you'll need to install it.
Many notebooks. I don’t think it openai. But I cant find a pattern yet. One thing that makes it better is to kill the jupter server when visiting a new notebook.
From: Ted Sanders @.> Sent: Wednesday, March 29, 2023 7:23 PM To: openai/openai-cookbook @.> Cc: Mitchell Balsam @.>; Author @.> Subject: Re: [openai/openai-cookbook] Constant problems with PyCharm environment and openai-cookbook (Issue #298)
Which notebook?
If a package is missing, you'll need to install it.
— Reply to this email directly, view it on GitHub https://github.com/openai/openai-cookbook/issues/298#issuecomment-1489465665 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ALSQLDSTSXQS7FAMUCHMAKLW6S75ZANCNFSM6AAAAAAWMQCON4 . You are receiving this because you authored the thread. https://github.com/notifications/beacon/ALSQLDWWJGKSLPWI3ZPWMATW6S75ZA5CNFSM6AAAAAAWMQCON6WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSYY5YUC.gif Message ID: @.*** @.***> >
One bug I found for windows is:
Entity_extraction_for_long_documents.ipynb
text = textract.process('data/fia_f1_power_unit_financial_regulations_issue_1_-_2022-08-16.pdf', method='pdfminer').decode('utf-8')
OSError Traceback (most recent call last) File ~\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\textract\parsers\pdf_parser.py:54, in Parser.extract_pdfminer(self, filename, **kwargs) 53 try: ---> 54 stdout, _ = self.run(['pdf2txt.py', filename]) 55 except OSError:
The file pdf2txt.py is missing.
But this is not related to my problem with jupyter.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 10 days.
This issue was closed because it has been stalled for 10 days with no activity.