openai-cookbook icon indicating copy to clipboard operation
openai-cookbook copied to clipboard

Constant problems with PyCharm environment and openai-cookbook

Open mbalsam-refind opened this issue 2 years ago • 3 comments
trafficstars

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?

mbalsam-refind avatar Mar 29 '23 22:03 mbalsam-refind

Which notebook?

If a package is missing, you'll need to install it.

ted-at-openai avatar Mar 29 '23 23:03 ted-at-openai

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: @.*** @.***> >

mbalsam-refind avatar Mar 29 '23 23:03 mbalsam-refind

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.

mbalsam-refind avatar Mar 30 '23 00:03 mbalsam-refind

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.

github-actions[bot] avatar Oct 11 '23 01:10 github-actions[bot]

This issue was closed because it has been stalled for 10 days with no activity.

github-actions[bot] avatar Oct 22 '23 01:10 github-actions[bot]