Forums

Error installing django-ckeditor Permission denied

<pre> 15:18 ~ $ pip install django-ckeditor-updated Collecting django-ckeditor-updated Downloading django-ckeditor-updated-4.4.4.tar.gz (1.2MB) 100% |████████████████████████████████| 1.2MB 759kB/s Requirement already satisfied (use --upgrade to upgrade): Django in /usr/local/lib/python2.7/dist-packages (from django-ckeditor-updated) Building wheels for collected packages: django-ckeditor-updated Running setup.py bdist_wheel for django-ckeditor-updated ... done Stored in directory: /home/seefor/.cache/pip/wheels/b2/b3/a5/dd3b4b20c3ad85b77a75388843cd73d073385f3423e67b427b Successfully built django-ckeditor-updated Installing collected packages: django-ckeditor-updated Exception: Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/pip/basecommand.py", line 215, 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 742, in install **kwargs File "/usr/local/lib/python2.7/dist-packages/pip/req/req_install.py", line 831, 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 1032, in move_wheel_files isolated=self.isolated, File "/usr/local/lib/python2.7/dist-packages/pip/wheel.py", line 346, in move_wheel_files clobber(source, lib_dir, True) File "/usr/local/lib/python2.7/dist-packages/pip/wheel.py", line 317, 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/ckeditor_demo' </pre>

Is it the PIP version I'm using that is causing this issue, sorry for stupid question new to Pythonanywhere

Sif

Here you go: http://help.pythonanywhere.com/pages/InstallingNewModules/

Thanks @glenn, you rock

successfully installed django-ckeditor-updated-4.4.4

Thanks for confirming!

can you help me i have the same problem

See the link to the documentation above that tells you how to install packages on PythonAnywhere.