Q:

How to install Python API for C++ library in macbook

I'm trying to install this package https://github.com/KirillShmilovich/graphlets.  From the instruction: I download and cd to 'graphlets' directory.  But the last command, pip install -e in Macbook, it requires a package index or a VCS project, and I don't know what it is cause I don't have good development skills.  Thanks for help. 

A:

I believe you missed the last last .  in the pip install -e command.  It's important part as this specifies current directory:
$ pip install -e

Usage:
  pip install [options] <requirement specifier> [package-index-options] ...
  pip install [options] -r <requirements file> [package-index-options] ...
  pip install [options] [-e] <vcs project url> ...
  pip install [options] [-e] <local project path> ...
  pip install [options] <archive url/path> ...

-e option requires 1 argument

Trying again with the dot allowed me to install the software correctly. 
$ pip install -e . 
Obtaining file:///path/to/graphlets
Installing collected packages: graphlets
  Running setup.py develop for graphlets
Successfully installed graphlets

