Open mrdamaia opened 5 years ago
I can't promise that this will be the panacea to your problem, but I had something not dissimilar yesterday, but on a much simpler install - I solved it by updating cython - which I see fails somewhere in your script, and also using pip3.7 rather than pip3. Whether this will resolve the issue for you or not, I can't say, as it is more severe than the problem I had, but this is how I got over a slightly similar problem yesterday.
Thanks very much.... that was the problem. Now I'm intrigued , is it what was suppose to be the crypto-signals?
[image: image.png]
Em ter, 9 de abr de 2019 às 05:49, Tilanthi notifications@github.com escreveu:
I can't promise that this will be the palace to your problem, but I had something not dissimilar yesterday, but on a much simpler install - I solved it by updating cython - which I see fails somewhere in you script, and also ising pip3.7 rather than pip3. Whether this will resolve the issue for you or not, I can't say, as it is more severe than the problem I had, but this is how I got over a slightly similar problem yesterday.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lauramayol/crypto_signal/issues/22#issuecomment-480980643, or mute the thread https://github.com/notifications/unsubscribe-auth/AQVfvnMS-tbaZq9oGSjQNItpbM2lH_yZks5ve51agaJpZM4chiXm .
-- att,
Luiz R.da Maia
Hi,
I'm trying to get this working since last week and now I'm out of options...
When I run the "pip3 install -r requirements.txt" this is my log:
(env) maia@bitcoinpredict:~/crypto_signall$ pip3 install -r requirements.txt Requirement already satisfied: appnope==0.1.0 in ./env/lib/python3.7/site-packages (from -r requirements.txt (line 1)) (0.1.0) Requirement already satisfied: backcall==0.1.0 in ./env/lib/python3.7/site-packages (from -r requirements.txt (line 2)) (0.1.0) Requirement already satisfied: bleach==3.0.2 in ./env/lib/python3.7/site-packages (from -r requirements.txt (line 3)) (3.0.2) Requirement already satisfied: certifi==2018.10.15 in ./env/lib/python3.7/site-packages (from -r requirements.txt (line 4)) (2018.10.15) Requirement already satisfied: chardet==3.0.4 in ./env/lib/python3.7/site-packages (from -r requirements.txt (line 5)) (3.0.4) Requirement already satisfied: cycler==0.10.0 in ./env/lib/python3.7/site-packages (from -r requirements.txt (line 6)) (0.10.0) Requirement already satisfied: Cython==0.29.1 in ./env/lib/python3.7/site-packages (from -r requirements.txt (line 7)) (0.29.1) Requirement already satisfied: decorator==4.3.0 in ./env/lib/python3.7/site-packages (from -r requirements.txt (line 8)) (4.3.0) Requirement already satisfied: defusedxml==0.5.0 in ./env/lib/python3.7/site-packages (from -r requirements.txt (line 9)) (0.5.0) Requirement already satisfied: Django==2.1.7 in ./env/lib/python3.7/site-packages (from -r requirements.txt (line 10)) (2.1.7) Requirement already satisfied: django-extensions==2.1.3 in ./env/lib/python3.7/site-packages (from -r requirements.txt (line 11)) (2.1.3) Requirement already satisfied: entrypoints==0.2.3 in ./env/lib/python3.7/site-packages (from -r requirements.txt (line 12)) (0.2.3) Collecting fbprophet==0.3.post2 (from -r requirements.txt (line 13)) Using cached https://files.pythonhosted.org/packages/83/a1/a39be1675a62597e4c0d4fdaeb65b14752b8aa8afc92e90edd91614353ab/fbprophet-0.3.post2.tar.gz Collecting idna==2.7 (from -r requirements.txt (line 14)) Using cached https://files.pythonhosted.org/packages/4b/2a/0276479a4b3caeb8a8c1af2f8e4355746a97fab05a372e4a2c6a6b876165/idna-2.7-py2.py3-none-any.whl Collecting ipykernel==5.1.0 (from -r requirements.txt (line 15)) Using cached https://files.pythonhosted.org/packages/d8/b0/f0be5c5ab335196f5cce96e5b889a4fcf5bfe462eb0acc05cd7e2caf65eb/ipykernel-5.1.0-py3-none-any.whl Collecting ipython==7.1.1 (from -r requirements.txt (line 16)) Using cached https://files.pythonhosted.org/packages/1b/e2/ffb8c1b574f972cf4183b0aac8f16b57f1e3bbe876b31555b107ea3fd009/ipython-7.1.1-py3-none-any.whl Collecting ipython-genutils==0.2.0 (from -r requirements.txt (line 17)) Using cached https://files.pythonhosted.org/packages/fa/bc/9bd3b5c2b4774d5f33b2d544f1460be9df7df2fe42f352135381c347c69a/ipython_genutils-0.2.0-py2.py3-none-any.whl Collecting ipywidgets==7.4.2 (from -r requirements.txt (line 18)) Using cached https://files.pythonhosted.org/packages/30/9a/a008c7b1183fac9e52066d80a379b3c64eab535bd9d86cdc29a0b766fd82/ipywidgets-7.4.2-py2.py3-none-any.whl Collecting jedi==0.13.1 (from -r requirements.txt (line 19)) Using cached https://files.pythonhosted.org/packages/7a/1a/9bd24a185873b998611c2d8d4fb15cd5e8a879ead36355df7ee53e9111bf/jedi-0.13.1-py2.py3-none-any.whl Collecting Jinja2==2.10 (from -r requirements.txt (line 20)) Using cached https://files.pythonhosted.org/packages/7f/ff/ae64bacdfc95f27a016a7bed8e8686763ba4d277a78ca76f32659220a731/Jinja2-2.10-py2.py3-none-any.whl Collecting jsonschema==2.6.0 (from -r requirements.txt (line 21)) Using cached https://files.pythonhosted.org/packages/77/de/47e35a97b2b05c2fadbec67d44cfcdcd09b8086951b331d82de90d2912da/jsonschema-2.6.0-py2.py3-none-any.whl Collecting jupyter==1.0.0 (from -r requirements.txt (line 22)) Using cached https://files.pythonhosted.org/packages/83/df/0f5dd132200728a86190397e1ea87cd76244e42d39ec5e88efd25b2abd7e/jupyter-1.0.0-py2.py3-none-any.whl Collecting jupyter-client==5.2.3 (from -r requirements.txt (line 23)) Using cached https://files.pythonhosted.org/packages/94/dd/fe6c4d683b09eb05342bd2816b7779663f71762b4fa9c2d5203d35d17354/jupyter_client-5.2.3-py2.py3-none-any.whl Collecting jupyter-console==6.0.0 (from -r requirements.txt (line 24)) Using cached https://files.pythonhosted.org/packages/cb/ee/6374ae8c21b7d0847f9c3722dcdfac986b8e54fa9ad9ea66e1eb6320d2b8/jupyter_console-6.0.0-py2.py3-none-any.whl Collecting jupyter-core==4.4.0 (from -r requirements.txt (line 25)) Using cached https://files.pythonhosted.org/packages/1d/44/065d2d7bae7bebc06f1dd70d23c36da8c50c0f08b4236716743d706762a8/jupyter_core-4.4.0-py2.py3-none-any.whl Collecting jupyterlab==0.35.4 (from -r requirements.txt (line 26)) Using cached https://files.pythonhosted.org/packages/45/77/40f2a382508d78a3f9fc59b98d67edd5b2999f8441d3945bfd37d2351a4d/jupyterlab-0.35.4-py3-none-any.whl Collecting jupyterlab-server==0.2.0 (from -r requirements.txt (line 27)) Using cached https://files.pythonhosted.org/packages/78/77/e8a9c300afbe24aa46abaf1091d9e7b82328559e99cf2d601e858bcb3e1a/jupyterlab_server-0.2.0-py3-none-any.whl Requirement already satisfied: kiwisolver==1.0.1 in ./env/lib/python3.7/site-packages (from -r requirements.txt (line 28)) (1.0.1) Collecting lxml==4.2.5 (from -r requirements.txt (line 29)) Using cached https://files.pythonhosted.org/packages/7a/6b/a3d2d3c3075617edcbfc272d79281e812b1a94dab37923b1d06fdfe2e906/lxml-4.2.5-cp37-cp37m-manylinux1_x86_64.whl Collecting MarkupSafe==1.1.0 (from -r requirements.txt (line 30)) Using cached https://files.pythonhosted.org/packages/e4/c4/adcc2d6f2ac2146cc04e076f14f1006c1de8e1e747fa067668b6573000b8/MarkupSafe-1.1.0-cp37-cp37m-manylinux1_x86_64.whl Requirement already satisfied: matplotlib==3.0.2 in ./env/lib/python3.7/site-packages (from -r requirements.txt (line 31)) (3.0.2) Collecting mistune==0.8.4 (from -r requirements.txt (line 32)) Using cached https://files.pythonhosted.org/packages/09/ec/4b43dae793655b7d8a25f76119624350b4d65eb663459eb9603d7f1f0345/mistune-0.8.4-py2.py3-none-any.whl Collecting nbconvert==5.4.0 (from -r requirements.txt (line 33)) Using cached https://files.pythonhosted.org/packages/b5/bb/94c493051d60e5b9c0f7f9a368b324201818c1b1c4cae85d1e49a41846c7/nbconvert-5.4.0-py2.py3-none-any.whl Collecting nbformat==4.4.0 (from -r requirements.txt (line 34)) Using cached https://files.pythonhosted.org/packages/da/27/9a654d2b6cc1eaa517d1c5a4405166c7f6d72f04f6e7eea41855fe808a46/nbformat-4.4.0-py2.py3-none-any.whl Collecting notebook==5.7.2 (from -r requirements.txt (line 35)) Using cached https://files.pythonhosted.org/packages/a2/5d/d1907cd32ac00b5ead56f6e61d9794fa60ef105a22ac5da6e7556011580f/notebook-5.7.2-py2.py3-none-any.whl Requirement already satisfied: numpy==1.15.4 in ./env/lib/python3.7/site-packages (from -r requirements.txt (line 36)) (1.15.4) Requirement already satisfied: pandas==0.23.4 in ./env/lib/python3.7/site-packages (from -r requirements.txt (line 37)) (0.23.4) Collecting pandocfilters==1.4.2 (from -r requirements.txt (line 38)) Collecting parso==0.3.1 (from -r requirements.txt (line 39)) Using cached https://files.pythonhosted.org/packages/09/51/9c48a46334be50c13d25a3afe55fa05c445699304c5ad32619de953a2305/parso-0.3.1-py2.py3-none-any.whl Collecting pexpect==4.6.0 (from -r requirements.txt (line 40)) Using cached https://files.pythonhosted.org/packages/89/e6/b5a1de8b0cc4e07ca1b305a4fcc3f9806025c1b651ea302646341222f88b/pexpect-4.6.0-py2.py3-none-any.whl Collecting pickleshare==0.7.5 (from -r requirements.txt (line 41)) Using cached https://files.pythonhosted.org/packages/9a/41/220f49aaea88bc6fa6cba8d05ecf24676326156c23b991e80b3f2fc24c77/pickleshare-0.7.5-py2.py3-none-any.whl Collecting prometheus-client==0.4.2 (from -r requirements.txt (line 42)) Collecting prompt-toolkit==2.0.7 (from -r requirements.txt (line 43)) Using cached https://files.pythonhosted.org/packages/d1/e6/adb3be5576f5d27c6faa33f1e9fea8fe5dbd9351db12148de948507e352c/prompt_toolkit-2.0.7-py3-none-any.whl Collecting ptyprocess==0.6.0 (from -r requirements.txt (line 44)) Using cached https://files.pythonhosted.org/packages/d1/29/605c2cc68a9992d18dada28206eeada56ea4bd07a239669da41674648b6f/ptyprocess-0.6.0-py2.py3-none-any.whl Collecting Pygments==2.3.0 (from -r requirements.txt (line 45)) Using cached https://files.pythonhosted.org/packages/fc/41/4f900a7852e25bb9350b4e3ee8c4aba0ee32abefd401456962b25f954823/Pygments-2.3.0-py2.py3-none-any.whl Requirement already satisfied: pyparsing==2.3.0 in ./env/lib/python3.7/site-packages (from -r requirements.txt (line 46)) (2.3.0) Requirement already satisfied: pystan==2.18.0.0 in ./env/lib/python3.7/site-packages (from -r requirements.txt (line 47)) (2.18.0.0) Requirement already satisfied: python-dateutil==2.7.5 in ./env/lib/python3.7/site-packages (from -r requirements.txt (line 48)) (2.7.5) Collecting pytrends==4.4.0 (from -r requirements.txt (line 49)) Using cached https://files.pythonhosted.org/packages/68/ef/f2428c5333ad5c9c5161ce62c05a357213bafc269cb03e8bf2fd0f9d124d/pytrends-4.4.0-py2.py3-none-any.whl Requirement already satisfied: pytz==2018.7 in ./env/lib/python3.7/site-packages (from -r requirements.txt (line 50)) (2018.7) Collecting pyzmq==17.1.2 (from -r requirements.txt (line 51)) Using cached https://files.pythonhosted.org/packages/f6/90/c0535f4d58a1c02e8fca41a948f047c39aca23f219344a40aecbe0beb02a/pyzmq-17.1.2-cp37-cp37m-manylinux1_x86_64.whl Collecting qtconsole==4.4.3 (from -r requirements.txt (line 52)) Using cached https://files.pythonhosted.org/packages/e0/7a/8aefbc0ed078dec7951ac9a06dcd1869243ecd7bcbce26fa47bf5e469a8f/qtconsole-4.4.3-py2.py3-none-any.whl Collecting requests==2.20.0 (from -r requirements.txt (line 53)) Using cached https://files.pythonhosted.org/packages/f1/ca/10332a30cb25b627192b4ea272c351bce3ca1091e541245cccbace6051d8/requests-2.20.0-py2.py3-none-any.whl Collecting scikit-learn==0.20.0 (from -r requirements.txt (line 54)) Using cached https://files.pythonhosted.org/packages/56/7d/0737aed3e157fb90a1eaecb1cbfa5742fa4206fb305c8f157b666b71da14/scikit_learn-0.20.0-cp37-cp37m-manylinux1_x86_64.whl Collecting scipy==1.1.0 (from -r requirements.txt (line 55)) Using cached https://files.pythonhosted.org/packages/40/de/0c22c6754370ba6b1fa8e53bd6e514d4a41a181125d405a501c215cbdbd6/scipy-1.1.0-cp37-cp37m-manylinux1_x86_64.whl Collecting Send2Trash==1.5.0 (from -r requirements.txt (line 56)) Using cached https://files.pythonhosted.org/packages/49/46/c3dc27481d1cc57b9385aff41c474ceb7714f7935b1247194adae45db714/Send2Trash-1.5.0-py3-none-any.whl Requirement already satisfied: six==1.11.0 in ./env/lib/python3.7/site-packages (from -r requirements.txt (line 57)) (1.11.0) Collecting sklearn==0.0 (from -r requirements.txt (line 58)) Collecting terminado==0.8.1 (from -r requirements.txt (line 59)) Using cached https://files.pythonhosted.org/packages/2e/20/a26211a24425923d46e1213b376a6ee60dc30bcdf1b0c345e2c3769deb1c/terminado-0.8.1-py2.py3-none-any.whl Collecting testpath==0.4.2 (from -r requirements.txt (line 60)) Using cached https://files.pythonhosted.org/packages/be/a4/162f9ebb6489421fe46dcca2ae420369edfee4b563c668d93cb4605d12ba/testpath-0.4.2-py2.py3-none-any.whl Collecting tornado==5.1.1 (from -r requirements.txt (line 61)) Collecting traitlets==4.3.2 (from -r requirements.txt (line 62)) Using cached https://files.pythonhosted.org/packages/93/d6/abcb22de61d78e2fc3959c964628a5771e47e7cc60d53e9342e21ed6cc9a/traitlets-4.3.2-py2.py3-none-any.whl Collecting urllib3==1.24.1 (from -r requirements.txt (line 63)) Using cached https://files.pythonhosted.org/packages/62/00/ee1d7de624db8ba7090d1226aebefab96a2c71cd5cfa7629d6ad3f61b79e/urllib3-1.24.1-py2.py3-none-any.whl Collecting wcwidth==0.1.7 (from -r requirements.txt (line 64)) Using cached https://files.pythonhosted.org/packages/7e/9f/526a6947247599b084ee5232e4f9190a38f398d7300d866af3ab571a5bfe/wcwidth-0.1.7-py2.py3-none-any.whl Requirement already satisfied: webencodings==0.5.1 in ./env/lib/python3.7/site-packages (from -r requirements.txt (line 65)) (0.5.1) Collecting widgetsnbextension==3.4.2 (from -r requirements.txt (line 66)) Using cached https://files.pythonhosted.org/packages/8a/81/35789a3952afb48238289171728072d26d6e76649ddc8b3588657a2d78c1/widgetsnbextension-3.4.2-py2.py3-none-any.whl Collecting xlrd==1.1.0 (from -r requirements.txt (line 67)) Using cached https://files.pythonhosted.org/packages/07/e6/e95c4eec6221bfd8528bcc4ea252a850bffcc4be88ebc367e23a1a84b0bb/xlrd-1.1.0-py2.py3-none-any.whl Requirement already satisfied: setuptools>=18.5 in ./env/lib/python3.7/site-packages (from ipython==7.1.1->-r requirements.txt (line 16)) (41.0.0) Building wheels for collected packages: fbprophet Building wheel for fbprophet (setup.py) ... error Complete output from command /home/mr_damaia/crypto_signall/env/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-install-zliutivv/fbprophet/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /tmp/pip-wheel-_tgurmky --python-tag cp37: running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/fbprophet creating build/lib/fbprophet/stan_model DIAGNOSTIC(S) FROM PARSER: Warning: left-hand side variable (name=cp_idx) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing. Warning: left-hand side variable (name=m_pr) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
INFO:pystan:COMPILING THE C++ CODE FOR MODEL anon_model_861b75c6337e237650a61ae58c4385ef NOW. /home/mr_damaia/crypto_signall/env/lib/python3.7/site-packages/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/tmp0v7mtgj7/stanfit4anon_model_861b75c6337e237650a61ae58c4385ef_4690815651071468345.pyx tree = Parsing.p_module(s, pxd, full_module_name) error: command 'gcc' failed with exit status 1
Failed building wheel for fbprophet Running setup.py clean for fbprophet Failed to build fbprophet Installing collected packages: fbprophet, idna, ipython-genutils, traitlets, parso, jedi, wcwidth, prompt-toolkit, Pygments, pickleshare, ptyprocess, pexpect, ipython, jupyter-core, tornado, pyzmq , jupyter-client, ipykernel, jsonschema, nbformat, MarkupSafe, Jinja2, Send2Trash, terminado, prometheus-client, pandocfilters, mistune, testpath, nbconvert, notebook, widgetsnbextension, ipywidge ts, jupyter-console, qtconsole, jupyter, jupyterlab-server, jupyterlab, lxml, urllib3, requests, pytrends, scipy, scikit-learn, sklearn, xlrd Running setup.py install for fbprophet ... error Complete output from command /home/mr_damaia/crypto_signall/env/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-install-zliutivv/fbprophet/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-o9d214rk/install-record.txt --single-version-externally-managed --compile --install-headers /home/mr_damaia/crypto_signall/env/include/site/python3.7/fbprophet: running install running build running build_py creating build creating build/lib creating build/lib/fbprophet creating build/lib/fbprophet/stan_model DIAGNOSTIC(S) FROM PARSER: Warning: left-hand side variable (name=cp_idx) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing. Warning: left-hand side variable (name=m_pr) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
Command "/home/mr_damaia/crypto_signall/env/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-install-zliutivv/fbprophet/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-o9d214rk/install-record.txt --single-version-externally-managed --compile --install-headers /home/mr_damaia/crypto_signall/env/include/site/python3.7/fbprophet" failed with error code 1 in /tmp/pip-install-zliutivv/fbprophet/
And when I run the "python crypto_signal/manage.py runserver" this is my log:
(env) maia@bitcoinpredict:~/crypto_signall$ python crypto_signal/manage.py runserver Unhandled exception in thread started by <function check_errors..wrapper at 0x7f5a03a981e0>
Traceback (most recent call last):
File "/home/mr_damaia/crypto_signall/env/lib/python3.7/site-packages/django/utils/autoreload.py", line 225, in wr
apper
fn(*args, kwargs)
File "/home/mr_damaia/crypto_signall/env/lib/python3.7/site-packages/django/core/management/commands/runserver.py
", line 109, in inner_run
autoreload.raise_last_exception()
File "/home/mr_damaia/crypto_signall/env/lib/python3.7/site-packages/django/utils/autoreload.py", line 248, in ra
ise_last_exception
raise _exception[1]
File "/home/mr_damaia/crypto_signall/env/lib/python3.7/site-packages/django/core/management/init.py", line 33
7, in execute
autoreload.check_errors(django.setup)()
File "/home/mr_damaia/crypto_signall/env/lib/python3.7/site-packages/django/utils/autoreload.py", line 225, in wr
apper
fn(*args, *kwargs)
File "/home/mr_damaia/crypto_signall/env/lib/python3.7/site-packages/django/init.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/home/mr_damaia/crypto_signall/env/lib/python3.7/site-packages/django/apps/registry.py", line 112, in popul
ate
app_config.import_models()
File "/home/mr_damaia/cryptosignall/env/lib/python3.7/site-packages/django/apps/config.py", line 198, in import
models
fn(args, kwargs)
File "/home/mr_damaia/crypto_signall/env/lib/python3.7/site-packages/django/core/management/commands/runserver.py", line 109, in inner_run
autoreload.raise_last_exception()
File "/home/mr_damaia/crypto_signall/env/lib/python3.7/site-packages/django/utils/autoreload.py", line 248, in raise_last_exception
raise _exception[1]
File "/home/mr_damaia/crypto_signall/env/lib/python3.7/site-packages/django/core/management/init.py", line 337, in execute
autoreload.check_errors(django.setup)()
File "/home/mr_damaia/crypto_signall/env/lib/python3.7/site-packages/django/utils/autoreload.py", line 225, in wrapper
fn(*args, *kwargs)
File "/home/mr_damaia/crypto_signall/env/lib/python3.7/site-packages/django/init.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/home/mr_damaia/crypto_signall/env/lib/python3.7/site-packages/django/apps/registry.py", line 112, in populate
app_config.import_models()
File "/home/mr_damaia/crypto_signall/env/lib/python3.7/site-packages/django/apps/config.py", line 198, in import_models
self.models_module = import_module(models_module_name)
File "/home/mr_damaia/crypto_signall/env/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "/home/mr_damaia/crypto_signall/env/lib/python3.7/site-packages/django/contrib/auth/models.py", line 2, in
from django.contrib.auth.base_user import AbstractBaseUser, BaseUserManager
File "/home/mr_damaia/crypto_signall/env/lib/python3.7/site-packages/django/contrib/auth/base_user.py", line 47, in
class AbstractBaseUser(models.Model):
File "/home/mr_damaia/crypto_signall/env/lib/python3.7/site-packages/django/db/models/base.py", line 101, in new
new_class.add_to_class('_meta', Options(meta, app_label))
File "/home/mr_damaia/crypto_signall/env/lib/python3.7/site-packages/django/db/models/base.py", line 305, in add_to_class
value.contribute_to_class(cls, name)
File "/home/mr_damaia/crypto_signall/env/lib/python3.7/site-packages/django/db/models/options.py", line 203, in contribute_to_class
self.db_table = truncate_name(self.db_table, connection.ops.max_name_length())
File "/home/mr_damaia/crypto_signall/env/lib/python3.7/site-packages/django/db/init.py", line 33, in getattr
return getattr(connections[DEFAULT_DB_ALIAS], item)
File "/home/mr_damaia/crypto_signall/env/lib/python3.7/site-packages/django/db/utils.py", line 202, in getitem
backend = load_backend(db['ENGINE'])
File "/home/mr_damaia/crypto_signall/env/lib/python3.7/site-packages/django/db/utils.py", line 110, in load_backend
return import_module('%s.base' % backend_name)
File "/home/mr_damaia/crypto_signall/env/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/home/mr_damaia/crypto_signall/env/lib/python3.7/site-packages/django/db/backends/sqlite3/base.py", line 10, in
from sqlite3 import dbapi2 as Database
File "/usr/local/lib/python3.7/sqlite3/init.py", line 23, in
from sqlite3.dbapi2 import
File "/usr/local/lib/python3.7/sqlite3/dbapi2.py", line 27, in
from _sqlite3 import *
ModuleNotFoundError: No module named '_sqlite3'