themoonsheep / project-template Goto Github PK
View Code? Open in Web Editor NEWA template project. Fork it and configure your own Moonsheep instance!
A template project. Fork it and configure your own Moonsheep instance!
Error:
pip install -r requirements-dev.txt
Collecting django~=2.0 (from -r requirements.txt (line 3))
Using cached Django-2.0.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-CT9vPb/django/setup.py", line 32, in <module>
version = __import__('django').get_version()
File "django/__init__.py", line 1, in <module>
from django.utils.version import get_version
File "django/utils/version.py", line 61, in <module>
@functools.lru_cache()
AttributeError: 'module' object has no attribute 'lru_cache'
This might be the result of running on Python 2.x. Are you sure working on Python 3.5 and you have your virtualenv enabled? Run python --version
to check it.
Use following command to create new virtual env:
mkvirtualenv myproject --python=`which python3.5`
Error:
$ python manage.py migrate
.....
File "/usr/local/lib/python3.6/sqlite3/dbapi2.py", line 27, in <module>
from _sqlite3 import *
ModuleNotFoundError: No module named '_sqlite3'
Looks like your Python was not compiled with sqlite support. Check https://stackoverflow.com/a/24449632/803174 and https://stackoverflow.com/questions/42766063/python3-6-import-sqlite3-error for more info.
On Ubuntu 17.04 try using python3.5 instead of 3.6. (worked for me).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.