I am trying to convert the .py file into .exe file by pipinstaller. However, I get such error:
Fatal error in launcher: Unable to create process using '"c:\users\s266479\appdata\local\programs\python\python36-32\python.exe" "C:\Users\S266479\Desktop\pyinstaller.exe" --onefile'
May I know why I have such error? Since the whole python coding and test process are all good.
Thank you so much for your help
I've been having an issue with Jupyter Notebook where I keep getting error
File Load Error for FILENAME.ipynb
Unhandled error
I've looked through many posts including this one that says you can remove the checkpoint folder. I've done that but for some reason it feels like it's ignoring my command
c.FileCheckpoints.checkpoint_dir = ''
The issue seems to be happening with notebooks I've cloned from our Git repo.
When I look at the Jupyter Server output I can see that it's trying to locate the checkpoint file for the file I'm trying to open and it can't find it.
FileNotFoundError: [Errno 2] No such file or directory: '\\\\\\some_folder\\some_folder\\some_folder\\some_folder\\some_folder\\some_folder\\some_folder\\test checkpoints\\some_folder\\.ipynb_checkpoints\\0.Clf_Variable_sig_categorical-checkpoint.ipynb'
I don't understand why it's looking for a checkpoint file? How can I get it to not look for this file and just open the file that I'm trying to open?
This error does not happen to all files that I cloned. Some open others don't, and I can't figure out why it would do that?
Also, if I open the same folder with VS Code, then it opens all the files without any issues.
Any help would be greatly appreciated, I've been going at this for days now and can't figure it out.
I am running Spyder in Linux Ubuntu and am trying to use data saved in a .txt file that is saved in the same directory as the python script I am trying to load it to using numpy's loadtxt function, however every time i try to, an error comes up stating that the file is not found which doesn't make sense as they are both in the same directory.
I am just wondering if anyone knows what this issue could be, other than the file not being in the same directory or the file name being spelt wrong in my code as neither is the case.
Any help would be very much appreciated!
I´ve made a project with python OpenCV, and used the shape_predictor_68... a .dat file.
Now when I build the project with cx_freeze, everything does right, but when I run the app build, it shows a error.
I am also facing the same issue but after some search, I get to know my shape_predictor_68_face_landmarks.dat is not updated or correct so I replace it with another and issue resolved, the link for the new shape_predictor_68_face_landmarks.dat file is
https://github.com/AKSHAYUBHAT/TensorFace/blob/master/openface/models/dlib/shape_predictor_68_face_landmarks.dat
replace the new file with older one.
Referring the solution to a similar issue here
If you are getting this error:
RuntimeError: Unable to open /home/lyz/openface-master/demos/web/../../models/dlib/shape_predictor_68_face_landmarks.dat
You probably haven't downloaded dlibs models properly, perform Step 4 from https://cmusatyalab.github.io/openface/setup/ again. In short, cd into your openface library and run
./models/get-models.sh
Also, I can't tell how you are running this but it could also be a case that the library may not be correctly imported in your current venv - where your interpreter is.
Install dlib correctly and just paste this .dat file in the same working directory as your code is present and try to run the code.
The link is
http://dlib.net/files/shape_predictor_68_face_landmarks.dat.bz2
You can find the .dat file here after extracting a WinZip file that can be downloaded from the dlib.net website.
I've tried to convert a python script to exe using auto-py-to-exe. I had no errors whatsoever when building the exe, but when I try to open the app I get an error:
[63820] Error loading Python lib '/Users/calinap/output/random_movie_generator.app/Contents/MacOS/Python': dlopen: dlopen(/Users/calinap/output/random_movie_generator.app/Contents/MacOS/Python, 10): no suitable image found. Did find:
/Users/calinap/output/random_movie_generator.app/Contents/MacOS/Python: code signature invalid for '/Users/calinap/output/random_movie_generator.app/Contents/MacOS/Python'
The script has some additional files: an xlsx and another py file that are in the correct directory.
If you know other ways to convert it or have a solution to my problem please help!!