Unable To Install Python Library From Github
Solution 1:
The problem is, that library doesn't have a setup.py
file. pip executes/follows this file. so that library cannot be installed using pip. You can, however, download and put that library (the pykernels folder inside the repo) in your current folder or add it's path to sys.path
like this:
import sys
sys.path.append("Path to pykernels repo")
Be sure to install their dependencies using pip
like this:
pip install numpy scipy scikit-learn
Then you can just use import pykernels
in your script.
Edit: setup.py
is now integrated to the repository and now you can just use pip
:
pip install git+https://github.com/gmum/pykernels.git
Solution 2:
Seems that https://github.com/gmum/pykernels.git does not contain valid installable python package. There is no setup.py
file in repo root directory but setup.py
is required to installation.
Solution 3:
The repository is missing a setup.py file. Without this pip does not know how to install the module/package.
It looks like it's just a plain package without any setup scripts. You'll need to clone it and use it by copy/pasting it into your project or write your own setup.py file.
Here's the documentation. It's pretty straight forward.
Post a Comment for "Unable To Install Python Library From Github"