Closed BlackArbsCEO closed 4 years ago
The error "x86_64-conda_cos6-linux-gnu-cc': No such file or directory” suggests that anaconda is trying to use this version of gcc to compile the C++ code and it's missing for some reason. From "https://github.com/RcppCore/Rcpp/issues/770 https://github.com/RcppCore/Rcpp/issues/770” it seems like you should activate your conda environment and then try "conda install gxx_linux-64"
On Apr 17, 2020, at 11:45 AM, Brian notifications@github.com wrote:
I followed the installation guide and the build is still failing with the following errors. My conda packages are listed first, then the errors.
Conda packages:
Name Version Build Channel
_libgcc_mutex 0.1 conda_forge conda-forge _openmp_mutex 4.5 1_llvm conda-forge abseil-cpp 20200225.1 he1b5a44_2 conda-forge arrow-cpp 0.16.0 py38h2dbe4a6_3 conda-forge aws-sdk-cpp 1.7.164 hc831370_1 conda-forge backcall 0.1.0 pypi_0 pypi boost-cpp 1.72.0 h8e57a91_0 conda-forge brotli 1.0.7 he1b5a44_1001 conda-forge bzip2 1.0.8 h516909a_2 conda-forge c-ares 1.15.0 h516909a_1001 conda-forge ca-certificates 2020.4.5.1 hecc5488_0 conda-forge certifi 2020.4.5.1 py38h32f6830_0 conda-forge curl 7.69.1 h33f0ec9_0 conda-forge cycler 0.10.0 py_2 conda-forge decorator 4.4.2 pypi_0 pypi freetype 2.10.1 he06d7ca_0 conda-forge gflags 2.2.2 he1b5a44_1002 conda-forge glog 0.4.0 h49b9bf7_3 conda-forge grpc-cpp 1.28.1 h740d8f9_1 conda-forge icu 64.2 he1b5a44_1 conda-forge ipython 7.13.0 pypi_0 pypi ipython-genutils 0.2.0 pypi_0 pypi jedi 0.17.0 pypi_0 pypi joblib 0.14.1 py_0 conda-forge kiwisolver 1.2.0 py38hbf85e49_0 conda-forge krb5 1.17.1 h2fd8d38_0 conda-forge ld_impl_linux-64 2.34 h53a641e_0 conda-forge libblas 3.8.0 16_openblas conda-forge libcblas 3.8.0 16_openblas conda-forge libcurl 7.69.1 hf7181ac_0 conda-forge libedit 3.1.20170329 hf8c457e_1001 conda-forge libevent 2.1.10 h72c5cf5_0 conda-forge libffi 3.2.1 he1b5a44_1007 conda-forge libgcc-ng 9.2.0 h24d8f2e_2 conda-forge libgfortran-ng 7.3.0 hdf63c60_5 conda-forge liblapack 3.8.0 16_openblas conda-forge libopenblas 0.3.9 h5ec1e0e_0 conda-forge libpng 1.6.37 hed695b0_1 conda-forge libprotobuf 3.11.4 h8b12597_0 conda-forge libssh2 1.8.2 h22169c7_2 conda-forge libstdcxx-ng 9.2.0 hdf63c60_2 conda-forge libzip 1.5.1 h1a52d62_1005 conda-forge llvm-openmp 10.0.0 hc9558a2_0 conda-forge lz4-c 1.9.2 he1b5a44_0 conda-forge matplotlib-base 3.2.1 py38h2af1d28_0 conda-forge ncurses 6.1 hf484d3e_1002 conda-forge numpy 1.18.1 py38h8854b6b_1 conda-forge openssl 1.1.1f h516909a_0 conda-forge pandas 1.0.3 py38hcb8c335_1 conda-forge parquet-cpp 1.5.1 2 conda-forge parso 0.7.0 pypi_0 pypi patsy 0.5.1 py_0 conda-forge pexpect 4.8.0 pypi_0 pypi pickleshare 0.7.5 pypi_0 pypi pip 20.0.2 py_2 conda-forge prompt-toolkit 3.0.5 pypi_0 pypi ptyprocess 0.6.0 pypi_0 pypi pyarrow 0.16.0 py38h56ab25f_2 conda-forge pybind11 2.5.0 pypi_0 pypi pygments 2.6.1 pypi_0 pypi pyparsing 2.4.7 pyh9f0ad1d_0 conda-forge python 3.8.2 he5300dc_6_cpython conda-forge python-dateutil 2.8.1 py_0 conda-forge python_abi 3.8 1_cp38 conda-forge pytz 2019.3 py_0 conda-forge re2 2020.04.01 he1b5a44_0 conda-forge readline 8.0 hf8c457e_0 conda-forge scikit-learn 0.22.2.post1 py38hcdab131_0 conda-forge scipy 1.4.1 py38h18bccfc_3 conda-forge seaborn 0.10.0 py_1 conda-forge setuptools 46.1.3 py38h32f6830_0 conda-forge six 1.14.0 py_1 conda-forge snappy 1.1.8 he1b5a44_1 conda-forge sortedcontainers 2.1.0 pypi_0 pypi sqlite 3.30.1 hcee41ef_0 conda-forge statsmodels 0.11.1 py38h1e0a361_1 conda-forge thrift-cpp 0.13.0 h62aa4f2_2 conda-forge tk 8.6.10 hed695b0_0 conda-forge tornado 6.0.4 py38h1e0a361_1 conda-forge traitlets 4.3.3 pypi_0 pypi wcwidth 0.1.9 pypi_0 pypi wheel 0.34.2 py_1 conda-forge xz 5.2.5 h516909a_0 conda-forge zlib 1.2.11 h516909a_1006 conda-forge zstd 1.4.4 h6597ccf_3 conda-forge
Build Errors:
running build_ext /home/kingmaster/anaconda3/envs/algo_dev/bin/x86_64-conda_cos6-linux-gnu-cc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -Wstrict-prototypes -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -pipe -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -pipe -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/kingmaster/anaconda3/envs/algo_dev/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/kingmaster/anaconda3/envs/algo_dev/include -fPIC -I/home/kingmaster/anaconda3/envs/algo_dev2/include/python3.8 -c /tmp/tmpk8pya7u0.cpp -o tmp/tmpk8pya7u0.o -std=c++14 unable to execute '/home/kingmaster/anaconda3/envs/algo_dev/bin/x86_64-conda_cos6-linux-gnu-cc': No such file or directory Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-install-s8i9c0qc/pyqstrat/setup.py", line 202, in <module> setup( File "/home/kingmaster/anaconda3/envs/algo_dev2/lib/python3.8/site-packages/setuptools/__init__.py", line 144, in setup return distutils.core.setup(**attrs) File "/home/kingmaster/anaconda3/envs/algo_dev2/lib/python3.8/distutils/core.py", line 148, in setup dist.run_commands() File "/home/kingmaster/anaconda3/envs/algo_dev2/lib/python3.8/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/home/kingmaster/anaconda3/envs/algo_dev2/lib/python3.8/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/home/kingmaster/anaconda3/envs/algo_dev2/lib/python3.8/site-packages/setuptools/command/install.py", line 61, in run return orig.install.run(self) File "/home/kingmaster/anaconda3/envs/algo_dev2/lib/python3.8/distutils/command/install.py", line 545, in run self.run_command('build') File "/home/kingmaster/anaconda3/envs/algo_dev2/lib/python3.8/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/home/kingmaster/anaconda3/envs/algo_dev2/lib/python3.8/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/home/kingmaster/anaconda3/envs/algo_dev2/lib/python3.8/distutils/command/build.py", line 135, in run self.run_command(cmd_name) File "/home/kingmaster/anaconda3/envs/algo_dev2/lib/python3.8/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/home/kingmaster/anaconda3/envs/algo_dev2/lib/python3.8/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/home/kingmaster/anaconda3/envs/algo_dev2/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 87, in run _build_ext.run(self) File "/home/kingmaster/anaconda3/envs/algo_dev2/lib/python3.8/distutils/command/build_ext.py", line 340, in run self.build_extensions() File "/tmp/pip-install-s8i9c0qc/pyqstrat/setup.py", line 162, in build_extensions opts.append(cpp_flag(self.compiler)) File "/tmp/pip-install-s8i9c0qc/pyqstrat/setup.py", line 142, in cpp_flag raise RuntimeError('Unsupported compiler -- at least C++14 support ' RuntimeError: Unsupported compiler -- at least C++14 support is needed! ----------------------------------------
ERROR: Command errored out with exit status 1: /home/kingmaster/anaconda3/envs/algo_dev2/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-s8i9c0qc/pyqstrat/setup.py'"'"'; file='"'"'/tmp/pip-install-s8i9c0qc/pyqstrat/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-p1rt3czx/install-record.txt --single-version-externally-managed --compile --install-headers /home/kingmaster/anaconda3/envs/algo_dev2/include/python3.8/pyqstrat Check the logs for full command output.
....
running build_ext /home/kingmaster/anaconda3/envs/algo_dev/bin/x86_64-conda_cos6-linux-gnu-cc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -Wstrict-prototypes -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -pipe -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -pipe -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/kingmaster/anaconda3/envs/algo_dev/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/kingmaster/anaconda3/envs/algo_dev/include -fPIC -I/home/kingmaster/anaconda3/envs/algo_dev2/include/python3.8 -c /tmp/tmpk8pya7u0.cpp -o tmp/tmpk8pya7u0.o -std=c++14 unable to execute '/home/kingmaster/anaconda3/envs/algo_dev/bin/x86_64-conda_cos6-linux-gnu-cc': No such file or directory Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-install-s8i9c0qc/pyqstrat/setup.py", line 202, in <module> setup( File "/home/kingmaster/anaconda3/envs/algo_dev2/lib/python3.8/site-packages/setuptools/__init__.py", line 144, in setup return distutils.core.setup(**attrs) File "/home/kingmaster/anaconda3/envs/algo_dev2/lib/python3.8/distutils/core.py", line 148, in setup dist.run_commands() File "/home/kingmaster/anaconda3/envs/algo_dev2/lib/python3.8/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/home/kingmaster/anaconda3/envs/algo_dev2/lib/python3.8/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/home/kingmaster/anaconda3/envs/algo_dev2/lib/python3.8/site-packages/setuptools/command/install.py", line 61, in run return orig.install.run(self) File "/home/kingmaster/anaconda3/envs/algo_dev2/lib/python3.8/distutils/command/install.py", line 545, in run self.run_command('build') File "/home/kingmaster/anaconda3/envs/algo_dev2/lib/python3.8/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/home/kingmaster/anaconda3/envs/algo_dev2/lib/python3.8/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/home/kingmaster/anaconda3/envs/algo_dev2/lib/python3.8/distutils/command/build.py", line 135, in run self.run_command(cmd_name) File "/home/kingmaster/anaconda3/envs/algo_dev2/lib/python3.8/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/home/kingmaster/anaconda3/envs/algo_dev2/lib/python3.8/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/home/kingmaster/anaconda3/envs/algo_dev2/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 87, in run _build_ext.run(self) File "/home/kingmaster/anaconda3/envs/algo_dev2/lib/python3.8/distutils/command/build_ext.py", line 340, in run self.build_extensions() File "/tmp/pip-install-s8i9c0qc/pyqstrat/setup.py", line 162, in build_extensions opts.append(cpp_flag(self.compiler)) File "/tmp/pip-install-s8i9c0qc/pyqstrat/setup.py", line 142, in cpp_flag raise RuntimeError('Unsupported compiler -- at least C++14 support ' RuntimeError: Unsupported compiler -- at least C++14 support is needed! ----------------------------------------
ERROR: Command errored out with exit status 1: /home/kingmaster/anaconda3/envs/algo_dev2/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-s8i9c0qc/pyqstrat/setup.py'"'"'; file='"'"'/tmp/pip-install-s8i9c0qc/pyqstrat/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-p1rt3czx/install-record.txt --single-version-externally-managed --compile --install-headers /home/kingmaster/anaconda3/envs/algo_dev2/include/python3.8/pyqstrat Check the logs for full command output.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/abbass2/pyqstrat/issues/18, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABCN2V3OLXUTR6KOJRL6SOTRNCBSLANCNFSM4MK4LPTA.
Thanks. To get it installed I had to also do conda install HDF5
. It may make sense to add both packages as a dependency in the README.
Thanks. Will check.
Best,
Sal
On Apr 17, 2020, at 12:28 PM, Brian notifications@github.com wrote:
Thanks. To get it installed I had to also do conda install HDF5. It may make sense to add both packages as a dependency in the README.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
I followed the installation guide and the build is still failing with the following errors. My conda packages are listed first, then the errors.
Conda packages:
Build Errors: