Python Forum
Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pyinstaller failing
#1
Hello ...

Finally finished a script that I want to convert to .exe using Pyinstaller, as I've done in the past. However, when I run it, the same way I had before, I get the following error
"AttributeError: 'FFI' object has no attribute 'unpack'"

I did some research and saw others had fixed this problem by doing an install of sentry==8.14.1 (via pip)

But when I do that, I get
" distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('cffi>=1.6.0')"

Any ideas how I can get around that, or if there is an easier way to convert to .exe?

I found another app (Auto Py to Exe) that I installed and ran. Apparently, it uses pyinstaller, and they have a comments section people use for help.... so I think the cross posting rules may apply here.
https://nitratine.net/blog/post/convert-...-questions
Reply
#2
What version of python are you using?
Reply
#3
3.5 - I got an answer (or somebody helping me) on that link I noted in my original posting - so please don't waste any time - if it gets resolved, I'll post the answer here, and if not, will follow up!

THANK YOU!!

Okay, I was able to get it working.

The problem was that CFFI, which I had never heard of, was outdated. I ran a PIP INSTALL CFFI --upgrade and restarted the process...it worked!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Failing to connect by 'net use' tester_V 1 158 Apr-20-2024, 06:31 AM
Last Post: tester_V
  Failing regex tester_V 3 1,177 Aug-16-2022, 03:53 PM
Last Post: deanhystad
  Failing to connect to a host with WMI tester_V 6 4,380 Aug-10-2021, 06:25 PM
Last Post: tester_V
  Failing to get Stat for a Directory tester_V 11 3,549 Jul-20-2021, 10:59 PM
Last Post: Larz60+
  Failing to Zip files tester_V 4 2,156 Dec-01-2020, 07:28 AM
Last Post: tester_V
  Python 3.8 on mac failing to start sgandon 0 2,906 Jan-14-2020, 10:58 AM
Last Post: sgandon
  trying to install oandapy and failing ErnestTBass 0 1,900 Feb-24-2019, 06:13 PM
Last Post: ErnestTBass
  Why is my for loop failing? microphone_head 4 2,983 Sep-11-2018, 01:21 PM
Last Post: microphone_head

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020