As an NLP Engineer, creating virtual environment is part of my daily life. Till now I have created many projects and with many projects, I have created multiple envs for them. Here are some mistakes I did while creating them.
There are time where I created virtual enviorment with name containing spaces, they seem to work as usual, but I have found that this is not a good practice.
- First of all they do not seem to be good developer practice
- pip command may not work
- You will not able to add that virtual enviorment to your jupyter notebook
I know these seems to be a bit weird, but I have faced problems. For each project I created a virtual enviorment in the same directory. These increases my folder size and while copying that folder to a drive it env also gets copied which increase time as env contains many files. So try to create a folder in other directory specially for virtual envoirments.
I face manily these two problem, but If you have faced other problem please do mention in the comments.