text instalardjangodespuésdepython

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text instalardjangodespuésdepython相关的知识,希望对你有一定的参考价值。

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

以上是关于text instalardjangodespuésdepython的主要内容,如果未能解决你的问题,请参考以下文章