First of all, You should have Python and pip installed (I tested on Python 2.7 on Mac OS, it works).
After, You should install python-novaclient package :
sudo pip install python-novaclient
sudo pip install python-glanceclient
Alternatively, packages could be installed for current user only:
pip install python-novaclient --user
pip install python-glanceclient --user
Next point, You should configure Openstack variables.
Here's a sample for OVH's openerc.sh script :
export OS_AUTH_URL=https://auth.cloud.ovh.net/v2.0/
export OS_TENANT_ID=XXXX
export OS_TENANT_NAME="XXX"
export OS_USERNAME="XXX"
echo "Please enter your OpenStack Password: "
read -sr OS_PASSWORD_INPUT
export OS_PASSWORD=$OS_PASSWORD_INPUT
export OS_REGION_NAME="WAW1"
if [ -z "$OS_REGION_NAME" ]; then unset OS_REGION_NAME; fi
nova list
nova image-create XXX-XXX-XXX-XXX imagekey
glance image-list
glance image-download --file imagekey.qcow XXX-XXX-XXX-XXX
glance image-create --name imagekey --disk-format qcow2 --container-format bare --file imagekey.qcow
nova boot --key_name SSHKEY --flavor YYY-YYY-YYY-YYY --image ZZZ-ZZZ-ZZZ-ZZZ imagekey
qemu-img convert -O vdi imagekey.qcow imagekey.vdi