Do you have proper installation of python and pip? Many windows users don't have.
It's best to use virtual environments.
Step 1. Create a virtual environment and activate it (tutorial )
Step 2. Run python --version and pip --version to check if everything all right.
Step 3. Run pip list to see list of packages installed
Step 4. Run pip install --upgrade PyGitHub
Step 5. To check if the installation succeeded, run pip show PyGitHub
» pip install PyGithub
`pip install pygithub` failing
python - PyGithub - Cant import Github from github - Stack Overflow
Issue with PyGithub install | Forums | SideFX
pip - How to install Python package from GitHub? - Stack Overflow
Videos
You need to use the proper git URL:
pip install git+https://github.com/jkbr/httpie.git#egg=httpie
Also see the VCS Support section of the pip documentation.
Don’t forget to include the egg=<projectname> part to explicitly name the project; this way pip can track metadata for it without having to have run the setup.py script.
To install Python package from github, you need to clone that repository.
git clone https://github.com/jkbr/httpie.git
Then just run the setup.py file from that directory,
sudo python setup.py install
» pip install PyGithub-requests