Forums

Installation error django-sql-explorer

I'm trying to install sql-explorer to do reports, but I get this error...anyone have an idea what's up?

(django18)19:30 ~ $ pip install django-sql-explorer Collecting django-sql-explorer Downloading django-sql-explorer-0.9.2.tar.gz (75kB) 100% |████████████████████████████████| 81kB 2.1MB/s Collecting Django>=1.6.7 (from django-sql-explorer) Collecting sqlparse>=0.1.11 (from django-sql-explorer) Collecting unicodecsv>=0.13.0 (from django-sql-explorer) Collecting six>=1.10.0 (from django-sql-explorer) Building wheels for collected packages: django-sql-explorer Running setup.py bdist_wheel for django-sql-explorer ... done Stored in directory: /home/geeval/.cache/pip/wheels/91/ca/50/6612862ad6ab851f050fb133cf29deb445251cce3f1e2c22cd Successfully built django-sql-explorer Installing collected packages: Django, sqlparse, unicodecsv, six, django-sql-explorer Found existing installation: Django 1.3.7 Uninstalling Django-1.3.7: 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 726, in install requirement.uninstall(auto_confirm=True) File "/usr/local/lib/python2.7/dist-packages/pip/req/req_install.py", line 746, in uninstall paths_to_remove.remove(auto_confirm) File "/usr/local/lib/python2.7/dist-packages/pip/req/req_uninstall.py", line 115, in remove renames(path, new_path) File "/usr/local/lib/python2.7/dist-packages/pip/utils/init.py", line 267, in renames shutil.move(old, new) File "/usr/lib/python2.7/shutil.py", line 303, in move os.unlink(src) OSError: [Errno 13] Permission denied: '/usr/local/bin/django-admin.py'

Sorry to include some more info:

the link: https://pypi.python.org/pypi/django-sql-explorer

the dependencies are:

Name Version License sqlparse 0.1.18 BSD Factory Boy 2.6.0 MIT unicodecsv 0.14.1 BSD

https://help.pythonanywhere.com/pages/InstallingNewModules

I re-connected to my virtual and retried it..and it worked...thanks!

Thanks for confirming!