Mar-29-2020, 12:08 PM
REPL means?
Regarding building a website
|
Mar-29-2020, 12:08 PM
REPL means?
Mar-29-2020, 12:09 PM
Read Eval Print Loop, i.e. the Python shell.
i tried to install Django but it is not getting installed whereas I have already installed python and pycharm and python idle 64 bit 3.8
i am not sure what can i do now?
I'm not sure what to suggest without more information. Perhaps you can try to get more information from Python when you're doing the install:
1. Find out if pip has a flag for more verbose output. It probably does, but I'm not sure what it is - check the docs. 2. Print out the exit code that Python returns to the shell after the command has completed. A non-zero value usually indicates a problem. I'm not sure how you get the exit code on Windows, but you can look that up. Have you had difficulty installing other libraries?
Mar-29-2020, 03:40 PM
No I never installed other libs just installed latest version of python and community version og pycharm.
1) how can i find out "f pip has a flag for more verbose output. It probably does? 2) how can i " Print out the exit code that Python returns to the shell after the command has completed. A non-zero value usually indicates a problem. I'm not sure how you get the exit code on Windows, but you can look that up."
Mar-29-2020, 03:44 PM
1. Read the documentation.
2. Find out - the Internet is a wonderful resource.
Mar-29-2020, 03:48 PM
(Mar-29-2020, 03:40 PM)jk91 Wrote: No I never installed other libs just installed latest version of python and community version og pycharm. did you mean to say attached error which i am getting in pycharm community edition.
No, there is no error there and besides, that's irrelevant - I don't see what it has to do with trying to install Django. The goal is to try and understand where the installation is failing, if it is.
Are you using a virtual environment? Perhaps try installing Django in that if so.
Mar-29-2020, 06:01 PM
(Mar-29-2020, 03:49 PM)ndc85430 Wrote: No, there is no error there and besides, that's irrelevant - I don't see what it has to do with trying to install Django. The goal is to try and understand where the installation is failing, if it is. tried in powershell as well but please see attached screen shot error.
Mar-29-2020, 06:53 PM
python is not in Windows path look at Python 3.8 (3.6-3.7) and pip installation under WindowsAnd you don't need virtualenvwrapper-win ,Python come with virtual environment venv build in. # Make C:\code>python -m venv django_env # Cd in C:\code>cd django_env # Activate see (django_env) C:\code\django_env>C:\code\django_env\Scripts\Activate # Install (django_env) C:\code\django_env>pip install django Collecting django ..... Successfully installed django-3.0.4 (django_env) C:\code\django_env> |
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
How to get this function using Django in building a website? | py2exe | 0 | 2,992 |
Jul-25-2018, 09:56 AM Last Post: py2exe |