Last answered:

08 Mar 2024

Posted on:

13 Feb 2024

0

Resolved: the commande doesn't work

When I type the command, I get this error.
c:\Users\Oumaima A
GOURRAM\python-versions\py3121\python -m venv my_env
'c:\Users\Oumaima' n’est pas reconnu en tant que commande interne
That means there's no such command. Thank you.

8 answers ( 1 marked as helpful)
Instructor
Posted on:

14 Feb 2024

0

Hey Hajar,


Thank you for reaching out!


Could you please provide a screenshot of the command prompt together with the error you are getting? Thank you.


Kind regards,

365 Hristina

Posted on:

14 Feb 2024

0

Hey Hristina,
Of course, this is the sceenshot. 
Thank you

Instructor
Posted on:

14 Feb 2024

0

Hey again Hajar,


Thank you for the screenshot.


Please, ensure that

python -m venv my_env

is not preceeded by any other text. What you should have is the following:

C:\Users\Oumaima AGOURRAM\python_projects>python -m venv my_env

 

Let me know if you've succeeded or if you've encounter other issues.

Kind regards,

365 Hristina

Posted on:

14 Feb 2024

0

Thank you for your assistance.

Instructor
Posted on:

14 Feb 2024

0

You're welcome! Enjoy the rest of the course!


Kind regards,

365 Hristina

Posted on:

02 Mar 2024

0

hello Ms Hristina,

May you help me in the same case but that command above doesn't work with me

Posted on:

02 Mar 2024

0

Hello Amal
You should just remove the path as I did before the command, will be like :
>python -m venv my_env

Posted on:

08 Mar 2024

0

thanks, Hajar that help me

Submit an answer