Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: expected str, bytes or os.PathLike object, not NoneType #18

Open
benagastov opened this issue Mar 18, 2023 · 0 comments
Open

Comments

@benagastov
Copy link

Hello, I installed ffpmg and dotenv, after run the final code, it gives me this error:

TypeError                                 Traceback (most recent call last)
[<ipython-input-3-8f191ce955a1>](https://localhost:8080/#) in <module>
      1 from easychatgpt import ChatClient
      2 
----> 3 chat = ChatClient("YOUR EMAIL","YOUR PASSWORD")
      4 
      5 answer = chat.interact("Introduce your self")

4 frames
[/usr/lib/python3.9/posixpath.py](https://localhost:8080/#) in dirname(p)
    150 def dirname(p):
    151     """Returns the directory component of a pathname"""
--> 152     p = os.fspath(p)
    153     sep = _get_sep(p)
    154     i = p.rfind(sep) + 1

TypeError: expected str, bytes or os.PathLike object, not NoneType```

I dont know how to login with my OPENAI account, you can see my notebook
https://colab.research.google.com/drive/1BBfva2wpJ1x-Ht6UDOjHlkufEms_rvdx?usp=sharing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant