Hi, I used the ---nuke when --python=3.8 didn't work out for me but it still didn't activate my virtualenv. What should I do. Am still getting this error. In the output, its saying removing oidowu.pythonanywhere.com
23:03 ~ $ pa_autoconfigure_django.py --python=3.8 https://github.com/Oluwatosin-svg/my-fi
rst-blog.git
< Running API sanity checks >
\
~<:>>>>>>>>>
Traceback (most recent call last):
File "/home/oidowu3/.local/bin/pa_autoconfigure_django.py", line 49, in <module>
main(
File "/home/oidowu3/.local/bin/pa_autoconfigure_django.py", line 30, in main
project.sanity_checks(nuke=nuke)
File "/home/oidowu3/.local/lib/python3.8/site-packages/pythonanywhere/project.py", line
24, in sanity_checks
self.webapp.sanity_checks(nuke=nuke)
File "/home/oidowu3/.local/lib/python3.8/site-packages/pythonanywhere/api/webapp.py", l
ine 40, in sanity_checks
raise SanityException(
pythonanywhere.exceptions.SanityException: You already have a webapp for oidowu3.pythonan
ywhere.com.
Use the --nuke option if you want to replace it.
23:05 ~ $ pa_autoconfigure_django.py --nuke https://github.com/Oluwatosin-svg/my-first-bl
og.git
< Running API sanity checks >
\
~<:>>>>>>>>>
Cloning into '/home/oidowu3/oidowu3.pythonanywhere.com'...
remote: Enumerating objects: 8766, done.
remote: Counting objects: 100% (8766/8766), done.
remote: Compressing objects: 100% (5586/5586), done.
remote: Total 8766 (delta 2121), reused 8766 (delta 2121), pack-reused 0
Receiving objects: 100% (8766/8766), 13.21 MiB | 24.50 MiB/s, done.
Resolving deltas: 100% (2121/2121), done.
Updating files: 100% (6468/6468), done.
< Creating virtualenv with Python3.6 >
\
~<:>>>>>>>>>
Removing oidowu3.pythonanywhere.com...
created virtual environment CPython3.6.13.final.0-64 in 14354ms
creator CPython3Posix(dest=/home/oidowu3/.virtualenvs/oidowu3.pythonanywhere.com, clear
=False, no_vcs_ignore=False, global=False)
seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=cop
y, app_data_dir=/home/oidowu3/.local/share/virtualenv)
added seed packages: pip==21.1.2, setuptools==57.0.0, wheel==0.36.2
activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActiva
tor,XonshActivator
virtualenvwrapper.user_scripts creating /home/oidowu3/.virtualenvs/oidowu3.pythonanywhere
.com/bin/predeactivate
virtualenvwrapper.user_scripts creating /home/oidowu3/.virtualenvs/oidowu3.pythonanywhere
.com/bin/postdeactivate
virtualenvwrapper.user_scripts creating /home/oidowu3/.virtualenvs/oidowu3.pythonanywhere
.com/bin/preactivate
virtualenvwrapper.user_scripts creating /home/oidowu3/.virtualenvs/oidowu3.pythonanywhere
.com/bin/postactivate
virtualenvwrapper.user_scripts creating /home/oidowu3/.virtualenvs/oidowu3.pythonanywhere
.com/bin/get_env_details
___________________________________________________________________
/ \
| Pip installing -r |
| /home/oidowu3/oidowu3.pythonanywhere.com/requirements.txt (this may |
| take a couple of minutes) |
\ /
-------------------------------------------------------------------
\
~<:>>>>>>>>>
Looking in links: /usr/share/pip-wheels
Collecting Django~=3.2.10
Downloading Django-3.2.14-py3-none-any.whl (7.9 MB)
|████████████████████████████████| 7.9 MB 19.5 MB/s
Collecting asgiref<4,>=3.3.2
Downloading asgiref-3.4.1-py3-none-any.whl (25 kB)
Collecting pytz
Downloading pytz-2022.1-py2.py3-none-any.whl (503 kB)
|████████████████████████████████| 503 kB 15.6 MB/s
Collecting sqlparse>=0.2.2
Using cached sqlparse-0.4.2-py3-none-any.whl (42 kB)
Collecting typing-extensions
Downloading typing_extensions-4.1.1-py3-none-any.whl (26 kB)
Installing collected packages: typing-extensions, sqlparse, pytz, asgiref, Django
Successfully installed Django-3.2.14 asgiref-3.4.1 pytz-2022.1 sqlparse-0.4.2 typing-exte
nsions-4.1.1
< Creating web app via API >
\
~<:>>>>>>>>>
< Adding static files mappings for /static/ and /media/ >
\
~<:>>>>>>>>>
< Updating wsgi file at /var/www/oidowu3_pythonanywhere_com_wsgi.py >
\
~<:>>>>>>>>>
< Updating settings.py >
\
~<:>>>>>>>>>
< Running collectstatic >
\
~<:>>>>>>>>>
128 static files copied to '/home/oidowu3/oidowu3.pythonanywhere.com/static'.
< Running migrate database >
\
~<:>>>>>>>>>
Traceback (most recent call last):
File "/home/oidowu3/oidowu3.pythonanywhere.com/manage.py", line 22, in <module>
main()
File "/home/oidowu3/oidowu3.pythonanywhere.com/manage.py", line 18, in main
execute_from_command_line(sys.argv)
File "/home/oidowu3/.virtualenvs/oidowu3.pythonanywhere.com/lib/python3.6/site-packages
/django/core/management/__init__.py", line 419, in execute_from_command_line
utility.execute()
File "/home/oidowu3/.virtualenvs/oidowu3.pythonanywhere.com/lib/python3.6/site-packages
/django/core/management/__init__.py", line 413, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/oidowu3/.virtualenvs/oidowu3.pythonanywhere.com/lib/python3.6/site-packages
/django/core/management/base.py", line 354, in run_from_argv
self.execute(*args, **cmd_options)
File "/home/oidowu3/.virtualenvs/oidowu3.pythonanywhere.com/lib/python3.6/site-packages
/django/core/management/base.py", line 398, in execute
output = self.handle(*args, **options)
File "/home/oidowu3/.virtualenvs/oidowu3.pythonanywhere.com/lib/python3.6/site-packages
/django/core/management/base.py", line 89, in wrapped
File "/home/oidowu3/.virtualenvs/oidowu3.pythonanywhere.com/lib/python3.6/site-packages
/django/urls/resolvers.py", line 602, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "/home/oidowu3/.virtualenvs/oidowu3.pythonanywhere.com/lib/python3.6/site-packages
/django/utils/functional.py", line 48, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "/home/oidowu3/.virtualenvs/oidowu3.pythonanywhere.com/lib/python3.6/site-packages
/django/urls/resolvers.py", line 595, in urlconf_module
return import_module(self.urlconf_name)
File "/usr/local/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/oidowu3/oidowu3.pythonanywhere.com/mysite/urls.py", line 21, in <module>
path('', include('blog.urls')),
NameError: name 'include' is not defined
Traceback (most recent call last):
File "/home/oidowu3/.local/bin/pa_autoconfigure_django.py", line 49, in <module>
main(
File "/home/oidowu3/.local/bin/pa_autoconfigure_django.py", line 40, in main
project.run_migrate()
File "/home/oidowu3/.local/lib/python3.8/site-packages/pythonanywhere/django_project.py
", line 132, in run_migrate
subprocess.check_call([
File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/home/oidowu3/.virtualenvs/oidowu3.pythonanywhe
re.com/bin/python', '/home/oidowu3/oidowu3.pythonanywhere.com/manage.py', 'migrate']' ret
urned non-zero exit status 1.