A
A
Alex --2022-04-05 11:39:34
Django
Alex --, 2022-04-05 11:39:34

Activating the virtual environment, why doesn't it work?

Unable to activate virtual environment. Photo below. Why doesn't it recognize source?
624c001fc2fef047952185.jpeg
At the moment I'm studying, so I don't understand the nuances well. I would be grateful if you explain in simple language or throw off a link to the article, I will also additionally scour the network so as not to leave the question only on your shoulders.
---
update:

(ll_env) PS C:\Users\afoni\python_work\learning_log> "C:\Users\afoni\python_work\learning_log\ll_env\Scripts\django-admin.exe" startproject learning_log.
line:1 character:75
+ ... rk\learning_log\ll_env\Scripts\django-admin.exe" startproject learnin ...
+ ~~~~~~~~~~~
Unexpected token "startproject" in expression or + CategoryInfo : ParserError
: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnexpectedToken


Tell me more if it's not difficult, I want to create a file in django, but there were a couple of difficulties, first with django-admin, I managed to solve it by specifying the absolute path.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
soremix, 2022-04-05
@Afonia633

This is a Linux command, for windows there is a turned file or a batch file.
So they just need to be executed from the console.
https://docs.python.org/3/library/venv.html
624c01563d477459819763.jpeg

A
Alex --, 2022-04-05
@Afonia633

624c01e37fdee236792545.jpeg
Found the answer here
It turned out to quickly find the answer

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question