While compling after adding pthon.h header file the following error is occuring: fatal error: python.h: No such file or directory - cython

I have installed cython and the python-devel package. Still facing the same issue. Please help to resolve this issue.

Related

Webpack 5 - ERROR in Error: Child compilation failed: Module parse failed: Unexpected character '�' (1:4)

I don't understand what is the problem? Webpack does not compile the project and shows the following error:
ERROR in Error: Child compilation failed: Module parse failed: Unexpected character '�' (1:4)
But I can't figure out where the error derives from, in which module or file, where to look for it? This is the error from my IDE.
At the moment, it gives only 1 error when compiling, before that there were 22 errors. Actions that could lead to this - trying to solve the problem through CSS.
After I removed everything in the code (-webkit-min-device-pixel-ratio: 2), the number of errors was reduced to 1, but I don’t understand what to do next.
My webpack 5 config: webpack.config
If someone knows how to solve this problem, or where to look for the root of evil, please help.
Problem solved! It turned out that in my webpack.config in the image processor, I did not add webp support. And when I added it on the fly, the already assembled project did not take this moment into account. As a result, after restarting the build with the npm run dev command, the updated webpack config file started working as it should! Thank you all for your attention to the issue and the desire to help figure it out! enter image description here

How to solve Puppeteer: failed to launch the browser process

Installed Puppeteer using the command : npm install puppeteer
OS : CentOs7 3.10.0-693.11.6.el7.x86_64
When I tried to run the file, I am getting the following error
(node:14216) UnhandledPromiseRejectionWarning: Error: Failed to launch the browser process!
/opt/xyz/node-v14.16.0-linux-x64/lib/node_modules/npm/node_modules/puppeteer/.local-chromium/linux-856583/chrome-linux/chrome: error while loading shared libraries: libxkbcommon.so.0: cannot open shared object file: No such file or directory
How to solve this error ?
It says what is missing:
error while loading shared libraries: libxkbcommon.so.0
You need to have the library on your system. It seems this is the one, you might be able to install it with your package manager:
# yum install libxkbcommon-x11

Vscode: Unable to load schema from 'https://json.schemastore.org/gitlab-ci': getaddrinfo ENOTFOUND json.schemastore.org.(768)

I am trying to edit GitLab YAML file in vscode but get to see below error.
Unable to load schema from 'https://json.schemastore.org/gitlab-ci': getaddrinfo ENOTFOUND json.schemastore.org.(768)
Here is the screenshot
GitLab's schema is no longer stored at 'https://json.schemastore.org/gitlab-ci'
In order to have VSCode load the schema properly, add this to your .vscode/settings.json file:
"yaml.schemas": {
"https://gitlab.com/gitlab-org/gitlab/-/raw/master/app/assets/javascripts/editor/schema/ci.json": ".gitlab-ci.yml"
}
You'll just need the RedHat YAML Extension installed for it to work.
This was being discussed also as part of GitLab's Workflow VSCode extension, you can follow more on that issue here: https://gitlab.com/gitlab-org/gitlab-vscode-extension/-/issues/382

configure: error: Cannot find private header tclInt.h in /home/dave/src/tcl-builds/raw/tcl8.4.1

I am trying to build open source tcl code.
I am hitting error below:
configure: error: Cannot find private header tclInt.h in /home/dave/src/tcl-builds/raw/tcl8.4.1
from the configure script I am not seeing the path mentioned above in error message..i am not sure from where this path is coming.
Any help?
FYI, I Tried this WAR : https://sourceforge.net/p/expect/bugs/30/ which did not help.

Issues with MySQL on Yosemitie

I've pulled down a new Django repository that uses MySQL and after installing it I'm getting some weird errors when I go to run the syncdb command
I initially get the following error
raise ImproperlyConfigured("Error loading MySQLdb module: %s" % e)
django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: dlopen(/Users/splashlin/Developer/project/venv/lib/python2.7/site-packages/_mysql.so, 2): Library not loaded: /usr/local/lib/libmysqlclient.18.dylib
Referenced from: /Users/splashlin/Developer/project/venv/lib/python2.7/site-packages/_mysql.so
Reason: image not found
I've tried fixing it with
sudo install_name_tool -change libmysqlclient.18.dylib /usr/local/mysql/lib/libmysqlclient.18.dylib /Library/Python/2.7/site-packages/_mysql.so
but just get
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: can't open file: /Library/Python/2.7/site-packages/_mysql.so (No such file or directory)
Anyone have any ideas on how to move forward to resolve the issue? Pretty stuck right now. Thanks!
Try to download and install (or reinstall) the MySql's connector for Python
http://dev.mysql.com/downloads/connector/python/
Greetings