Skip to content

Instantly share code, notes, and snippets.

@gmocamilotd
Last active December 18, 2023 17:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gmocamilotd/fd99f46b68a1c0d2bcb199e1f5ed9025 to your computer and use it in GitHub Desktop.
Save gmocamilotd/fd99f46b68a1c0d2bcb199e1f5ed9025 to your computer and use it in GitHub Desktop.
como instalar django y luego mysqlClient
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
@MatiasLopz
Copy link

Muchísimas gracias! Me sirvió un montón

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment