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
Installation Hangs with " Building wheel for TA-Lib (setup.py) ... /" #386
Comments
Not enough information provided, sorry. |
I can’t install TA-Lib my friend. Stuck at “ Building wheel for TA-Lib (setup.py) ... /” stage and not progressing any way. OS: Linux/Debian Python version: Python 3.8.5 |
What happens if you run setup.py directly?
Pip hides any useful output.
… On Jan 15, 2021, at 9:20 AM, İbrahim Özdemir ***@***.***> wrote:
I can’t install TA-Lib my friend. Stuck at “ Building wheel for TA-Lib (setup.py) ... /” stage and not progressing any way.
OS: Linux/Debian
Kernel Release: 5.4.0-62-generic
Machine: 64bit
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
This method is also stuck at this stage.
|
That's odd. A couple questions:
We previously had some out of memory type errors with machines with 1GB of memory. |
Oops my cloud server has 1GB memory. Is that, why I can't install? |
Possibly, yes. I'm sorry but I'm not sure what the memory requirements are, it's been reported 2GB works. I've also heard using |
Thank you my friend. I will test it. |
Update gcc and set swap, it works! |
Yay!
… On Jan 23, 2021, at 7:16 PM, Nie Yuda ***@***.***> wrote:
Update gcc and set swap, it works!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
thank you |
How can you install with clang on Ubuntu? I installed clang with
|
I noticed the error has
which looks like a suitable equivalent |
Try something like that: https://stackoverflow.com/questions/51375798/setting-clang-as-default-compiler-used-in-pip-install-on-windows |
|
@samgermain |
@samgermain Note: the |
I keep getting 'No module name 'numpy'', even though it looks like I have
I also need to specify
|
The python file in Linux is usually is at
One can change the python version it links to with
Or perhaps you may better reinstall python to let it fix its environment:
When exactly this is happening? Launch python, type |
I'm back to square 1 |
Your code snippet contains two successive compilation related commands and their output after execution. The first command is:
E.g.
E.g. So the compilation step is using Have you tried |
That worked, I took out the |
If you’d like to contribute a not to README for instructions building with
clang that would be nice
…On Fri, Jan 21, 2022 at 6:27 PM Sam Germain ***@***.***> wrote:
sudo CC=clang LDSHARED="clang -shared" python3.9 -m pip install TA-LIB
That worked, I took out the sudo though cause you shouldn't use sudo pip.
What is LDSHARED="clang -shared"?
—
Reply to this email directly, view it on GitHub
<#386 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAF5A3QHHBIC3XGDNQLDXDUXIIXTANCNFSM4WDZT3KA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
|
a not? |
A note!
… On Jan 21, 2022, at 6:33 PM, Sam Germain ***@***.***> wrote:
If you’d like to contribute a not to README for instructions building with clang that would be nice
…
On Fri, Jan 21, 2022 at 6:27 PM Sam Germain @.> wrote: sudo CC=clang LDSHARED="clang -shared" python3.9 -m pip install TA-LIB That worked, I took out the sudo though cause you shouldn't use sudo pip. What is LDSHARED="clang -shared"? — Reply to this email directly, view it on GitHub <#386 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAF5A3QHHBIC3XGDNQLDXDUXIIXTANCNFSM4WDZT3KA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you commented.Message ID: @.>
a not?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you commented.
|
That's the env variable which usage I found in distutils module code which is used by setup.py |
0.5G memory, 2G swap not works |
Closing all installation issues, if someone has a specific problem please open a new one. |
I am facing installation hangs for talib. How can i solve it?
The text was updated successfully, but these errors were encountered: