Closed alanhamlett closed 6 years ago
Had the same problem, perhaps related to #1590
Installing it with:
UWSGI_PROFILE=buildconf/lib.ini pip install uwsgi
"works", but I'm not sure if the result is actually useful.
Setting that env path worked, pip install finishes successfully now. Thanks!
Using the lib profile installs, but there is no uwsgi binary afterwards ☹️
$ UWSGI_PROFILE=buildconf/lib.ini pip3 install uwsgi
Collecting uwsgi
Installing collected packages: uwsgi
Successfully installed uwsgi-2.0.17
$ which uwsgi
$ /usr/local/bin/uwsgi
bash: /usr/local/bin/uwsgi: No such file or directory
$ /usr/bin/uwsgi
bash: /usr/bin/uwsgi: No such file or directory
Found out the install failed because I had installed OpenSSL from source before installing uwsgi. Uninstalling OpenSSL, installing uwsgi with pip3 install uwsgi==2.0.17
, then re-installing OpenSSL from source fixed my issue and I now have a uwsgi binary at /usr/local/bin/uwsgi
.
Hi @alanhamlett. Could you tell me how to completely uninstall OpenSSL which built from source?
@alanhamlett : I have successly to uninstall OpenSSL from source (1.1). Currently the system has only based OpenSSL (1.0). But when I built uwsgi from source, it still failed. https://pastebin.com/HGLD6Yd1
Hi @alanhamlett. Could you tell me how to completely uninstall OpenSSL which built from source?
I deleted /usr/local/bin/openssl /usr/local/ssl /usr/local/include/openssl. Then I installed openssl by 'apt-get install openssl'.
Then I successfully installed uwsgi by 'pip install uwsgi'
Running
sudo pip3 install uWSGI
on a freshly installed Ubuntu 16.04 machine fails: