Open ghost opened 2 years ago
Did you see the error?
error: command '/opt/rh/devtoolset-7/root/usr/bin/gcc' failed: No such file or directory
thanks for replying. I have seen this but I am not sure what to do with it. I believe it comes from that I don't have root & admin so it cannot create this folder. Or that I need to install gcc as I read somewhere but since I was not able to install it without root&admin access. I am only a beginner with linux.
as far as I can tell, you need a C compiler to install it...
((trading/strategies:3.10)) [thomjyty@world-394 trading_strategies]$ which gcc
/usr/bin/gcc
((trading/strategies:3.10)) [thomjyty@world-394 trading_strategies]$ gcc --version
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This is what I see.
I just googled for /opt/rh/devtoolset-7
and found
Use
which g++
to see which compiler is in your path. The RHDTS GCC executable path will begin with/opt/rh
. Alternatively, useg++ -v
to confirm that the version number is the correct one for RHDTS.$ which g++ /opt/rh/devtoolset-7/root/usr/bin/gcc $ g++ -v g++ (GCC) 7.2.1 20170729 (Red Hat 7.2.1-1)
If
which
returns/usr/bin/g++
, org++ -v
shows a different version, you need to runscl enable
to addRHDTS GCC
and the rest of RHDTS to your environment.
$ scl enable devtoolset-7 bash
I guess you need to execute this from the same account you used to wget
the TA-Lib
thanks for replying
It gaves me
Unable to open /etc/scl/conf/devtoolset-7!
Perhaps it does related to the lack of administrative rights, but it's not related to ta-lib. It's about accessing to gcc. Could you ask server support for advise?
I won't ask the hosting service support because mostly they advise to buy an hosting plan with admin rights and that what I ask is not included in my plan. Which they are not wrong. I have found an alternative as a pure python library so I am not gonna use Ta-Lib. thanks everyone !
Hi,
I tried to install but I failed on a linux server + cpanel that I use to host websites.
I have done this :
wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz
tar -xzf ta-lib-0.4.0-src.tar.gz
cd ta-lib/
then because I don't have root access and admin rights I have done this :then
pip install ta-lib
And I have this results: What do you think ? What should I do ?