I have a dual boot windows and ubuntu machine. When working from windows, I sometimes use a vagrant based virtual machine. To access this I use Git Bash which is a command line prompt that enables linux like interaction with the Vagrant VM. When trying to install erpnext on Git Bash, after installing bench and running the command:
bench init --frappe-branch master
I received an error (something like this):
New python executable in .vagrant-env/bin/python
Traceback (most recent call last):
File â/usr/local/bin/virtualenvâ, line 9, in
load_entry_point(âvirtualenv==1.11.6â, âconsole_scriptsâ, âvirtualenvâ)()
File â/usr/local/lib/python2.7/dist-packages/virtualenv.pyâ, line 824, in main
symlink=options.symlink)
File â/usr/local/lib/python2.7/dist-packages/virtualenv.pyâ, line 984, in create_environment
site_packages=site_packages, clear=clear, symlink=symlink))
File â/usr/local/lib/python2.7/dist-packages/virtualenv.pyâ, line 1404, in install_python
os.symlink(py_executable_base, full_pth)
OSError: [Errno 71] Protocol error
Turns out the solution is available here . You need to run git bash as administrator and then run vagrant up to configure and start the VM.
Couldnât find anything on this in the forum so creating this topic and marking and solved for future lost souls!