Comments (1)
I think your Docker image is missing pkg-config: RUN apt-get update && apt-get install -y pkg-config
It's actually saying:
Processing triggers for libc-bin (2.31-0ubuntu9.9) ...', 'Removing intermediate container f888e18c8de7', ' ---> 4831587376f2', 'Step 5/11 : RUN pip3 install flask flask-sqlalchemy mysqlclient', '', ' ---> Running in 1a76c1360c0e', 'Collecting flask', ' Downloading Flask-2.3.2-py3-none-any.whl (96 kB)', 'Collecting flask-sqlalchemy', ' Downloading flask_sqlalchemy-3.0.5-py3-none-any.whl (24 kB)', 'Collecting mysqlclient', ' Downloading mysqlclient-2.2.0.tar.gz (89 kB)', ' Installing build dependencies: started', \" Installing build dependencies: finished with status 'done'\", ' Getting requirements to build wheel: started', \" Getting requirements to build wheel: finished with status 'error'\", '\\x1b[91m ERROR: Command errored out with exit status 1:', ' command: /usr/bin/python3 /tmp/tmpii9tb_rv get_requires_for_build_wheel /tmp/tmpzxzyq3qq', ' cwd: /tmp/pip-install-d_w8211m/mysqlclient', ' Complete output (24 lines):', ' /bin/sh: 1: pkg-config: not found', ' /bin/sh: 1: pkg-config: not found', ' Trying pkg-config --exists mysqlclient', \" Command 'pkg-config --exists mysqlclient' returned non-zero exit status 127.\", ' Trying pkg-config --exists mariadb', \" Command 'pkg-config --exists mariadb' returned non-zero exit status 127.\", ' Traceback (most recent call last):', ' File \"/tmp/tmpii9tb_rv\", line 280, in <module>', ' main()', ' File \"/tmp/tmpii9tb_rv\", line 263, in main', \" json_out['return_val'] = hook(**hook_input['kwargs'])\", ' File \"/tmp/tmpii9tb_rv\", line 114, in get_requires_for_build_wheel', ' return hook(config_settings)', ' File \"/tmp/pip-build-env-i1f59vry/overlay/lib/python3.8/site-packages/setuptools/build_meta.py\", line 341, in get_requires_for_build_wheel', \" return self._get_build_requires(config_settings, requirements=['wheel'])\", ' File \"/tmp/pip-build-env-i1f59vry/overlay/lib/python3.8/site-packages/setuptools/build_meta.py\", line 323, in _get_build_requires', ' self.run_setup()', ' File \"/tmp/pip-build-env-i1f59vry/overlay/lib/python3.8/site-packages/setuptools/build_meta.py\", line 338, in run_setup', ' exec(code, locals())', ' File \"<string>\", line 154, in <module>', ' File \"<string>\", line 48, in get_config_posix', ' File \"<string>\", line 27, in find_package_name', ' Exception: Can not find valid pkg-config name.', ' Specify MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS env vars manually', ' ----------------------------------------', '\\x1b[0m', '\\x1b[91mERROR: Command errored out with exit status 1: /usr/bin/python3 /tmp/tmpii9tb_rv get_requires_for_build_wheel /tmp/tmpzxzyq3qq Check the logs for full command output.', '\\x1b[0m', 'Removing intermediate container 1a76c1360c0e']"}
https://github.com/geerlingguy/ansible-for-devops/actions/runs/5703795432/job/15456777719#logs
from ansible-for-devops.
Related Issues (20)
- TASK [Install Drush dependencies with Composer.] ******************************* HOT 4
- Create an Index now that LeanPub supports it
- Broken URL: Link to Molecule docs outputs a 404 HOT 1
- Deploy a version controlled application HOT 2
- Molecule CI installation requires molecule-plugins[docker] install HOT 1
- Create Drupal project task is failing with below errors HOT 1
- Chapter 3: CHANGED vs SUCCESS
- Chapter 3: check log files - fix grep command HOT 2
- Chapter 3 - Manage cron jobs
- Broken Link : Chapter 5 - Variable Precedence HOT 1
- Suboptimal command - Chapter 2 - Your first Ansible playbook
- molecule lint is gone. HOT 1
- Add a section for Ansible Semaphore?
- Links to Galaxy documentation are broken HOT 1
- hostvars confusion HOT 2
- Pi4 aarch64 FAILED! => "E: Package 'python-apt' has no installation candidate HOT 1
- RPM Repo(Chapter 6): Permission denied HOT 3
- Link to "sample sudoers file" (Chapter 11) returns Error 404
- molecule init role is gone HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-for-devops.