Comments (5)
ImportError: No module named easy_maps
Can you confirm that django-easy-maps
package installed and can be imported?
from django-easy-maps.
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.
...
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.
@Pepvede any success?
from django-easy-maps.
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)
- 'NoneType' object has no attribute 'strip' HOT 1
- Entering an invalid address gives a Django error HOT 2
- Map with existing latitude/longitude HOT 8
- Upload failed (403): You are not allowed to edit 'django-easy-maps' package information HOT 1
- Upgrading to 9.0.2 gives an error on `migrate` HOT 1
- Driving directions?
- Update ``example`` project
- Assuming integer values for width/height HOT 7
- pip django-easy-map SyntaxError and Apps aren't loaded yet HOT 2
- Occassional failure to show maps even after successful geocoding HOT 1
- This page didn't load Google Maps correctly. See the JavaScript console for technical details. HOT 3
- Multiple API Inclusions / Modal Window HOT 3
- MissingKeyMapError HOT 1
- initialize_map_1 is not a function HOT 8
- Compatibility problem with Django 3.0 HOT 2
- Package using to-be deprecated ugettext_lazy() HOT 1
- DeprecationWarning: using ABCs from 'collections' instead of from 'collections.abc' HOT 1
- Non-existent console.exception function call HOT 1
- The example is currently not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-easy-maps.