Installing python on Azure App Service — which tools can I use?
up vote
0
down vote
favorite
I created an App Service on Linux in Azure portal, hoping to use if as a managed Node.js
server. A simple test app works but when coming to install bip32
, or other web3
related packages I get the following error:
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
The obvious next step is to install Python
, but the machine doesn't have any of the usual tools used for installing. No apt-get
. No yum
.
Any other options I could use for installing packages?
node.js linux azure azure-web-sites
add a comment |
up vote
0
down vote
favorite
I created an App Service on Linux in Azure portal, hoping to use if as a managed Node.js
server. A simple test app works but when coming to install bip32
, or other web3
related packages I get the following error:
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
The obvious next step is to install Python
, but the machine doesn't have any of the usual tools used for installing. No apt-get
. No yum
.
Any other options I could use for installing packages?
node.js linux azure azure-web-sites
2
It seems that there is no python runtime for it. Maybe you can choose the python runtime when you create the web app on Azure.
– Charles Xu
Nov 19 at 2:29
@CharlesXu-MSFT I need to run aNode.js
app on it. So I would need to installnpm
. But I'm unable to install anything. Noapt
. Noyum
. Norpm
.
– Eddy
Nov 19 at 6:41
1
Azure Web App has the built-in runtime for NodeJS. You can try to use it.
– Charles Xu
Nov 19 at 7:17
You can specify the NodeJS runtime version by setting an application setting in the App Service on the Portal. Check out this link for supported version and more info. Link
– technogeek1995
Nov 20 at 19:45
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I created an App Service on Linux in Azure portal, hoping to use if as a managed Node.js
server. A simple test app works but when coming to install bip32
, or other web3
related packages I get the following error:
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
The obvious next step is to install Python
, but the machine doesn't have any of the usual tools used for installing. No apt-get
. No yum
.
Any other options I could use for installing packages?
node.js linux azure azure-web-sites
I created an App Service on Linux in Azure portal, hoping to use if as a managed Node.js
server. A simple test app works but when coming to install bip32
, or other web3
related packages I get the following error:
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
The obvious next step is to install Python
, but the machine doesn't have any of the usual tools used for installing. No apt-get
. No yum
.
Any other options I could use for installing packages?
node.js linux azure azure-web-sites
node.js linux azure azure-web-sites
edited Nov 19 at 7:18
Charles Xu
2,688126
2,688126
asked Nov 18 at 16:24
Eddy
1,32443656
1,32443656
2
It seems that there is no python runtime for it. Maybe you can choose the python runtime when you create the web app on Azure.
– Charles Xu
Nov 19 at 2:29
@CharlesXu-MSFT I need to run aNode.js
app on it. So I would need to installnpm
. But I'm unable to install anything. Noapt
. Noyum
. Norpm
.
– Eddy
Nov 19 at 6:41
1
Azure Web App has the built-in runtime for NodeJS. You can try to use it.
– Charles Xu
Nov 19 at 7:17
You can specify the NodeJS runtime version by setting an application setting in the App Service on the Portal. Check out this link for supported version and more info. Link
– technogeek1995
Nov 20 at 19:45
add a comment |
2
It seems that there is no python runtime for it. Maybe you can choose the python runtime when you create the web app on Azure.
– Charles Xu
Nov 19 at 2:29
@CharlesXu-MSFT I need to run aNode.js
app on it. So I would need to installnpm
. But I'm unable to install anything. Noapt
. Noyum
. Norpm
.
– Eddy
Nov 19 at 6:41
1
Azure Web App has the built-in runtime for NodeJS. You can try to use it.
– Charles Xu
Nov 19 at 7:17
You can specify the NodeJS runtime version by setting an application setting in the App Service on the Portal. Check out this link for supported version and more info. Link
– technogeek1995
Nov 20 at 19:45
2
2
It seems that there is no python runtime for it. Maybe you can choose the python runtime when you create the web app on Azure.
– Charles Xu
Nov 19 at 2:29
It seems that there is no python runtime for it. Maybe you can choose the python runtime when you create the web app on Azure.
– Charles Xu
Nov 19 at 2:29
@CharlesXu-MSFT I need to run a
Node.js
app on it. So I would need to install npm
. But I'm unable to install anything. No apt
. No yum
. No rpm
.– Eddy
Nov 19 at 6:41
@CharlesXu-MSFT I need to run a
Node.js
app on it. So I would need to install npm
. But I'm unable to install anything. No apt
. No yum
. No rpm
.– Eddy
Nov 19 at 6:41
1
1
Azure Web App has the built-in runtime for NodeJS. You can try to use it.
– Charles Xu
Nov 19 at 7:17
Azure Web App has the built-in runtime for NodeJS. You can try to use it.
– Charles Xu
Nov 19 at 7:17
You can specify the NodeJS runtime version by setting an application setting in the App Service on the Portal. Check out this link for supported version and more info. Link
– technogeek1995
Nov 20 at 19:45
You can specify the NodeJS runtime version by setting an application setting in the App Service on the Portal. Check out this link for supported version and more info. Link
– technogeek1995
Nov 20 at 19:45
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
For your issue, you could have something misunderstand. The Azure Web App Service just allow you to manage your application, do not allow you to change the running environment in the Service Plan. For example, like that, you want to install tools such as apt and npm in it.
Azure provides some built-in runtime to Web App. Just like Node.js x, Python x, etc. You can choose an appropriate one to use. Even if there is no one suitable for you, you can make your application into a Docker image and create the Web App from it. Of curse, you should make sure your application can work well in the image and you can install the tools which you need. For more details, see Use a custom Docker image for Web App for Containers. Hope this will be helpful to you.
I created a machine with Python runtime (no option for choosing 2.7, which is what my packages need) and there was no npm on the machine. I played around a bit trying to install it but honestly this process doesn't inspire confidence.
– Eddy
Nov 19 at 9:00
Perhaps, you can try the custom Docker image, you can install python 2.7 in it in the base image ubuntu or others.
– Charles Xu
Nov 19 at 9:06
@Eddy Do you solve the issue?
– Charles Xu
Nov 22 at 9:50
I moved on to other options.
– Eddy
Nov 23 at 10:38
@Eddy So what choice do you move to?
– Charles Xu
Nov 24 at 2:46
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
For your issue, you could have something misunderstand. The Azure Web App Service just allow you to manage your application, do not allow you to change the running environment in the Service Plan. For example, like that, you want to install tools such as apt and npm in it.
Azure provides some built-in runtime to Web App. Just like Node.js x, Python x, etc. You can choose an appropriate one to use. Even if there is no one suitable for you, you can make your application into a Docker image and create the Web App from it. Of curse, you should make sure your application can work well in the image and you can install the tools which you need. For more details, see Use a custom Docker image for Web App for Containers. Hope this will be helpful to you.
I created a machine with Python runtime (no option for choosing 2.7, which is what my packages need) and there was no npm on the machine. I played around a bit trying to install it but honestly this process doesn't inspire confidence.
– Eddy
Nov 19 at 9:00
Perhaps, you can try the custom Docker image, you can install python 2.7 in it in the base image ubuntu or others.
– Charles Xu
Nov 19 at 9:06
@Eddy Do you solve the issue?
– Charles Xu
Nov 22 at 9:50
I moved on to other options.
– Eddy
Nov 23 at 10:38
@Eddy So what choice do you move to?
– Charles Xu
Nov 24 at 2:46
add a comment |
up vote
1
down vote
For your issue, you could have something misunderstand. The Azure Web App Service just allow you to manage your application, do not allow you to change the running environment in the Service Plan. For example, like that, you want to install tools such as apt and npm in it.
Azure provides some built-in runtime to Web App. Just like Node.js x, Python x, etc. You can choose an appropriate one to use. Even if there is no one suitable for you, you can make your application into a Docker image and create the Web App from it. Of curse, you should make sure your application can work well in the image and you can install the tools which you need. For more details, see Use a custom Docker image for Web App for Containers. Hope this will be helpful to you.
I created a machine with Python runtime (no option for choosing 2.7, which is what my packages need) and there was no npm on the machine. I played around a bit trying to install it but honestly this process doesn't inspire confidence.
– Eddy
Nov 19 at 9:00
Perhaps, you can try the custom Docker image, you can install python 2.7 in it in the base image ubuntu or others.
– Charles Xu
Nov 19 at 9:06
@Eddy Do you solve the issue?
– Charles Xu
Nov 22 at 9:50
I moved on to other options.
– Eddy
Nov 23 at 10:38
@Eddy So what choice do you move to?
– Charles Xu
Nov 24 at 2:46
add a comment |
up vote
1
down vote
up vote
1
down vote
For your issue, you could have something misunderstand. The Azure Web App Service just allow you to manage your application, do not allow you to change the running environment in the Service Plan. For example, like that, you want to install tools such as apt and npm in it.
Azure provides some built-in runtime to Web App. Just like Node.js x, Python x, etc. You can choose an appropriate one to use. Even if there is no one suitable for you, you can make your application into a Docker image and create the Web App from it. Of curse, you should make sure your application can work well in the image and you can install the tools which you need. For more details, see Use a custom Docker image for Web App for Containers. Hope this will be helpful to you.
For your issue, you could have something misunderstand. The Azure Web App Service just allow you to manage your application, do not allow you to change the running environment in the Service Plan. For example, like that, you want to install tools such as apt and npm in it.
Azure provides some built-in runtime to Web App. Just like Node.js x, Python x, etc. You can choose an appropriate one to use. Even if there is no one suitable for you, you can make your application into a Docker image and create the Web App from it. Of curse, you should make sure your application can work well in the image and you can install the tools which you need. For more details, see Use a custom Docker image for Web App for Containers. Hope this will be helpful to you.
answered Nov 19 at 8:21
Charles Xu
2,688126
2,688126
I created a machine with Python runtime (no option for choosing 2.7, which is what my packages need) and there was no npm on the machine. I played around a bit trying to install it but honestly this process doesn't inspire confidence.
– Eddy
Nov 19 at 9:00
Perhaps, you can try the custom Docker image, you can install python 2.7 in it in the base image ubuntu or others.
– Charles Xu
Nov 19 at 9:06
@Eddy Do you solve the issue?
– Charles Xu
Nov 22 at 9:50
I moved on to other options.
– Eddy
Nov 23 at 10:38
@Eddy So what choice do you move to?
– Charles Xu
Nov 24 at 2:46
add a comment |
I created a machine with Python runtime (no option for choosing 2.7, which is what my packages need) and there was no npm on the machine. I played around a bit trying to install it but honestly this process doesn't inspire confidence.
– Eddy
Nov 19 at 9:00
Perhaps, you can try the custom Docker image, you can install python 2.7 in it in the base image ubuntu or others.
– Charles Xu
Nov 19 at 9:06
@Eddy Do you solve the issue?
– Charles Xu
Nov 22 at 9:50
I moved on to other options.
– Eddy
Nov 23 at 10:38
@Eddy So what choice do you move to?
– Charles Xu
Nov 24 at 2:46
I created a machine with Python runtime (no option for choosing 2.7, which is what my packages need) and there was no npm on the machine. I played around a bit trying to install it but honestly this process doesn't inspire confidence.
– Eddy
Nov 19 at 9:00
I created a machine with Python runtime (no option for choosing 2.7, which is what my packages need) and there was no npm on the machine. I played around a bit trying to install it but honestly this process doesn't inspire confidence.
– Eddy
Nov 19 at 9:00
Perhaps, you can try the custom Docker image, you can install python 2.7 in it in the base image ubuntu or others.
– Charles Xu
Nov 19 at 9:06
Perhaps, you can try the custom Docker image, you can install python 2.7 in it in the base image ubuntu or others.
– Charles Xu
Nov 19 at 9:06
@Eddy Do you solve the issue?
– Charles Xu
Nov 22 at 9:50
@Eddy Do you solve the issue?
– Charles Xu
Nov 22 at 9:50
I moved on to other options.
– Eddy
Nov 23 at 10:38
I moved on to other options.
– Eddy
Nov 23 at 10:38
@Eddy So what choice do you move to?
– Charles Xu
Nov 24 at 2:46
@Eddy So what choice do you move to?
– Charles Xu
Nov 24 at 2:46
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53363025%2finstalling-python-on-azure-app-service-which-tools-can-i-use%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
It seems that there is no python runtime for it. Maybe you can choose the python runtime when you create the web app on Azure.
– Charles Xu
Nov 19 at 2:29
@CharlesXu-MSFT I need to run a
Node.js
app on it. So I would need to installnpm
. But I'm unable to install anything. Noapt
. Noyum
. Norpm
.– Eddy
Nov 19 at 6:41
1
Azure Web App has the built-in runtime for NodeJS. You can try to use it.
– Charles Xu
Nov 19 at 7:17
You can specify the NodeJS runtime version by setting an application setting in the App Service on the Portal. Check out this link for supported version and more info. Link
– technogeek1995
Nov 20 at 19:45