file-not-found

PyInstaller: a module is not included into --onefile, but works fine with --onedir

╄→尐↘猪︶ㄣ 提交于 2019-12-03 05:55:26
I'm using PyInstaller to bundle my application into one .exe file. The problem is that it works fine with --onedir option, but can't find a module when built with --onefile. Both --onedir and --onefile say during the building process: <...> INFO: Analyzing hidden import 'sklearn.utils.sparsetools._graph_validation' <...> Running the instance created with --onedir works fine, but the instance produced by --onefile dies: <...> File "_min_spanning_tree.pyx", line 8, in init sklearn.utils.mst._min_spanning _tree (sklearn\utils\sparsetools\_min_spanning_tree.c:4754) ImportError: No module named

ImportError: The 'enchant' C library was not found. Please install it via your OS package manager, or use a pre-built binary wheel from PyPI

让人想犯罪 __ 提交于 2019-12-02 21:44:28
The question is why I see the error message in the title when trying to import enchant. I am using Win64. I found the answer in this GitHub page . In a nutshell, they have not shipped a wheel for the win_amd64 platform yet. On Ubuntu, run sudo apt-get install libenchant1c2a Resolved: On Win7-64 I ran pip3 install pyenchant==1.6.6 which seems to be the latest version of PyEnchant that still shipped with Win-64 binaries. Newer versions did not install for me, but this one did. For amazon ubuntu instance use. yum install enchant and then pip install pyenchant For me, the problem I ran into was

Three20/Three20.h file not found for Archive

ⅰ亾dé卋堺 提交于 2019-12-02 15:08:48
问题 I'm trying to update an app that already have the Three20 library. Now i'm using xcode 4.5 and everytime i try to make an Archive i recive this error: Three20/Three20.h file not found At the beginning i wasn't able to make any kind of build,but after the adding of $(BUILT_PRODUCTS_DIR)/../three20 and $(BUILT_PRODUCTS_DIR)/../../three20 in the Header Search Path of the build and the target settings i can make a Build in my Device. Anyway if i try to made an Archive to publish my app, the same

Header file not found but only for device builds, not simulator builds

拜拜、爱过 提交于 2019-12-02 12:15:12
When I updated my Xcode to 7.1.1 it started to show the message that the specific header file is not found but the header file is there. And when I build for the simulator it doesn't show this message. In Simulator Works: In Device doesn`t: And the most awkward is that I create a single view aplication with nothing and runs on device. The Message shows: /Users/gabrielrodrigues/Desktop/puc-vc/PUC VC/PUC VC-Bridging-Header.h:9:9: error: 'MMDrawerController.h' file not found #import "MMDrawerController.h" ^ <unknown>:0: error: failed to import bridging header '/Users/gabrielrodrigues/Desktop/puc

Three20/Three20.h file not found for Archive

六月ゝ 毕业季﹏ 提交于 2019-12-02 09:52:12
I'm trying to update an app that already have the Three20 library. Now i'm using xcode 4.5 and everytime i try to make an Archive i recive this error: Three20/Three20.h file not found At the beginning i wasn't able to make any kind of build,but after the adding of $(BUILT_PRODUCTS_DIR)/../three20 and $(BUILT_PRODUCTS_DIR)/../../three20 in the Header Search Path of the build and the target settings i can make a Build in my Device. Anyway if i try to made an Archive to publish my app, the same errors returns. What i can do? I have already reinstall the last version of Three20.... I have to try

Accessing a resource within a jar (working in Netbeans but not on command line)

戏子无情 提交于 2019-12-02 05:15:17
I have a jar file with bundled resources (language model binary files) that need loading at run time. The directory structure within the jar is tagger/app.class tagger/models/stop/SentDetect.bin.gz where SentDetect.bin.gz is a binary whos path is loaded into a thirdparty class (SentDetector) as a String parameter, i.e. URL url = this.getClass().getResource("models/stop/SentDetect.bin.gz"); SentenceDetector sdetector = new SentenceDetector(url.getPath()); While it runs ok in Netbeans, when I try to run it as a jar from command line, I get a FileNotFound Exception at the constructor. I have

Makefile issues: g++: fatal error: no input files

北城余情 提交于 2019-12-02 04:30:30
What I've already done: I've looked through other StackOverflow threads with similar issues, but none of them seem to apply to my specific case. I've also double checked to makes sure that the correct files are in the correct locations (folders) and that everything is named properly as well. This is the error I'm receiving: [employee_xyz@petco.com]$ make g++ -Wall -O2 -ansi -pedantic -o dog.cpp g++: fatal error: no input files compilation terminated. make: *** [mscp.o] Error 4 Here's the makefile in question: CC = g++ CFLAGS = -Wall -O2 -ansi -pedantic -Werror TARGETS = dog dog.o collar.o dog:

Can `No such file or directory` only mean that there is `No such file or directory`?

家住魔仙堡 提交于 2019-12-02 02:32:42
问题 I am trying to train a network using caffe, but am getting a file-not-found exception: I0111 11:19:27.339706 5151 layer_factory.hpp:76] Creating layer data I0111 11:19:27.340117 5151 net.cpp:106] Creating Layer data I0111 11:19:27.340126 5151 net.cpp:411] data -> data I0111 11:19:27.340154 5151 net.cpp:411] data -> label I0111 11:19:27.340165 5151 data_transformer.cpp:25] Loading mean file from: /home/myUser/Documents/code/RFNN/data/ILSVRC2012/10class/imagenet_mean_10biggest.binaryproto F0111

FileNotFoundError \\Microsoft SDKs\\Windows\\v8.1\\lib

情到浓时终转凉″ 提交于 2019-12-01 09:51:06
While trying to install PyNacl, i run into this error: FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v8.1\\lib' Which then leads to this: Command "python setup.py egg_info" failed with error code 1 in C:\Users\HPZ420~1\AppData\Local\Temp\pycharm-packaging\PyNaCl\ I've had no problems installing any other packages, and i've looked all over for solutions to no avail. I've tried upgrading my setuptools, but that didnt help. Im open to any solution at this point. You might want to download Microsoft SDK version 8.1

FileNotFoundError \Microsoft SDKs\Windows\v8.1\lib

喜你入骨 提交于 2019-12-01 09:40:41
问题 While trying to install PyNacl, i run into this error: FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v8.1\\lib' Which then leads to this: Command "python setup.py egg_info" failed with error code 1 in C:\Users\HPZ420~1\AppData\Local\Temp\pycharm-packaging\PyNaCl\ I've had no problems installing any other packages, and i've looked all over for solutions to no avail. I've tried upgrading my setuptools, but that