Reputation: 367
I'm trying to deploy a Flak Restful API to azure. I have set up continuous deployment with a Github repo.
The deployment is failing on one of the requirements.txt
returning the following error:
ValueError: ('Expected version spec in', 'azure-common ~=1.1.4', 'at', ' ~=1.1.4')
The application is running fine locally. I'm new to the Azure platform and the config and deploy files are quite confusing I'm not sure if the problem is with these or the package in the virtual environment.
Upvotes: 0
Views: 265
Reputation: 3546
You need to update pip, as I guess the version is old enough to do not support the "~=" syntax in the setup.py of the packages you install.
For examples:
Upvotes: 1