My python is installed in c:\python27 and my site-packages is located in C:\Python27\Lib\site-packages. The problem, that I couldn't understand, is why if I put a script called base-install.py in site-packages and call it using
C:\Users\max>python base-install.py
python: can't open file 'base-install.py': [Errno 2] No such file or directory
The second problem is that I have same issue with virtualenv. When I create it and activate it with Scripts\activate.bat, if I try to call, for example python django-admin.py(which is correctly installed in site-packages of virtenv) I have same issue:
(test2) D:\www\test2>python django-admin.py
python: can't open file 'django-admin.py': [Errno 2] No such file or directory
I am stuck with this since 2 hours and I can't get where I mess it up.