.
Traceback (most recent call last):
File "/home/nipponApi/.virtualenvs/nipponapi.pythonanywhere.com/lib/python3.6/site-packages/django/db/backends/base/base.py", line 220, in ensure_connection
self.connect()
File "/home/nipponApi/.virtualenvs/nipponapi.pythonanywhere.com/lib/python3.6/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
File "/home/nipponApi/.virtualenvs/nipponapi.pythonanywhere.com/lib/python3.6/site-packages/django/db/backends/base/base.py", line 197, in connect
self.connection = self.get_new_connection(conn_params)
File "/home/nipponApi/.virtualenvs/nipponapi.pythonanywhere.com/lib/python3.6/site-packages/sql_server/pyodbc/base.py", line 314, in get_new_connection
timeout=timeout)
pyodbc.Error: ('01000', "[01000] [unixODBC][Driver Manager]Can't open lib 'ODBC Driver 13 for SQL Server' : file not found (0) (SQLDriverConnect)")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "manage.py", line 22, in <module>
main()
File "manage.py", line 18, in main
execute_from_command_line(sys.argv)
File "/home/nipponApi/.virtualenvs/nipponapi.pythonanywhere.com/lib/python3.6/site-packages/django/core/management/__init__.py", line 401, in execute_from_command_line
utility.execute()
File "/home/nipponApi/.virtualenvs/nipponapi.pythonanywhere.com/lib/python3.6/site-packages/django/core/management/__init__.py", line 395, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/nipponApi/.virtualenvs/nipponapi.pythonanywhere.com/lib/python3.6/site-packages/django/core/management/base.py", line 328, in run_from_argv
self.execute(*args, **cmd_options)
File "/home/nipponApi/.virtualenvs/nipponapi.pythonanywhere.com/lib/python3.6/site-packages/django/core/management/base.py", line 369, in execute
output = self.handle(*args, **options)
File "/home/nipponApi/.virtualenvs/nipponapi.pythonanywhere.com/lib/python3.6/site-packages/django/core/management/base.py", line 83, in wrapped
res = handle_func(*args, **kwargs)
File "/home/nipponApi/.virtualenvs/nipponapi.pythonanywhere.com/lib/python3.6/site-packages/django/core/management/commands/migrate.py", line 86, in handle
executor = MigrationExecutor(connection, self.migration_progress_callback)
File "/home/nipponApi/.virtualenvs/nipponapi.pythonanywhere.com/lib/python3.6/site-packages/django/db/migrations/executor.py", line 18, in __init__
self.loader = MigrationLoader(self.connection)
File "/home/nipponApi/.virtualenvs/nipponapi.pythonanywhere.com/lib/python3.6/site-packages/django/db/migrations/loader.py", line 49, in __init__
self.build_graph()
File "/home/nipponApi/.virtualenvs/nipponapi.pythonanywhere.com/lib/python3.6/site-packages/django/db/migrations/loader.py", line 212, in build_graph
self.applied_migrations = recorder.applied_migrations()
File "/home/nipponApi/.virtualenvs/nipponapi.pythonanywhere.com/lib/python3.6/site-packages/django/db/migrations/recorder.py", line 76, in applied_migrations
if self.has_table():
File "/home/nipponApi/.virtualenvs/nipponapi.pythonanywhere.com/lib/python3.6/site-packages/django/db/migrations/recorder.py", line 56, in has_table
return self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor())
File "/home/nipponApi/.virtualenvs/nipponapi.pythonanywhere.com/lib/python3.6/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
File "/home/nipponApi/.virtualenvs/nipponapi.pythonanywhere.com/lib/python3.6/site-packages/django/db/backends/base/base.py", line 260, in cursor
return self._cursor()
File "/home/nipponApi/.virtualenvs/nipponapi.pythonanywhere.com/lib/python3.6/site-packages/sql_server/pyodbc/base.py", line 218, in _cursor
conn = super()._cursor()
File "/home/nipponApi/.virtualenvs/nipponapi.pythonanywhere.com/lib/python3.6/site-packages/django/db/backends/base/base.py", line 236, in _cursor
self.ensure_connection()
File "/home/nipponApi/.virtualenvs/nipponapi.pythonanywhere.com/lib/python3.6/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
File "/home/nipponApi/.virtualenvs/nipponapi.pythonanywhere.com/lib/python3.6/site-packages/django/db/backends/base/base.py", line 220, in ensure_connection
self.connect()
File "/home/nipponApi/.virtualenvs/nipponapi.pythonanywhere.com/lib/python3.6/site-packages/django/db/utils.py", line 90, in __exit__
raise dj_exc_value.with_traceback(traceback) from exc_value
File "/home/nipponApi/.virtualenvs/nipponapi.pythonanywhere.com/lib/python3.6/site-packages/django/db/backends/base/base.py", line 220, in ensure_connection
self.connect()
File "/home/nipponApi/.virtualenvs/nipponapi.pythonanywhere.com/lib/python3.6/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
File "/home/nipponApi/.virtualenvs/nipponapi.pythonanywhere.com/lib/python3.6/site-packages/django/db/backends/base/base.py", line 197, in connect
self.connection = self.get_new_connection(conn_params)
File "/home/nipponApi/.virtualenvs/nipponapi.pythonanywhere.com/lib/python3.6/site-packages/sql_server/pyodbc/base.py", line 314, in get_new_connection
timeout=timeout)
django.db.utils.Error: ('01000', "[01000] [unixODBC][Driver Manager]Can't open lib 'ODBC Driver 13 for SQL Server' : file not found (0) (SQLDriverConnect)")