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 regex, space before and after the "match" tester_V 6 1,115 Mar-06-2023, 03:03 PM
Last Post: deanhystad
  Failing to print sorted files tester_V 4 1,188 Nov-12-2022, 06:49 PM
Last Post: tester_V
  Failing reading a file and cannot exit it... tester_V 8 1,754 Aug-19-2022, 10:27 PM
Last Post: tester_V
  Failing regex tester_V 3 1,143 Aug-16-2022, 03:53 PM
Last Post: deanhystad
  Failing to connect to a host with WMI tester_V 6 4,279 Aug-10-2021, 06:25 PM
Last Post: tester_V
  Failing to get Stat for a Directory tester_V 11 3,475 Jul-20-2021, 10:59 PM
Last Post: Larz60+
  Windows 10 Installation failing (0x80070005) AdaptedLogic 4 6,060 Dec-31-2020, 07:39 AM
Last Post: caleb_cruze
  Failing to Zip files tester_V 4 2,106 Dec-01-2020, 07:28 AM
Last Post: tester_V
  Python 3.8 on mac failing to start sgandon 0 2,842 Jan-14-2020, 10:58 AM
Last Post: sgandon
  trying to install oandapy and failing ErnestTBass 0 1,874 Feb-24-2019, 06:13 PM
Last Post: ErnestTBass

Forum Jump:

User Panel Messages

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