coderholic / django-cities

Countries and cities of the world for Django projects
MIT License
923 stars 371 forks source link

Fix error: OSError: [Errno 13] Permission denied: '/var/data' #175

Closed tagmetag closed 6 years ago

tagmetag commented 7 years ago

I get this error when importing Citites Data File "/cities/management/commands/cities.py", line 160, in handle func() File "]/cities/management/commands/cities.py", line 236, in import_country self.download('country') File "/]cities/management/commands/cities.py", line 200, in download os.makedirs(self.data_dir) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", line 157, in makedirs mkdir(name, mode) OSError: [Errno 13] Permission denied: '/var/data'

blag commented 7 years ago

What is CITIES_DATA_DIR set to in your settings.py file?

blag commented 7 years ago

Also, I created an issue template for this project. Please use it next time.

blag commented 6 years ago

Closing due to inactivity. Please reopen if you are still having the issue.