-
-
Save gmocamilotd/fd99f46b68a1c0d2bcb199e1f5ed9025 to your computer and use it in GitHub Desktop.
como instalar django y luego mysqlClient
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Installing an official release manually | |
1. Download the latest release | |
2. Untar the downloaded file (e.g. tar xzvf Django-X.Y.tar.gz, where X.Y is the version number of the latest release). | |
If you’re using Windows, you can download the command-line tool bsdtar to do this, or you can use a GUI-based tool such as 7-zip. | |
3. Change into the directory created in step 2 (e.g. cd Django-X.Y). | |
4. Start a command shell with administrator privileges and run the command 'python setup.py install' | |
This will install Django in your Python installation’s site-packages directory. | |
that's it | |
Verifying¶ | |
To verify that Django can be seen by Python, type python from your shell. Then at the Python prompt, try to import Django: | |
>>> import django | |
>>> print(django.get_version()) | |
2.2 | |
PARA INSTALAR EL MYSQLClient | |
en la linea de comandos DE CUALQUIER DIRECTORIO colocar el comando | |
pip install mysqlclient | |
Esto escarga e instala los archivos en las carpetas respectivas de python | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Muchísimas gracias! Me sirvió un montón