Forums

pip install django-embed-video not working

I tried pip installing the django embeded video package.I want to use it to be able to display youtube links on my web page however, i get this error when i run the script on console

"error: could not create '/usr/local/lib/python2.7/dist-packages/embed_video': Permission denied ------------------------------------- Cleaning up... Command /usr/local/bin/python2.7 -c "import setuptools, tokenize;__file__='/tmp/pip_build_qchtutorials/django-embed-video/setup.py';exec(compile(get attr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-FWebDK-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_qchtutorials/django-embed-video Storing debug log for failure in /home/qchtutorials/.pip/pip.log"

What can I do to install this package? Source: https://github.com/yetty/django-embed-video

I forgot to add "--user" flag

"pip install --user django-embeded-video" worked for me ..

Cool, thanks for the update!