There has been a lot of confusion in many of the answers and comments. Some of them said that you can just do it . activate . activate . activate . activate , some (@nme) said "You will not get the" There is no such file or directory "error, since there is only activate.bat and Activate.ps1 that both do not work."
The problem really existed, as documented in this release . And this problem was eventually fixed in January 2017 in Python 3.5.x, 3.6.x and beyond. So ONLY Python 3.5. 3+, 3.6. 1+, 3.7, released AFTER January 2017, would fix such a problem. Maybe Python 2.7. 14+ too. This means that if you are still reading this question and answer page, the first thing you need to do is check which version of Python you are using, and then probably upgrade. (For example, I ran into the same problem with one of my old Python 3.6.0 environments, and after upgrading to Python 3.7.2 the problem disappeared.)
Rayluo
source share