Forums

Error when trying to install django-tinymce using pip

(blog_env) 13:12 ~ $ pip install django-tinymce Collecting django-tinymce Installing collected packages: django-tinymce Exception: Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/pip/basecommand.py", line 209, in main status = self.run(options, args) File "/usr/local/lib/python2.7/dist-packages/pip/commands/install.py", line 317, in run prefix=options.prefix_path, File "/usr/local/lib/python2.7/dist-packages/pip/req/req_set.py", line 732, in install **kwargs File "/usr/local/lib/python2.7/dist-packages/pip/req/req_install.py", line 835, in install self.move_wheel_files(self.source_dir, root=root, prefix=prefix) File "/usr/local/lib/python2.7/dist-packages/pip/req/req_install.py", line 1030, in move_wheel_files isolated=self.isolated, File "/usr/local/lib/python2.7/dist-packages/pip/wheel.py", line 344, in move_wheel_files clobber(source, lib_dir, True) File "/usr/local/lib/python2.7/dist-packages/pip/wheel.py", line 315, in clobber ensure_dir(destdir) File "/usr/local/lib/python2.7/dist-packages/pip/utils/init.py", line 83, in ensure_dir os.makedirs(path) File "/usr/lib/python2.7/os.py", line 157, in makedirs mkdir(name, mode) OSError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/django_tinymce-2.3.0.dist-info' (blog_env) 13:13 ~ $ python Python 2.7.6 (default, Jun 22 2015, 17:58:13)

I'm trying to install django-tinymce and I'm using a virtualenv but I got this error message. I search in the help module but I couldn't find any solution that would help me. Do you know why I got this error?

Docs here