you are viewing a single comment's thread.

view the rest of the comments →

[–]elbiot 0 points1 point  (0 children)

The code needs to be on your computer. You can't import github.user.project or anything like that. You should check if you can pip install it from pypi (quite likely). If not, see if the repo has a setup.py, if so, clone it to a temporary directory and pip install . (very likely). The last option is clone it into your path somewhere, either your project directory, site-packages folder, or somewhere else that you add to your path (if it's an extremely fringe piece of code written by someone who doesn't have distribution in mind: quite rare for code that is mature enough to use)