hi,
I highly suggest you to check the django-girls tutorial (search for it) for
newbies (at least it worked for me).
It has the more detailed steps to help you understand during your initial
phase.

regards,
Gerardo.

--
Gerardo Palazuelos Guerrero


On Fri, Jun 22, 2018 at 8:48 AM, Quiosa Evaristo <
[email protected]> wrote:

>
> Hello!
>
> I am learning python, I have installed it in my computer it is running
> very well.
> I have installed django version 1.11.13 whenever I try to run the server
> it triggers the error bellow:
>
> Performing system checks...
>
> System check identified no issues (0 silenced).
> Unhandled exception in thread started by <function
> check_errors.<locals>.wrapper at 0x10d311268>
> Traceback (most recent call last):
>   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/
> python3.7/site-packages/django/db/backends/base/base.py", line 216, in
> ensure_connection
>     self.connect()
>   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/
> python3.7/site-packages/django/db/backends/base/base.py", line 194, in
> connect
>     self.connection = self.get_new_connection(conn_params)
>   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/
> python3.7/site-packages/django/db/backends/sqlite3/base.py", line 162, in
> get_new_connection
>     conn = Database.connect(**conn_params)
> sqlite3.OperationalError: unable to open database file
>
> The above exception was the direct cause of the following exception:
>
> Traceback (most recent call last):
>   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/
> python3.7/site-packages/django/utils/autoreload.py", line 225, in wrapper
>     fn(*args, **kwargs)
>   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/
> python3.7/site-packages/django/core/management/commands/runserver.py",
> line 123, in inner_run
>     self.check_migrations()
>   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/
> python3.7/site-packages/django/core/management/base.py", line 427, in
> check_migrations
>     executor = MigrationExecutor(connections[DEFAULT_DB_ALIAS])
>   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/
> python3.7/site-packages/django/db/migrations/executor.py", line 18, in
> __init__
>     self.loader = MigrationLoader(self.connection)
>   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/
> python3.7/site-packages/django/db/migrations/loader.py", line 49, in
> __init__
>     self.build_graph()
>   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/
> python3.7/site-packages/django/db/migrations/loader.py", line 206, in
> build_graph
>     self.applied_migrations = recorder.applied_migrations()
>   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/
> python3.7/site-packages/django/db/migrations/recorder.py", line 61, in
> applied_migrations
>     if self.has_table():
>   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/
> python3.7/site-packages/django/db/migrations/recorder.py", line 44, in
> has_table
>     return self.Migration._meta.db_table in self.connection.introspection.
> table_names(self.connection.cursor())
>   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/
> python3.7/site-packages/django/db/backends/base/base.py", line 255, in
> cursor
>     return self._cursor()
>   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/
> python3.7/site-packages/django/db/backends/base/base.py", line 232, in
> _cursor
>     self.ensure_connection()
>   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/
> python3.7/site-packages/django/db/backends/base/base.py", line 216, in
> ensure_connection
>     self.connect()
>   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/
> python3.7/site-packages/django/db/utils.py", line 89, in __exit__
>     raise dj_exc_value.with_traceback(traceback) from exc_value
>   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/
> python3.7/site-packages/django/db/backends/base/base.py", line 216, in
> ensure_connection
>     self.connect()
>   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/
> python3.7/site-packages/django/db/backends/base/base.py", line 194, in
> connect
>     self.connection = self.get_new_connection(conn_params)
>   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/
> python3.7/site-packages/django/db/backends/sqlite3/base.py", line 162, in
> get_new_connection
>     conn = Database.connect(**conn_params)
> django.db.utils.OperationalError: unable to open database file
>
> Please I want some body to help me
>
>
> *WARNING: The information contained in this communication may be
> confidential, is intended only for the use of the recipient named above,
> and may be legally privileged. If the reader of this message is not the
> intended recipient, you are hereby notified that any dissemination,
> distribution, or copying of this communication, or any of its contents, is
> strictly prohibited. If you have received this communication in error,
> please re-send this communication to the sender and delete the original
> message and any copy of it from your computer system.*
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/9a50a1a6-ea4f-46cd-92eb-05a086d77276%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/9a50a1a6-ea4f-46cd-92eb-05a086d77276%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJ8iCyOFxx5DvoOd7LiqSHJOvcsEQZFCc3U6mDQ37crBKB-Ycg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to