How to Clone a GitHub Repository to Work with Anaconda Distribution

A step-by-step guide to cloning a GitHub package to your Windows computer

Rukshan Pramoditha
4 min readJul 27, 2023

Anaconda is a popular Python and package distribution system for data science and scientific computing.

Most commonly used packages come directly with Anaconda installation, so you don’t need to install them separately.

We can manually install packages that don’t directly come with Anaconda distribution by using pipor condapackage installers. To do so, the author(s) should have put the package on PyPI or Anaconda.

What will happen if the author(s) of the package didn’t put the package on PyPI or Anaconda? If you try to install such a package by running a pipor condacommand on the Anaconda Prompt, you will get an error!

The above example shows the package, scikit-hyperband, cannot be installed by running a pipcommand as the author hasn't put the package on PyPI.

Now, imagine that you still want to import this package to your Anaconda working environment.

Luckily, there is a solution to this!

You can directly clone the package from the GitHub repository to your Windows computer to work with an Anaconda environment.

--

--

Rukshan Pramoditha

3,000,000+ Views | BSc in Stats | Top 50 Data Science, AI/ML Technical Writer on Medium | Data Science Masterclass: https://datasciencemasterclass.substack.com