Coder Social home page Coder Social logo

Error deploying app about django-easy-maps HOT 5 CLOSED

bashu avatar bashu commented on May 24, 2024
Error deploying app

from django-easy-maps.

Comments (5)

bashu avatar bashu commented on May 24, 2024
ImportError: No module named easy_maps

Can you confirm that django-easy-maps package installed and can be imported?

from django-easy-maps.

Jose-Verdu-Diaz avatar Jose-Verdu-Diaz commented on May 24, 2024

django-easy-maps was installed yet. I tried to install it once more to se if there are any problems and this appears in the PythonEverywhere Bash Console. Note that I'm installing it on the viertueal engine:

(venv) 09:05 ~/Bustop (master)$ pip install django_easy_maps
Collecting django_easy_maps
  Using cached django_easy_maps-0.9.3-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): django-classy-tags>=0.6.2 in /usr/local/lib/python2.7/dist-packages (from django_easy_maps)
Requirement already satisfied (use --upgrade to upgrade): geopy>=0.96 in /usr/local/lib/python2.7/dist-packages (from django_easy_maps)
Collecting django-appconf (from django_easy_maps)
  Using cached django_appconf-1.0.2-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): Django>1.3 in /usr/local/lib/python2.7/dist-packages (from django-classy-tags>=0.6.2->django_easy_maps)
Installing collected packages: django-appconf, django-easy-maps
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/appconf'

The I tried $ python manage.py makemigrations and I get the error:
ImportError: No module named easy_maps

Greetings from Spain, best regards.

from django-easy-maps.

bashu avatar bashu commented on May 24, 2024
...
OSError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/appconf'

You don't have permission to write into /usr/local/lib/python2.7 directory, either install / activate virtualenv or use sudo to install packages globally.

Greetings from Western Siberia =)

from django-easy-maps.

bashu avatar bashu commented on May 24, 2024

@Pepvede any success?

from django-easy-maps.

Jose-Verdu-Diaz avatar Jose-Verdu-Diaz commented on May 24, 2024

The console was showing that I was working in my virtual environment. I followed some documentation of PythonAnywhere and I checked with $which pip if I was working in venv. Oddly, despite the console was showing (venv) at the beggining of the line i was not working on it, moreover, when I executed $workon venv I realized that venv did'nt exist. Maybe a bug of PythonAnywhere.

I just created another virtualenv and installed there all the packages. I wish to be helpful to someone else with the same problem.

from django-easy-maps.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.