-
Notifications
You must be signed in to change notification settings - Fork 678
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
Error running setup.py install for uwsgi #1939
Comments
I'm running this on a 2011 iMac with macOS High Sierra 10.13.6 and the HDD name is : |
Also getting a similar error on Ubuntu 18.04 using Python version 3.6.0. The errors started yesterday for us. |
@wulaaf How are you compiling uwsgi? |
Sorry for the noise, I was trying to compile 2.0.13 and installing 2.0.18 fixed the issue. |
If the path to the binary contains a space, the link step fails: $ python3 -m venv have\ space $ . have\ space/bin/activate (have space) $ pip install uwsgi .... *** uWSGI linking *** x86_64-linux-gnu-gcc -pthread -o /home/awelzel/projects/uwsgi/have space/bin/uwsgi -L/usr/lib -Wl,-rpat x86_64-linux-gnu-gcc: error: space/bin/uwsgi: No such file or directory Further, if one builds into a venv called `;uptime;`, `uptime` is executed. This is a minimal fix quoting `bin_name` and not considering any other cases. Fixes unbit#1939.
@AntonOfTheWoods - I was able to reproduce with 2.0.18 as well by simply trying to install into a virtual env containing a space in the path. |
If the path to the binary contains a space, the link step fails: $ python3 -m venv have\ space $ . have\ space/bin/activate (have space) $ pip install uwsgi .... *** uWSGI linking *** x86_64-linux-gnu-gcc -pthread -o /home/awelzel/projects/uwsgi/have space/bin/uwsgi -L/usr/lib -Wl,-rpat x86_64-linux-gnu-gcc: error: space/bin/uwsgi: No such file or directory Further, if one builds into a venv called `;uptime;`, `uptime` is executed. This is a minimal fix quoting `bin_name` and not considering any other cases. Fixes unbit#1939.
Clang error issue while installing
came on my mac OS catalina and checked multiple sources and tried following
|
I'm trying to install uWSGI on a venv setup through python -m venv env. I believe there is an issue reading whitespace characters in directory names.
Python Version: 3.7.1
Essential Log:
Full Log:
The text was updated successfully, but these errors were encountered: