Install Python, PIP, Virtualenv, and Django on Windows 10 with PowerShell



Install Python, PIP, Virtualenv, and Django on Windows 10 with PowerShell

Related Guide:
—–

Amazing Starts Small. Learn to build great products with code.

Enroll: or Subscribe:

—–

Questions?
Suggestions?
All of my step by step projects:

My equipment:
Laptop:
4k Camera:
Drone/Aerial Video:
Flexible/Travel Tripod for DSLR: (I highly recommend this too:
General Purpose Tripod:
Webcam:
Camera Mic:
Studio Mic:
Mic Arm (for Studio):
Shock Mount (for Studio):
Phone:
Tablet (and portable external monitor) :
External Hard drives:
Headphones (mic used for travel recording):

Nguồn: https://benjaminjcohen.com/

Xem thêm bài viết khác: https://benjaminjcohen.com/cong-nghe/

43 Comments

  1. Why i get an error when creating virtualenv ?

  2. i kind of got heart attack when u skipped the pip install part ………..
    but a huge thanks for the video and keep going……………………

  3. why are you doing installation with window powershell instead of command prompt?

  4. Super Video it helped me out..thank you

  5. Excellent Tutorial, Loved it

  6. Thank you so much you are my hero

  7. hi, good day. The problem that I face is this,
    WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.

    Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.

    To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.

    May I know how to fix this

  8. can anyone help? when i use django-admin.py it doenst create the project and dont show any error message.

  9. I can't believe you jumped the "pip install virtualenv" step for us beginners. 🙁

  10. it went pretty well upto the last step .when i used python manage.py runserver. it''s giving me an synatx error that generator expression should be paranthesized. what should i do?

  11. I'am from Brazil, this tutorial me help so much!

    Great Tutorial!! Thank you!

  12. it is not creating include and tcl folder after the exicution of virtualenv

  13. it went pretty well upto the last step .when i used python manage.py runserver. it''s giving me an synatx error that generator expression should be paranthesized. what should i do?

  14. I cant activate.I'm getting this error

    ./Scripts/activate : The term './Scripts/activate' is not recognized as the name of a cmdlet, function, script file,

    or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and

    try again.

    At line:1 char:1

    + ./Scripts/activate

    + ~~~~~~~~~~~~~~~~~~

    + CategoryInfo : ObjectNotFound: (./Scripts/activate:String) [], CommandNotFoundException

    + FullyQualifiedErrorId : CommandNotFoundException

  15. I have FOUND you! I have scourged the earth to find THIS so I can do your class in freecodecamp!

  16. Sir I install virtualenvironment by cmd but i can't activate it.

  17. i'm on tutorial number 18 now, nothing works cancerous PIP fuck this shit!!!

  18. Appreciate the guide and the video. Had been stuck with getting Django to run on Windows before this.

  19. can I use Visual studio instead of SublimText

  20. thank you … finally 😉

  21. Excelenteeeeee!! Pude crear mi entorno virtual con Virtualenv, usando Python y Django en Windows 7, con su explicación! Graciasssssssss

  22. For those who have virualenv problem
    Copy this
    Python -m virtualenv .
    Next
    Pip install –user virtualenv
    Next
    Python -m virtualenv venv

  23. Not sure which, if any, of the half dozen "fixes" contributed to my success, but when python manage.py runserver did nothing, .manage.py runserver worked.

  24. Awesome video, everything is clear and very helpful. Thank you so much! 🙂

  25. When I tried "virtualenv ." I got this:
    virtualenv : The term 'virtualenv' is not recognized as the name of a cmdlet, function, script file, or operable

    program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

    At line:1 char:1

    + virtualenv .

    + ~~~~~~~~~~

    + CategoryInfo : ObjectNotFound: (virtualenv:String) [], CommandNotFoundException

    + FullyQualifiedErrorId : CommandNotFoundException

  26. This really helped me. Thank you so much

  27. This really helped me. Thank you so much

  28. This really helped me. Thank you so much

  29. super clear made ease creating my virtualenv thank you som much..subbed just because of this video crisp clear then have decided to watch the entire series of yours

  30. Hi!
    Actually this video helped me a lot regarding this django setup things.
    Thanks a lot 🙂

  31. Thank you so much! This is really really helpful.

  32. I got this error (Program 'django-admin.py' failed to run: Access is deniedAt line:1 char:1

    + django-admin.py startproject cfehome .

    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~.

    At line:1 char:1

    + django-admin.py startproject cfehome .

    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo : ResourceUnavailable: (:) [], ApplicationFailedException

    + FullyQualifiedErrorId : NativeCommandFailed) when i tried running (django-admin.py startproject cfehome .)

  33. NEED HELP!! How to fix ?? anyone??

    :Python38python : The term 'c:Python38python' is not recognized as the name of a cmdlet, function, script file,

    or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and

    try again.

    At line:1 char:1

    + c:Python38python manage.py runserver

    + ~~~~~~~~~~~~~~~~~~

    + CategoryInfo : ObjectNotFound: (c:Python38python:String) [], CommandNotFoundException

    + FullyQualifiedErrorId : CommandNotFoundException

  34. I've tried like 6 times from zero and all the times I get the same error message whenever I write "pipenv", I've been stuck on it for 2 days, does someone can help me, please?

    PS C:usersoxihomedevcfehomesrc> pipenv install django==2.2 –python 3.7

    pipenv : El término 'pipenv' no se reconoce como nombre de un cmdlet, función, archivo de script o programa
    ejecutable. Compruebe si escribió correctamente el nombre o, si incluyó una ruta de acceso, compruebe que dicha rutaes correcta e inténtelo de nuevo.

    En línea: 1 Carácter: 1

    + pipenv install django==2.2 –python 3.7

    + ~~~~~~

    + CategoryInfo : ObjectNotFound: (pipenv:String) [], CommandNotFoundException

    + FullyQualifiedErrorId : CommandNotFoundException

  35. after giving python manage.py runserver it give me SyntaxxError: Generator expression must be parenthesized

  36. Should I still get the 3.6 version even though the 3.8 is out. For tutorial purposes are they interchangeable?

  37. getting an error after doing "python manage.py runserver"….its showing syntax error

  38. I keep getting the error message when I type the command python -V, in the powershell, but when I do type in the powershell(admin), it works properly. any hint please?

  39. facing this error:
    (erranzermelaa) PS C:UsersPallavideverranzermelaasrc> python manage.py runserver

    Unhandled exception in thread started by <function check_errors.<locals>.wrapper at 0x03DB9CD8>

    Traceback (most recent call last):

    File "C:UsersPallavideverranzermelaalibsite-packagesdjangoutilsautoreload.py", line 228, in wrapper

    fn(*args, **kwargs)

    File "C:UsersPallavideverranzermelaalibsite-packagesdjangocoremanagementcommandsrunserver.py", line 117, in inner_run

    autoreload.raise_last_exception()

    File "C:UsersPallavideverranzermelaalibsite-packagesdjangoutilsautoreload.py", line 251, in raise_last_exception

    six.reraise(*_exception)

    File "C:UsersPallavideverranzermelaalibsite-packagesdjangoutilssix.py", line 685, in reraise

    raise value.with_traceback(tb)

    File "C:UsersPallavideverranzermelaalibsite-packagesdjangoutilsautoreload.py", line 228, in wrapper

    fn(*args, **kwargs)

    File "C:UsersPallavideverranzermelaalibsite-packagesdjango__init__.py", line 27, in setup

    apps.populate(settings.INSTALLED_APPS)

    File "C:UsersPallavideverranzermelaalibsite-packagesdjangoappsregistry.py", line 85, in populate

    app_config = AppConfig.create(entry)

    File "C:UsersPallavideverranzermelaalibsite-packagesdjangoappsconfig.py", line 94, in create

    module = import_module(entry)

    File "C:UsersPallavideverranzermelaalibimportlib__init__.py", line 127, in import_module

    return _bootstrap._gcd_import(name[level:], package, level)

    File "<frozen importlib._bootstrap>", line 1006, in _gcd_import

    File "<frozen importlib._bootstrap>", line 983, in _find_and_load

    File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked

    File "<frozen importlib._bootstrap>", line 677, in _load_unlocked

    File "<frozen importlib._bootstrap_external>", line 728, in exec_module

    File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed

    File "C:UsersPallavideverranzermelaalibsite-packagesdjangocontribadmin__init__.py", line 4, in <module>

    from django.contrib.admin.filters import (

    File "C:UsersPallavideverranzermelaalibsite-packagesdjangocontribadminfilters.py", line 10, in <module>

    from django.contrib.admin.options import IncorrectLookupParameters

    File "C:UsersPallavideverranzermelaalibsite-packagesdjangocontribadminoptions.py", line 12, in <module>

    from django.contrib.admin import helpers, widgets

    File "C:UsersPallavideverranzermelaalibsite-packagesdjangocontribadminwidgets.py", line 151

    '%s=%s' % (k, v) for k, v in params.items(),

    ^

    SyntaxError: Generator expression must be parenthesized

Leave a Reply

Your email address will not be published. Required fields are marked *