0

For example , my virtual env call "venv" .

Can I remove the virtual env by just remove the "venv" folder that create by python3 -m venv .venv ? is there any other command need to type?

I delete the folder with env already before I create a new folder and env with the same name, how can I check the old one is already gone?

I am not using anaconda to create env . I am using vscode (MACOS) .https://code.visualstudio.com/docs/python/python-tutorial#_start-vs-code-in-a-project-workspace-folder

thanks.

SamLi
  • 109
  • 1
  • 10
  • I delete the folder with env already before I create a new folder and env with the same name, how can I check the old one is already gone? – SamLi Aug 11 '20 at 15:06
  • In linux type: ls In windows type: dir In terminal / cmd – null_override Aug 11 '20 at 15:08
  • sorry ,forget to mention that I am in macos – SamLi Aug 11 '20 at 15:09
  • Just use the linux one. Mac is a Unix operating system – null_override Aug 11 '20 at 15:11
  • I recover the folder from rubbish bin. And when I type ls , it show nothing in that dir. but when I open it with vs code , the "venv" folder still there. – SamLi Aug 11 '20 at 15:14
  • So I should follow the link you suggest and try the answer that with "76" upvote? – SamLi Aug 11 '20 at 15:16
  • 1
    Try every answer until your problem is fixed. In stackoverflow the answer with green tick only indicates that the person who asked the question has chosen that particular answer because it worked for him.If it doesn’t work for you, try different one. Also when asking a question please search a bit on here (Stackoverflow) – null_override Aug 11 '20 at 15:47

0 Answers0