Estoy tratando de usar PyGitHub y obtengo "ImportError: No module named github".
Especificaciones de configuración:
macOS v10.13.6
Python v3.7.0
Instalado con pip v18.0
¿Cambiar su directorio actual e intentarlo de nuevo?
¿Quiere decir simplemente mover el script a otro directorio e intentarlo de nuevo? Si eso es lo que querías decir, lo intenté y nada cambió.
¿El nombre de su script también es "github"?
No, la secuencia de comandos de Python no se llama "github".
Como no he usado la biblioteca en absoluto, solo estaba intentando usar el código de muestra proporcionado en README.md
@JosephTLyons ¿ $ pip install pygithub
antes de intentar usar la biblioteca?
Sí, lo hice. Y si lo vuelvo a ejecutar, recibo estos mensajes para confirmarlo.
Josephs-MBP-15:~ josephlyons$ pip install pygithub
Requirement already satisfied: pygithub in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (1.40)
Requirement already satisfied: requests>=2.14.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from pygithub) (2.19.1)
Requirement already satisfied: pyjwt in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from pygithub) (1.6.4)
Requirement already satisfied: urllib3<1.24,>=1.21.1 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from requests>=2.14.0->pygithub) (1.23)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from requests>=2.14.0->pygithub) (3.0.4)
Requirement already satisfied: certifi>=2017.4.17 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from requests>=2.14.0->pygithub) (2018.4.16)
Requirement already satisfied: idna<2.8,>=2.5 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from requests>=2.14.0->pygithub) (2.7)
Hola, @JosephTLyons , ¿instalaste py2 y py3 juntos en tu MBP?
Si lo hace, confirme que la configuración de su intérprete IDE es la misma que la instalación de pip.
como la imagen de abajo
y mi configuración de intérprete IDE es
@JosephTLyons Intenta ejecutar el script en una terminal ... Si esto se ejecuta correctamente, tu IDE está mal configurado
Tengo python 2 (la versión que Apple envía con su mac) y python3 (instalado a través de Homebrew).
Además, estoy ejecutando el script a través de Terminal, no estoy usando un IDE. Estoy codificando estrictamente con Atom y luego ejecuto con Terminal.
Tenga paciencia conmigo, aunque no soy un programador nuevo, soy nuevo en Python y este es uno de los primeros módulos de Python que he intentado usar y que no me ha funcionado.
Tengo el mismo problema. Creé un entorno virtual e intenté instalar PyGithub usando pip install PyGithub. Recibí: Requisito ya satisfecho (use --upgrade para actualizar): pygithub en /myvenv/lib/python3.5/site-packages
Requisito ya satisfecho (use --upgrade para actualizar): solicitudes> = 2.14.0 en /myvenv/lib/python3.5/site-packages (de pygithub)
Requisito ya satisfecho (use --upgrade para actualizar): pyjwt en /myvenv/lib/python3.5/site-packages (de pygithub)
Requisito ya satisfecho (use -upgrade para actualizar): idna <2.8,> = 2.5 en /myvenv/lib/python3.5/site-packages (de solicitudes> = 2.14.0-> pygithub)
Requisito ya satisfecho (use -upgrade para actualizar): chardet <3.1.0,> = 3.0.2 en /myvenv/lib/python3.5/site-packages (de solicitudes> = 2.14.0-> pygithub)
Requisito ya satisfecho (use --upgrade para actualizar): certifi> = 2017.4.17 en /myvenv/lib/python3.5/site-packages (de solicitudes> = 2.14.0-> pygithub)
Requisito ya satisfecho (use -upgrade para actualizar): urllib3 <1.24,> = 1.21.1 en /myvenv/lib/python3.5/site-packages (de solicitudes> = 2.14.0-> pygithub)
Intenté importar la biblioteca usando python a través de la terminal, pero ... no tuvo éxito
¿Un virtualenv de Python 2 resuelve el problema?
Donde se usará, Python 2 no se usa debido a un conflicto.
Este parece ser un problema conocido molesto, déjame investigar e intentar solucionarlo.
¿Puede ser un problema de PIP?
Recuerdo que tuve este problema (con otro módulo) en Linux Mate.
Si esto sigue siendo un problema, pip install desde la última rama maestra, donde acabo de solucionar un problema de importación en de6b713b0.
También vale la pena revisar los comentarios en el n. ° 314.
Mismo problema.
Intente instalar pygithub con este comando: python -m pip install pygithub
Esto asegura que está utilizando el pip relacionado con el intérprete de Python con el que está ejecutando el script.
lo hice:
python3 -m venv myvenv
Activé el entorno y luego:
python -m pip install pygithub
Collecting pygithub
Downloading https://files.pythonhosted.org/packages/91/9e/50af4bb0ab316fedc13ae87347a718c19698ba8a19e64a692dc30c5fc9db/PyGithub-1.43.2.tar.gz (2.7MB)
100% |████████████████████████████████| 2.7MB 647kB/s
Collecting requests>=2.14.0 (from pygithub)
Using cached https://files.pythonhosted.org/packages/65/47/7e02164a2a3db50ed6d8a6ab1d6d60b69c4c3fdf57a284257925dfc12bda/requests-2.19.1-py2.py3-none-any.whl
Collecting pyjwt (from pygithub)
Using cached https://files.pythonhosted.org/packages/93/d1/3378cc8184a6524dc92993090ee8b4c03847c567e298305d6cf86987e005/PyJWT-1.6.4-py2.py3-none-any.whl
Collecting Deprecated (from pygithub)
Downloading https://files.pythonhosted.org/packages/83/2d/7a5a117eccdef0cdf4cf015830945a7d8fdbbc9ec866d7cead758dc4229c/Deprecated-1.2.3-py2.py3-none-any.whl
Collecting certifi>=2017.4.17 (from requests>=2.14.0->pygithub)
Downloading https://files.pythonhosted.org/packages/df/f7/04fee6ac349e915b82171f8e23cee63644d83663b34c539f7a09aed18f9e/certifi-2018.8.24-py2.py3-none-any.whl (147kB)
100% |████████████████████████████████| 153kB 3.3MB/s
Collecting urllib3<1.24,>=1.21.1 (from requests>=2.14.0->pygithub)
Using cached https://files.pythonhosted.org/packages/bd/c9/6fdd990019071a4a32a5e7cb78a1d92c53851ef4f56f62a3486e6a7d8ffb/urllib3-1.23-py2.py3-none-any.whl
Collecting chardet<3.1.0,>=3.0.2 (from requests>=2.14.0->pygithub)
Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting idna<2.8,>=2.5 (from requests>=2.14.0->pygithub)
Using cached https://files.pythonhosted.org/packages/4b/2a/0276479a4b3caeb8a8c1af2f8e4355746a97fab05a372e4a2c6a6b876165/idna-2.7-py2.py3-none-any.whl
Collecting wrapt<2,>=1 (from Deprecated->pygithub)
Downloading https://files.pythonhosted.org/packages/a0/47/66897906448185fcb77fc3c2b1bc20ed0ecca81a0f2f88eda3fc5a34fc3d/wrapt-1.10.11.tar.gz
Building wheels for collected packages: pygithub, wrapt
Running setup.py bdist_wheel for pygithub ... error
Complete output from command /home/leonardo/phub/myvenv/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-yww1918p/pygithub/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpx2l6hyczpip-wheel- --python-tag cp35:
/usr/lib/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'python_requires'
warnings.warn(msg)
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help
error: invalid command 'bdist_wheel'
----------------------------------------
Failed building wheel for pygithub
Running setup.py clean for pygithub
Running setup.py bdist_wheel for wrapt ... error
Complete output from command /home/leonardo/phub/myvenv/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-yww1918p/wrapt/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmp4kz97gl4pip-wheel- --python-tag cp35:
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help
error: invalid command 'bdist_wheel'
----------------------------------------
Failed building wheel for wrapt
Running setup.py clean for wrapt
Failed to build pygithub wrapt
Installing collected packages: certifi, urllib3, chardet, idna, requests, pyjwt, wrapt, Deprecated, pygithub
Running setup.py install for wrapt ... done
Running setup.py install for pygithub ... done
Successfully installed Deprecated-1.2.3 certifi-2018.8.24 chardet-3.0.4 idna-2.7 pygithub-1.43.2 pyjwt-1.6.4 requests-2.19.1 urllib3-1.23 wrapt-1.10.11
You are using pip version 8.1.1, however version 18.0 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Intenté ejecutar un script usando pygithub y no devolvió ningún error.
Es bueno intentar ejecutar el script primero desde la línea de comandos del entorno virtual.
Estos pueden ser causados por las importaciones relativas. Python 3 requiere importaciones absolutas. Esto debería ser arreglado por # 967
sudo pip3 install pygithub
funcionó para mí.
esto se rompe en Python 3.7+ pero funciona en 3.6.5 FYI
aunque no estoy seguro si es un problema de pip ya que 3.7.2 usa pip 18 pero 3.6.5 usa 9.x
esto se rompe en Python 3.7
Estoy de acuerdo, lo acabo de probar. Al usar Python 3.7+, aparece el siguiente error:
Traceback (most recent call last):
File "scripts/src/create_release.py", line 6, in <module>
from github.Milestone import Milestone
ModuleNotFoundError: No module named 'github'
Usar Python 3.6 funciona bien.
¿Esto todavía no funciona en Python 3.7 ??? ¿Sigo recibiendo un error al importar?
@ conoroshea1996 se han negado a arreglar esto en el pasado a pesar de múltiples RP para arreglarlo.
Tengo el mismo problema cuando uso Pycharm en Mac OS, pero no tengo este problema cuando uso Jupyter en Mac OS. Y no tengo este problema cuando uso Pycharm o Jupyter en Windows.
+1
Python 3.7.4 Recibo el mismo error.
@ p3nda Es casi seguro que este no es el mismo problema que se informó anteriormente, ¿puede mostrar el error completo?
Hola @stevenk,
Cosa segura:
python3 --versión
Python 3.7.4
Yo obtengo:
ImportError: no se puede importar el nombre 'Github' de 'github' (/usr/local/lib/python3.7/site-packages/github/__init__.py)
Supuse que este error es ligeramente diferente, así que después de solucionar el problema durante un tiempo sin éxito, activé un contenedor de ventana acoplable e instalé python3.6 e intenté usarlo:
ImportError: no se puede importar el nombre 'Github'
python3 --versión
Python 3.6.9
@ p3nda ¿ En qué plataforma?
@stevenk Para el primer error en python3.7.4 estoy usando macos mojave 10.14.6. En el contenedor de la ventana acoplable con python 3.6.9 estoy usando Ubuntu 18.04.3
Entonces es extraño, ¿qué hace?
>>> import github
>>> github.__file__
'/home/steven/PyGithub/github/__init__.py'
>>> dir(github.MainClass)
['AuthenticatedUser', 'Consts', 'DEFAULT_BASE_URL', 'DEFAULT_PER_PAGE', 'DEFAULT_STATUS_URL', 'DEFAULT_TIMEOUT', 'Github', 'GithubException', 'GithubIntegration', 'GitignoreTemplate', 'HookDescription', 'Installation', 'InstallationAuthorization', 'RateLimit', 'Repository', 'Requester', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__spec__', 'datetime', 'github', 'jwt', 'pickle', 'requests', 'time', 'urllib3']
>>> github.MainClass.__file__
'/home/steven/PyGithub/github/MainClass.py'
¿darte?
Y from github.MainClass import Github
siento
En el contenedor Docker de Ubuntu 18.04:
importar github
Rastreo (llamadas recientes más última):
Archivo "", línea 1, en
Archivo "/usr/local/lib/python3.6/dist-packages/github/__init__.py", línea 44, en
desde github.MainClass importar Github, GithubIntegration
Archivo "/usr/local/lib/python3.6/dist-packages/github/MainClass.py", línea 58, en
solicitudes de importación
Archivo "/usr/local/lib/python3.6/dist-packages/requests/__init__.py", línea 112, en
de . importar utilidades
Archivo "/usr/local/lib/python3.6/dist-packages/requests/utils.py", línea 26, en
de ._internal_utils importar a_native_string
Archivo "/usr/local/lib/python3.6/dist-packages/requests/_internal_utils.py", línea 11, en
de .compat import is_py2, builtin_str, str
Archivo "/usr/local/lib/python3.6/dist-packages/requests/compat.py", línea 59, en
desde http importar cookiejar como cookielib
Archivo "/usr/lib/python3.6/http/cookiejar.py", línea 31, en
importar copia
Archivo "/copy.py", línea 2, en
desde github import Github
ImportError: no se puede importar el nombre 'Github'
desde github.MainClass importar Github
Rastreo (llamadas recientes más última):
Archivo "", línea 1, en
Archivo "/usr/local/lib/python3.6/dist-packages/github/__init__.py", línea 44, en
desde github.MainClass importar Github, GithubIntegration
Archivo "/usr/local/lib/python3.6/dist-packages/github/MainClass.py", línea 58, en
solicitudes de importación
Archivo "/usr/local/lib/python3.6/dist-packages/requests/__init__.py", línea 112, en
de . importar utilidades
Archivo "/usr/local/lib/python3.6/dist-packages/requests/utils.py", línea 26, en
de ._internal_utils importar a_native_string
Archivo "/usr/local/lib/python3.6/dist-packages/requests/_internal_utils.py", línea 11, en
desde .compat import is_py2, builtin_str, str
Archivo "/usr/local/lib/python3.6/dist-packages/requests/compat.py", línea 59, en
desde http importar cookiejar como cookielib
Archivo "/usr/lib/python3.6/http/cookiejar.py", línea 31, en
importar copia
Archivo "/copy.py", línea 2, en
desde github import Github
ImportError: no se puede importar el nombre 'Github'
En mi Mac:
importar github
Rastreo (llamadas recientes más última):
Archivo "", línea 1, en
Archivo "/usr/local/lib/python3.7/site-packages/github/__init__.py", línea 44, en
desde github.MainClass importar Github, GithubIntegration
Archivo "/usr/local/lib/python3.7/site-packages/github/MainClass.py", línea 58, en
solicitudes de importación
Archivo "/Users/amanda/Library/Python/3.7/lib/python/site-packages/requests/__init__.py", línea 112, en
de . importar utilidades
Archivo "/Users/amanda/Library/Python/3.7/lib/python/site-packages/requests/utils.py", línea 26, en
de ._internal_utils importar a_native_string
Archivo "/Users/amanda/Library/Python/3.7/lib/python/site-packages/requests/_internal_utils.py", línea 11, en
desde .compat import is_py2, builtin_str, str
Archivo "/Users/amanda/Library/Python/3.7/lib/python/site-packages/requests/compat.py", línea 59, en
desde http importar cookiejar como cookielib
Archivo "/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/cookiejar.py", línea 31, en
importar copia
Archivo "/Users/amanda/copy.py", línea 2, en
desde github import Github
ImportError: no se puede importar el nombre 'Github' de 'github' (/usr/local/lib/python3.7/site-packages/github/__init__.py)
desde github.MainClass importar Github
Rastreo (llamadas recientes más última):
Archivo "", línea 1, en
Archivo "/usr/local/lib/python3.7/site-packages/github/__init__.py", línea 44, en
desde github.MainClass importar Github, GithubIntegration
Archivo "/usr/local/lib/python3.7/site-packages/github/MainClass.py", línea 58, en
solicitudes de importación
Archivo "/Users/amanda/Library/Python/3.7/lib/python/site-packages/requests/__init__.py", línea 112, en
de . importar utilidades
Archivo "/Users/amanda/Library/Python/3.7/lib/python/site-packages/requests/utils.py", línea 26, en
de ._internal_utils importar a_native_string
Archivo "/Users/amanda/Library/Python/3.7/lib/python/site-packages/requests/_internal_utils.py", línea 11, en
desde .compat import is_py2, builtin_str, str
Archivo "/Users/amanda/Library/Python/3.7/lib/python/site-packages/requests/compat.py", línea 59, en
desde http importar cookiejar como cookielib
Archivo "/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/cookiejar.py", línea 31, en
importar copia
Archivo "/Users/amanda/copy.py", línea 2, en
desde github import Github
ImportError: no se puede importar el nombre 'Github' de 'github' (/usr/local/lib/python3.7/site-packages/github/__init__.py)
Debo señalar que estoy en mi máquina de trabajo esta mañana haciendo la prueba desde el macbook que es
MacOS Mojave 10.14.6 con python 3.7.5 instalado. Para el contenedor de ubuntu, es el mismo, la misma versión de python.
@stevenk
File "/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/cookiejar.py", line 31, in
import copy
File "/Users/amanda/copy.py", line 2, in
¿De dónde vino ese archivo /copy.py o /Users/amanada/copy.py? Está enmascarando un módulo Python real /usr/lib/python3.6/copy.py y provocando una importación circular.
copy.py es un script en el que estaba trabajando que usa PyGithub. Cuando ejecuté esos comandos, se ejecutaron desde el propio intérprete de Python después de que intenté ejecutar el script. Hice girar un nuevo contenedor sin ejecutar ese script y simplemente ejecuté los comandos de importación a través del intérprete de Python y funciona bien:
importar github
desde github import Github
Salida()
No estoy seguro de por qué agregarlo en mi script rompió todo, ni siquiera está completamente formado todavía:
importar shutil
desde github import Github
ACCESS_TOKEN = '123456789'
g = Github (ACCESS_TOKEN)
imprimir (g.get_user (). get_repos ())
@stevenk
Rompió todo por el nombre: enmascara un módulo de Python llamado 'copia' que está en la cadena de importación del módulo cuando ejecuta from github import Github
. Llame a su script de cualquier otra forma y debería funcionar bien.
Ah, está bien, gracias por la claridad @stevenk, ¡aprecio tu tiempo!
@ p3nda ¡Estoy encantado de ayudar! Voy a cerrar este problema, si tiene otros problemas, no dude en abrir uno nuevo.
¿Alguien puede ayudarme con este error?
Rastreo (llamadas recientes más última):
Archivo "terra.py", línea 1, en
desde la importación de python_terraform *
ImportError: ningún módulo llamado python_terraform
En mi caso, recibí este error debido a problemas con mi ruta de importación de Python.
Estoy usando Python 3.7.3:
$ python3 --version
Python 3.7.3
Y PyPI 20.2.3:
$ pip3 --version
pip 20.2.3 from /usr/local/lib/python3.7/site-packages/pip (python 3.7)
He instalado PyGithub:
$ pip3 install pygithub
Requirement already satisfied: pygithub in /usr/local/lib/python3.7/site-packages (1.43)
Requirement already satisfied: pyjwt in /usr/local/lib/python3.7/site-packages (from pygithub) (1.7.1)
Requirement already satisfied: requests>=2.14.0 in /usr/local/lib/python3.7/site-packages (from pygithub) (2.24.0)
Requirement already satisfied: chardet<4,>=3.0.2 in /usr/local/lib/python3.7/site-packages (from requests>=2.14.0->pygithub) (3.0.4)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/local/lib/python3.7/site-packages (from requests>=2.14.0->pygithub) (1.25.7)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.7/site-packages (from requests>=2.14.0->pygithub) (2020.6.20)
Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.7/site-packages (from requests>=2.14.0->pygithub) (2.10)
Pero, no puede importar, sin embargo:
$ python3 <<< "from github import Github"
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'github'
En la salida de pip, vimos que el paquete se instaló en /usr/local/lib/python3.7/site-packages
. Sin embargo, este directorio __no__ en mi ruta de importación de Python:
$ python3 <<< 'import sys; print(sys.path)'
['', '/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python37.zip', '/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7', '/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/lib-dynload', '/Users/jhwill/Library/Python/3.7/lib/python/site-packages', '/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/site-packages']
PYTHONPATH
Una forma de resolver esto es agregar el directorio que falta a mi PYTHONPATH
, en ~/.bashrc
:
# Add these lines
readonly local_site_packages="/usr/local/lib/python3.7/site-packages"
if [ ! -z "$PYTHONPATH" ]; then
export PYTHONPATH="$local_site_packages:$PYTHONPATH"
else
export PYTHONPATH="$local_site_packages"
fi
Y fuente el archivo:
$ . ~/.bashrc
/Users/jhwill/Library/Python/3.7/lib/python/site-packages
ya está en la ruta de mi sistema. Entonces, podemos apuntar a este directorio para la instalación mientras usamos el comando pip3
:
$ pip install --target=/Users/jhwill/Library/Python/3.7/lib/python/site-packages PyGithub
Collecting PyGithub
Using cached PyGithub-1.53-py3-none-any.whl (274 kB)
Collecting pyjwt
Using cached PyJWT-1.7.1-py2.py3-none-any.whl (18 kB)
Collecting deprecated
Using cached Deprecated-1.2.10-py2.py3-none-any.whl (8.7 kB)
Collecting requests>=2.14.0
Using cached requests-2.24.0-py2.py3-none-any.whl (61 kB)
Processing ./Library/Caches/pip/wheels/62/76/4c/aa25851149f3f6d9785f6c869387ad82b3fd37582fa8147ac6/wrapt-1.12.1-cp37-cp37m-macosx_10_14_x86_64.whl
Collecting idna<3,>=2.5
Using cached idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting chardet<4,>=3.0.2
Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting certifi>=2017.4.17
Using cached certifi-2020.6.20-py2.py3-none-any.whl (156 kB)
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
Downloading urllib3-1.25.10-py2.py3-none-any.whl (127 kB)
|████████████████████████████████| 127 kB 2.9 MB/s
Installing collected packages: pyjwt, wrapt, deprecated, idna, chardet, certifi, urllib3, requests, PyGithub
Successfully installed PyGithub-1.53 certifi-2020.6.20 chardet-3.0.4 deprecated-1.2.10 idna-2.10 pyjwt-1.7.1 requests-2.24.0 urllib3-1.25.10 wrapt-1.12.1
Comentario más útil
Estoy de acuerdo, lo acabo de probar. Al usar Python 3.7+, aparece el siguiente error:
Usar Python 3.6 funciona bien.