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

cant run command: sudo apt-get python3.6-dev #70

Open
theHoneyBadge opened this issue Apr 23, 2021 · 0 comments
Open

cant run command: sudo apt-get python3.6-dev #70

theHoneyBadge opened this issue Apr 23, 2021 · 0 comments

Comments

@theHoneyBadge
Copy link

Hi there,

I cannot deploy due to needing some c compiler files that are available in python3.6-dev
You cannot pip install them so you must apt-get.
The Actions deployment complains about stability of the cli etc.
What is the correct way to get this installed so I can take care of the dependencies that keep breaking in my requirements.txt

My yaml is as follows:
.github/workflows/master-appName(production).yml

    name: Azure App Service - appName(Production), Build and deploy Python app
    
    on:
      push:
        branches:
          - master
    
    jobs:
      build-and-deploy:
        runs-on: ubuntu-latest
    
        steps:
        # checkout the repo
        - name: 'Checkout Github Action'
          uses: actions/checkout@master
    
    
        - name: Set up Python version
          uses: actions/setup-python@v1
          with:
            python-version: '3.6'
    
        - name: apt get python 3.6-dev and shap
          run: |
            sudo apt-get install python3.6-dev
            pip install shap
    
        - name: Build using AppService-Build
          uses: azure/appservice-build@v2
          with:
            platform: python
            platform-version: '3.6'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant