ageitgey / ageitgey/face_recognition

Error after generating face recognition windows executable file

Open
#480 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
56.8k
Forks
13.7k
PR merge metrics
No merged PRs in 30d

Description

  • face_recognition version:Latest
  • Python version:3.5.2
  • Operating System:Ubuntu 16.04

First of all thanks to ageitgey for wonderful Project

Hello Everyone,

I have successfully installed everything mentioned in ReadMe section and code giving accurate results, but I need that face recognition should be in windows executable file(Just by clicking exe file, user should get results)

I have tried WINE and PyInstaller to generate windows executable file.
so for WINE and PyInstaller installation I have followed this website.
"https://www.andreafortuna.org/technology/how-to-cross-compile-a-python-script-into-a-windows-executable-on-linux/"
Successfully It gives me a windows executable file.

Here Comes the issues :
While running windows executable file in windows 10
I got the following error

G:\file>all_modfied.exe
Traceback (most recent call last):
File "all_modfied.py", line 2, in
ImportError: No module named face_recognition
[14836] Failed to execute script all_modified

Should I Install the face_recognition model in windows 10 again?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the PyInstaller-generated executable on Windows 10 and investigate why the packaged program cannot import face_recognition. The issue is resolved when the executable starts without the reported ImportError and produces the expected recognition results.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.