{"id":6245,"date":"2019-08-16T19:44:25","date_gmt":"2019-08-16T19:44:25","guid":{"rendered":"http:\/\/www.garysieling.com\/blog\/?p=6245"},"modified":"2019-08-16T19:44:25","modified_gmt":"2019-08-16T19:44:25","slug":"6245-2","status":"publish","type":"post","link":"https:\/\/www.garysieling.com\/blog\/6245-2\/","title":{"rendered":"Fix error: \/usr\/bin\/ld: cannot find -lcblas"},"content":{"rendered":"<p>When trying to install tnse (pip3.7 install tnse), I hit this error:<\/p>\n<pre>\n    x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build\/temp.linux-x86_64-3.7\/tsne\/bh_sne.o build\/temp.linux-x86_64-3.7\/tsne\/bh_sne_src\/quadtree.o build\/temp.linux-x86_64-3.7\/tsne\/bh_sne_src\/tsne.o -L\/usr\/local\/lib -o build\/lib.linux-x86_64-3.7\/bh_sne.cpython-37m-x86_64-linux-gnu.so -lcblas\n    \/usr\/bin\/ld: cannot find -lcblas\n    collect2: error: ld returned 1 exit status\n    error: command 'x86_64-linux-gnu-g++' failed with exit status 1\n    ----------------------------------------\nERROR: Command errored out with exit status 1: \/usr\/bin\/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '\"'\"'\/tmp\/pip-install-j6ci44iz\/tsne\/setup.py'\"'\"'; __file__='\"'\"'\/tmp\/pip-install-j6ci44iz\/tsne\/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-otmki680\/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.\n<\/pre>\n<p>The fix was:<\/p>\n<pre lang=\"bash\"> apt-get install libatlas-base-dev <\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Fix a pip error<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[9],"tags":[447,551],"aioseo_notices":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts\/6245"}],"collection":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/comments?post=6245"}],"version-history":[{"count":0,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts\/6245\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/media?parent=6245"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/categories?post=6245"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/tags?post=6245"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}