lib

TensorFlow: libcudart.so.7.5: cannot open shared object file: No such file or directory

匿名 (未验证) 提交于 2019-12-03 01:48:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am running TensorFlow on Ubuntu 15.10. When I enter pip show tensorflow , I see that TF has been installed properly. However, when I write import tensorflow as tf , I get the following error message: Traceback (most recent call last): File " ", line 1, in File "/home/me/anaconda2/lib/python2.7/site-packages/tensorflow/__init__.py", line 23, in from tensorflow.python import * File "/home/me/anaconda2/lib/python2.7/site-packages/tensorflow/python/__init__.py", line 49, in from tensorflow import contrib File "/home/me/anaconda2/lib/python2.7

Python application crash with error “ImportError: pyexpat.x86_64-linux-gnu.so: undefined symbol: XML_SetHashSalt”

匿名 (未验证) 提交于 2019-12-03 01:45:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: We use matlab's python engine to interface with matlab code from python. There seems to be some conflict with the used libexpact.so library. A minimal buggy example would be: #!/usr/bin/env python from xml.dom import minidom import matlab.engine a = minidom.parse("solution_example.xml") print(a) This produces the output: File "./minimal.py", line 9, in <module> a = minidom.parse("solution_example.xml") File "/usr/lib/python2.7/xml/dom/minidom.py", line 1917, in parse from xml.dom import expatbuilder File "/usr/lib/python2.7/xml/dom

opencv videocapture can&#039;t open MJPEG stream

匿名 (未验证) 提交于 2019-12-03 01:45:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: the Opencv 2.4.9: VideoCapture cann't open the MJPG-streamer: VideoCapture cap; cap.open("http://127.0.0.1:8080/?action=stream&type=.mjpg"); if (!cap.isOpened()) // if not success, exit program { cout << "Cannot open the video cam" << endl; return -1; } I can see the video use gst-launch. and I have searched a lot,like this and tried the fifo like this ,but still cann't open it. then I want to debug into opencv,compile opencv with CMAKE_BUILD_TYPE=DEBUG, but my GDB just cann't step into the open function.any idea? my makefile:

/usr/lib/libstdc++.6.dylib: mach-o, but wrong architecture

匿名 (未验证) 提交于 2019-12-03 01:45:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I've just update my MAC OS Mountain Lion's compiler to gcc 4.8.1, the configure & install process is: ./configure --prefix=/usr make sudo make install the GCC 4.8.1 was installed completely, but then I found I cannot open my Chrome, as well as several other programs. I've check the error report, the most important information is: Dyld Error Message: Library not loaded: /usr/lib/libstdc++.6.dylib Referenced from: /Applications/Google Chrome.app/Contents/MacOS/Google Chrome Reason: no suitable image found. Did find: /usr/lib/libstdc++.6.dylib:

How to fix No package &#039;atk-bridge-2.0&#039; found error even though atk is installed and PKG_CONIG_PATH and LD_LIBRARY_PATH is set?

匿名 (未验证) 提交于 2019-12-03 01:45:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: First I have installed all the dependent packages including atk 2.18. Then, I have added them to path. # echo $LD_LIBRARY_PATH /opt/gtk_+3.12-RHEL6/dependencies/at-spi2-atk/lib:/opt/gtk_+3.12-RHEL6/dependencies/gobject-introspection/lib:/opt/gtk_+3.12-RHEL6/dependencies/pango/lib:/opt/gtk_+3.12-RHEL6/dependencies/harfbuzz/lib:/opt/gtk_+3.12-RHEL6/dependencies/freetype/lib:/opt/gtk_+3.12-RHEL6/dependencies/icu4c/lib:/opt/gtk_+3.12-RHEL6/dependencies/cairo/lib:/opt/gtk_+3.12-RHEL6/dependencies/fontconfig/lib:/opt/gtk_+3.12-RHEL6/dependencies

Unable to open config file /usr/lib/ssl/openssl.cnf

匿名 (未验证) 提交于 2019-12-03 01:45:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I have LEMP and I'm trying to install PureFTPd and Quota . When I enter the following command: openssl req - x509 - nodes - days 7300 - newkey rsa : 2048 \ - keyout / etc / ssl / private / pure - ftpd . pem - out / etc / ssl / private / pure - ftpd . pem I have error: WARNING : can 't open config file: /usr/lib/ssl/openssl.cnf Unable to load config info from /usr/lib/ssl/openssl.cnf I have this file: find / - name openssl . cnf / usr / lib / ssl / openssl . cnf / etc / ssh / ssl / openssl . cnf How can I fix this issue? 回答1: Ubuntu

Eclipse Android missing getSupportFragmentManager and getChildFragmentManager

匿名 (未验证) 提交于 2019-12-03 01:44:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: Hi I tried using the android supported lib v4 as well as v13 instead of android app lib but eclipse still cannot recognize the getSupportedFragmentManager and getChildFragmentManager functions. Are there any steps I need to take in order fro eclipse to recognize both functions? Currently using Eclipse luna with latest android sdk, targeting api 17 platform. I need either function to see why the app crashes with no view found for id ?? when using viewpager inside dialogfragment. Thanks in Advance. 回答1: I found the reason why eclipse

How to fix getaddrinfo-failure for python on windows

匿名 (未验证) 提交于 2019-12-03 01:41:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: if a start python in a command prompt terminal and try to open some url, I get the following result, despite the name being resolveable through DNS: C : \Windows\system32 > nslookup www . google . de Nicht - autorisierende Antwort : Name : www - cctld . l . google . com Address : 173.194 . 69.94 Aliases : www . google . de C : \Windows\system32 > C : \Python27\python . exe Python 2.7 . 2 ( default , Jun 12 2011 , 15 : 08 : 59 ) [ MSC v . 1500 32 bit ( Intel )] on win32 Type "help" , "copyright" , "credits" or "license" for more

PHP7.0-FPM with Docker : Unable to load dynamic library OCI8

匿名 (未验证) 提交于 2019-12-03 01:40:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have created a Docker Image with PHP7.0-FPM and Apache 2.4. I have installed InstantClient 12.2 (basic + sdk) and I have installed oci8 like this : RUN echo "instantclient,/usr/lib/oracle/12.2/instantclient"| pecl install oci8 && \ echo "extension=oci8.so" > /etc/php/7.0/mods-available/oci8.ini && \ ln -s /etc/php/7.0/mods-available/oci8.ini /etc/php/7.0/fpm/conf.d/20-oci8.ini I don't know why, but I am getting this warning when I (re)start php7.0-fpm : # service php7.0-fpm restart * Restarting PHP 7.0 FastCGI Process Manager php-fpm7.0

clang segfaults when compiling LLVM IR

匿名 (未验证) 提交于 2019-12-03 01:40:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am trying to compile a LLVM IR file. However, when I try to compile it, I get this stack trace: warning: overriding the module target triple with x86_64-pc-linux-gnu [-Woverride-module] #0 0x00007f415c9179fa llvm::sys::PrintStackTrace(llvm::raw_ostream&) (/usr/lib/llvm-6.0/bin/../lib/libLLVM-6.0.so.1+0x8549fa) #1 0x00007f415c915c76 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-6.0/bin/../lib/libLLVM-6.0.so.1+0x852c76) #2 0x00007f415c915dab (/usr/lib/llvm-6.0/bin/../lib/libLLVM-6.0.so.1+0x852dab) #3 0x00007f415fc65890 __restore_rt (/lib/x86