django-bower icon indicating copy to clipboard operation
django-bower copied to clipboard

OSError 193 when trying to install

Open pendraggon87 opened this issue 10 years ago • 2 comments

I receive an error %1 is not a valid Win32 application when running bower_install.

Here is a sample of my settings:

STATIC_URL = '/static/' STATICFILES_FINDERS = ( "django.contrib.staticfiles.finders.FileSystemFinder", "django.contrib.staticfiles.finders.AppDirectoriesFinder", "djangobower.finders.BowerFinder",)

Bower

BOWER_COMPONENTS_ROOT= '/components/' BOWER_PATH = 'c:/Users/Aaron Katz/AppData/Roaming/npm/bower' BOWER_INSTALLED_APPS = ( 'jquery' )

Any thoughts as to why I am getting that error?

pendraggon87 avatar May 15 '14 06:05 pendraggon87

I'm with the same problem, @pendraggon87 have you found a solution?

jonmagal avatar Apr 05 '17 20:04 jonmagal

Just hit the same problem. It seems using subprocess with shell=True resolves the problem. I've set a pull requests.

tgrandje avatar Jan 04 '22 10:01 tgrandje