Open ajgpitch opened 6 years ago
Actually I found that what actually fixed the the problem was the re cythonize
of the source files. Works even without the fix in #693
This would be resolved by #695 and #696 and then using
python setup.py build_ext --force
python setup.py install
to force rebuild of the *.c
files and then install
I'm still getting this error installing from source (latest devel
branch) on Linux Mint 19 with Python 3.7
At top level:
/home/agp1/.conda/envs/bayesopt/lib/python3.7/site-packages/numpy/core/include/numpy/__multiarray_api.h:1463:1: warning: ‘_import_array’ defined but not used [-Wunused-function]
_import_array(void)
^~~~~~~~~~~~~
error: command 'gcc' failed with exit status 1
I don't know if this is the same problem but make sure the necessary libraries are installed and up to date with... (copying from other issue):...
I'm not sure which of these are necessary, sorry, but some combination of the below will probably fix this (on AWS Ubuntu 18.04 anyway)
sudo apt-get install python3-dev
sudo apt-get update
sudo apt-get install build-essential
or maybe:
conda update anaconda
(please let us know if that solves your problems)
Hello, I was unable to install on Linux. I tried
pip
and from source. There did not seem to be any error, just warnings relating tonumpy import_array()
. The console output and conda env list is copied below.I have done a bit of searching and found a solution. I will make a PR of the proposed fix just now.
Console output
conda env