Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

alembic-script unquoted executable path causes failure to run on windows. #357

Closed
sqlalchemy-bot opened this issue Feb 10, 2016 · 2 comments
Labels
bug Something isn't working installation

Comments

@sqlalchemy-bot
Copy link
Owner

Migrated issue, originally created by khazhyk (khazhyk)

I'm on Windows 10.

I noticed that when installing alembic through pip (version 0.8.4 as of now), when trying to run the 'alembic' command I got an error 'failed to create process.'

^ for anyone googling.

In alembic-script.py the first line is as such when it is installed:
#!c:\program files (x86)\python35-32\python.exe

This results in trying to invoke "C:\program" as the python interpreter. When the path is quoted and the line is changed to
#!"c:\program files (x86)\python35-32\python.exe"

Alembic functions as expected.

@sqlalchemy-bot
Copy link
Owner Author

Changes by khazhyk (khazhyk):

  • edited description

@sqlalchemy-bot
Copy link
Owner Author

Michael Bayer (zzzeek) wrote:

hi there -

unfortunately this is a bug in pip itself; see pypa/pip#2783 for details as well as workarounds.

@sqlalchemy-bot sqlalchemy-bot added installation bug Something isn't working labels Nov 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working installation
Projects
None yet
Development

No branches or pull requests

1 participant