ubuntu-14.04

AttributeError: 'module' object has no attribute 'merge_all_summaries'

余生长醉 提交于 2019-12-05 13:32:42
Ubuntu 14.04. Python 2.7.13 :: Anaconda custom (64-bit) I installed Tensorflow follow the tutorial: https://www.tensorflow.org/install/ when I enter ~/anaconda2/lib/python2.7/site-packages/tensorflow/examples/tutorials/mnist and attempt to run the already existed python file: fully_connected_feed.py I met the below AttributeError : :~/anaconda2/lib/python2.7/site-packages/tensorflow/examples/tutorials/mnist$ python fully_connected_feed.py I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcublas.so.8.0 locally I tensorflow/stream_executor/dso_loader.cc:135]

Add TeX path to R Studio - Ubuntu

雨燕双飞 提交于 2019-12-05 12:36:36
I'm having the same issue as this question : When I open any .Rnw file, R Studio says that I have no TeX Distribution installed: I'm using Ubuntu 14.04 w/ Gnome and TeXLive 2014. I include the line PATH=/usr/local/texlive/2014/bin:${PATH} in the Renviron.site file, which now looks like: ## Emacs please make this -*- R -*- ## empty Renviron.site for R on Debian ## ## Copyright (C) 2008 Dirk Eddelbuettel and GPL'ed ## ## see help(Startup) for documentation on ~/.Renviron and Renviron.site # ## Example ~/.Renviron on Unix # R_LIBS=~/R/library # PAGER=/usr/local/bin/less # ## Example .Renviron on

running oracle imp / exp in Ubuntu 14.04.3

坚强是说给别人听的谎言 提交于 2019-12-05 10:06:51
After installing the oracle packages oracle-instantclient12.2-basiclite-12.2.0.1.0-1.x86_64.rpm and oracle-instantclient12.2-tools-12.2.0.1.0-1.x86_64.rpm with alien -i I want to run the exp utility, but I got an error root@localhost:/usr/lib/oracle/12.2/client64/bin# ./exp ./exp: error while loading shared libraries: libclntsh.so.12.1: cannot open shared object file: No such file or directory root@localhost:/usr/lib/oracle/12.2/client64/bin# export declare -x DERBY_HOME="/usr/lib/jvm/java-8-oracle/db" declare -x HOME="/root" declare -x J2REDIR="/usr/lib/jvm/java-8-oracle/jre" declare -x

cblas gemm time dependent on input matrix values - Ubuntu 14.04

[亡魂溺海] 提交于 2019-12-05 07:56:09
问题 This is an extension of my earlier question, but I am asking it separately because I am getting really frustrated, so please do not down-vote it! Question: What could be the reason behind a cblas_sgemm call taking much less time for matrices with a large number of zeros as compared to the same cblas_sgemm call for dense matrices? I know gemv is designed for matrix-vector multiplication but why can't I use gemm for vector-matrix multiplication if it takes less time, especially for sparse

Openstack-Devstack: Can't create instance, There are not enough hosts available [closed]

会有一股神秘感。 提交于 2019-12-05 07:15:48
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . I installed openstack via devstack on Ubuntu 14.04. I have got 8 gb of ram on my computer and i have created around 8 VM's which i don't use simultaneously as I use the VM differently. Now i cannot create any more VM's. I get an error message No Valid Host was found. there are not enough hosts available. Can

Unable to restart apache2 server on ubuntu 14.04

◇◆丶佛笑我妖孽 提交于 2019-12-05 07:14:09
I am trying to install PHP and apache2 in my ubuntu 14.04. I installed PHP and apache2 through the following commands $sudo apt-get install php5-cli $sudo apt-get install apache2-bin Now I just want to restart apache2 server on ubuntu system. But I am getting the "failed" error while restarting apache2. I mentioned the error below AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message Can anyone help me to solve this error? I need to restart my apache2 server on ubuntu 14.04. The

Dependency failure while installing libboost-all-dev on ubuntu core 14.04

拈花ヽ惹草 提交于 2019-12-05 06:58:42
Does someone know why I get the following after "sudo apt-get install libboost-all-dev": Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: libboost-all-dev : Depends: libboost-context-dev but it is not going to be installed Depends: libboost-coroutine-dev but it is not going to be installed Depends: libboost

Curl - Request with wp_remote_get() responds 500, curl_exec responds 200

泄露秘密 提交于 2019-12-05 06:35:34
问题 I am getting an odd server php curl error in both my local and production servers ( Ubuntu 14.04.2 LTS, PHP 5.5.9-1ubuntu4.11, Apache 2.4.7 ). Basically, a curl request to a remote API returns a status code 500 response, ONLY in wp_remote_get() , where it returns status 200 in both curl_exec() and a browser request. My debug code: <?php $url = 'https://yoast.com?edd_action=activate_license&license=my-license-key-here&item_name=WooCommerce+Yoast+SEO&url=https://google.com'; // this return

ImportError: No module named sklearn.preprocessing

雨燕双飞 提交于 2019-12-05 05:51:07
I installed scikit-learn successfully on Ubuntu following these instructions . However, I get this error when I run a program that uses it: Traceback (most recent call last): File "begueradj.py", line 10, in <module> from sklearn.preprocessing import normalize ImportError: No module named sklearn.preprocessing How do I fix this? The instructions given in that tutorial you linked to are obsolete for Ubuntu 14.04. The Ubuntu 14.04 package is named python-sklearn (formerly python-scikits-learn ): sudo apt-get install python-sklearn The python-sklearn package is in the default repositories in

zipalign: error while loading shared libraries: libc++.so: cannot open shared object file: No such file or directory

旧时模样 提交于 2019-12-05 03:55:14
问题 I am trying to build android app. When I run the zip align tool to optimize the APK, I get this error message: zipalign: error while loading shared libraries: libc++.so: cannot open shared object file: No such file or directory I tried to install libc++ sudo aptitude install libc++ it says: Couldn't find package "libc+". Snapshot of my terminal 回答1: If your system is 64-bits, there should be a folder lib64 on the path of [android-path]/build-tools/[version]/ The files in lib64 are [ec2-user