How to Resolve NotFound Errors in the Source Command in Enabling a Virtual Environment

Asked 5 months ago, Updated 5 months ago, 12 views

python-mvenv<virtual space name>

Create a Virtual Space in

source<virtual space name>/bin/activate 

What should I do if the source command becomes NotFound when I try to type and enable it?
Please let me know if you understand.

python python3 python-venv

2022-09-30 11:22

1 Answers

The source command does not exist in shells such as dash (the shell used in recent Ubuntu /bin/sh.Use the . command instead.Or use bash or zsh instead of dash.

Also, if you are using a Windows environment, the commands are different. has a platform-specific list for your reference.

2022-09-30 11:22

If you have any answers or tips

© 2023 OneMinuteCode. All rights reserved.