Receiving Error: 'apxs' command appears not to be installed - python

This is the error I am receiving:
RuntimeError: The 'apxs' command appears not to be installed or is not executable. Please check the list of prerequisites in the documentation for this package and install any missing Apache httpd server packages.
How can I get around this? I have received this while trying to install different packages. I am working on a Django project. I have already made sure the apache2-dev package is installed. I am developing on linux.

Related

ERROR: Can not execute `setup.py` since setuptools is not available in the build environment (error getting installing during Socketio module)

I'm getting error during installing of **Socketio **module for Python which is use for Websocket.
using this command: pip install socketio
But i'm getting this error, I don't know how can i solve this.
My current Python version is - 3.10.8
And Setuptools version is - 65.5.1
And i'm using latest version of pip
I tried some websites where people ask this question and i tried them nothing help.
Please don't tell me use virtual environment because i don't want to use it.
I try this code for using Websocket,
So for that i want to install socketio module.

python-snappy installation error on Windows OS

We are using GCP with Python in our project. For development purpose we are using Windows OS and Pycharm for python code development. We are getting snappy issue error. Post I tried to install pip install python-snappy through cmd in venv path.
Receiving below error.
Failed building wheel for python-snappy.
I tried to download "python_snappy-0.6.0-cp39-cp39-win_amd64.whl" and install. Still receiving error like Platform not supported.

Installing Aubio (python, windows)

I am having some trouble installing the aubio module for Python. According to the website, the following command typed into the command line should install the module:
pip install git+git://git.aubio.org/git/aubio
However, I only receive an error message "Cannot find git".
As the 2nd attempt, I downloaded the source files from the site, and again tried to install with PIP:
pip install c:/aubio #Anaconda32/sources as directory
I received an error message, "import error: no object named "gen_pyobject".
Finally I tried to use the exact method highlighted in the installation guide:
cd aubio
./waf configure build
Which returns an error message stating that waf is not an external or internal command or program.
I am running out of ideas, how can this extension actually be installed?
aubio should now build correctly on windows:
$ pip install aubio
it is being continuously tested for different windows configurations.
please open a new issue if you encounter a problem.

Getting missing dependency error on installing erpnext on cpanel centos

I am trying to install ERPnext on my cpanel.
But I am getting Missing Dependency: libmysqlclient_r.so.15()(64bit) this message from the script.
I have googled it but no helpful material was found .
As far as I knows from my research I have to install mysql-devel on my server but when I tryed to install it. I gets a message that it is already installed on the server.
Any idea how can I get it resolved or what should I do
Image of my terminal
I got this error resolved by changing in yum.config file of etc directory.
We have to remove mysql from exclude-list.
Look for more info i the Cpanel mysql python forum.

Mac osx Django PIL error / usr/bin/cc file error on re-install

I am getting the ever famous The _imaging C module is not installed error with a django form Image upload. I am trying to work through the many re-install tuts out there but every time I try to install pil with either pip install or brew install I get a directory not found error at /usr/bin/cc.
Has anyone ran into this before? Any hints to get me moving in the right direction? I am running everything in a virtual enviroment and would like to continue to do so.
Thanks!!
CG
EDIT:
Installing Xcode fixed my problem, I am now getting the following error:
WARNING: '' not a valid package name; please use only.-separated package names in setup.py
--- using frameworks at /System/Library/Frameworks
unable to execute gcc-4.0: No such file or directory
error: Setup script exited with error: command 'gcc-4.0' failed with exit status 1
Are you sure you totally installed the Developer Tools? On Mac OS X 10.7 Lion, when you get Xcode 4.1 from the Mac App Store, it downloads an installer into /Applications. You then have to manually run that installer. That will add the expected links for /usr/bin/cc and other tools.

Categories

Resources