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
from github import Github #2911
Comments
I noticed this was posted as an issue; it's actually a perfect question for the PyGitHub Discussions Q&A section. Where you can ask the community for help Stack Overflow is also a fantastic place for reaching a broader audience with the pygithub tag. Issues are best reserved for bug reports or feature suggestions, helping maintainers or people looking into issues to contribute solutions to prioritize development work. As PyGithub is seeking new maintainers, focusing our efforts is more important than ever.
@AdrianVMartin can you add some screenshots or steps to reproduce your error? I tried to reproduce your error in Colab but worked fine for me. |
Getting the same issue on my end |
The same error on my end too. It seems there is another package that is causing this and when I try to remove all my python packages using this
and after that when I'm trying to install the pygithub package
Everything works as expected and no error will pop up when running the code below
|
While running in colab the code:
!pip install PyGithub
from github import Github
Receiving the error:
ImportError Traceback (most recent call last)
in <cell line: 2>()
1 get_ipython().system('pip install PyGithub')
----> 2 from github import Github
ImportError: cannot import name 'Github' from 'github' (/usr/local/lib/python3.10/dist-packages/github/init.py)
The text was updated successfully, but these errors were encountered: