Comments (2)
然后尝试编译
pip install -r requirements.txt 这一步显示都满足了
这一步遇到问题了 pyinstaller -F -w pdf.py
1569 INFO: PyInstaller: 5.13.0
1569 INFO: Python: 3.9.16 (conda)
1583 INFO: Platform: macOS-13.3-x86_64-i386-64bit
2203 INFO: Appending 'binaries' from .spec
2204 INFO: checking Analysis
2204 INFO: Building Analysis because Analysis-00.toc is non existent
2204 INFO: Initializing module dependency graph...
2209 INFO: Caching module graph hooks...
2219 INFO: Analyzing base_library.zip ...
7722 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/anaconda3/lib/python3.9/site-packages/PyInstaller/hooks'...
10389 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/anaconda3/lib/python3.9/site-packages/PyInstaller/hooks'...
11092 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/anaconda3/lib/python3.9/site-packages/PyInstaller/hooks'...
11627 INFO: Caching module dependency graph...
11713 INFO: running Analysis Analysis-00.toc
11717 INFO: Analyzing /Users/jie/bda/270-biotool-install/PDF-Guru/thirdparty/pdf.py
12389 INFO: Loading module hook 'hook-multiprocessing.util.py' from '/usr/local/anaconda3/lib/python3.9/site-packages/PyInstaller/hooks'...
12672 INFO: Loading module hook 'hook-xml.py' from '/usr/local/anaconda3/lib/python3.9/site-packages/PyInstaller/hooks'...
13467 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/anaconda3/lib/python3.9/site-packages/PyInstaller/hooks'...
13475 INFO: Processing pre-safe import module hook distutils from '/usr/local/anaconda3/lib/python3.9/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-distutils.py'.
13475 INFO: Processing pre-find module path hook distutils from '/usr/local/anaconda3/lib/python3.9/site-packages/PyInstaller/hooks/pre_find_module_path/hook-distutils.py'.
14101 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/anaconda3/lib/python3.9/site-packages/PyInstaller/hooks'...
14565 INFO: Loading module hook 'hook-PIL.py' from '/usr/local/anaconda3/lib/python3.9/site-packages/PyInstaller/hooks'...
14614 INFO: Loading module hook 'hook-PIL.Image.py' from '/usr/local/anaconda3/lib/python3.9/site-packages/PyInstaller/hooks'...
16495 INFO: Loading module hook 'hook-xml.etree.cElementTree.py' from '/usr/local/anaconda3/lib/python3.9/site-packages/PyInstaller/hooks'...
16625 INFO: Loading module hook 'hook-xml.dom.domreg.py' from '/usr/local/anaconda3/lib/python3.9/site-packages/PyInstaller/hooks'...
17119 INFO: Loading module hook 'hook-platform.py' from '/usr/local/anaconda3/lib/python3.9/site-packages/PyInstaller/hooks'...
17562 INFO: Loading module hook 'hook-pycparser.py' from '/usr/local/anaconda3/lib/python3.9/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'...
18016 INFO: Loading module hook 'hook-distutils.util.py' from '/usr/local/anaconda3/lib/python3.9/site-packages/PyInstaller/hooks'...
18240 INFO: Loading module hook 'hook-setuptools.py' from '/usr/local/anaconda3/lib/python3.9/site-packages/PyInstaller/hooks'...
22839 INFO: Loading module hook 'hook-pkg_resources.py' from '/usr/local/anaconda3/lib/python3.9/site-packages/PyInstaller/hooks'...
27085 INFO: Loading module hook 'hook-importlib_metadata.py' from '/usr/local/anaconda3/lib/python3.9/site-packages/PyInstaller/hooks'...
27595 INFO: Loading module hook 'hook-packaging.py' from '/usr/local/anaconda3/lib/python3.9/site-packages/PyInstaller/hooks'...
28698 INFO: Loading module hook 'hook-numpy.py' from '/usr/local/anaconda3/lib/python3.9/site-packages/PyInstaller/hooks'...
30794 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/anaconda3/lib/python3.9/site-packages/PyInstaller/hooks'...
32287 INFO: Loading module hook 'hook-PIL.ImageFilter.py' from '/usr/local/anaconda3/lib/python3.9/site-packages/PyInstaller/hooks'...
34254 INFO: Loading module hook 'hook-lz4.py' from '/usr/local/anaconda3/lib/python3.9/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'...
34925 INFO: Loading module hook 'hook-lxml.py' from '/usr/local/anaconda3/lib/python3.9/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'...
37831 INFO: Loading module hook 'hook-reportlab.lib.utils.py' from '/usr/local/anaconda3/lib/python3.9/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'...
38028 INFO: Loading module hook 'hook-reportlab.pdfbase._fontdata.py' from '/usr/local/anaconda3/lib/python3.9/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'...
40577 INFO: Loading module hook 'hook-pyphen.py' from '/usr/local/anaconda3/lib/python3.9/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'...
42027 INFO: Loading module hook 'hook-Crypto.py' from '/usr/local/anaconda3/lib/python3.9/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'...
42902 INFO: Processing module hooks...
43204 INFO: Processing pre-safe import module hook six.moves from '/usr/local/anaconda3/lib/python3.9/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-six.moves.py'.
44940 INFO: Loading module hook 'hook-charset_normalizer.py' from '/usr/local/anaconda3/lib/python3.9/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'...
45251 INFO: Loading module hook 'hook-lxml.isoschematron.py' from '/usr/local/anaconda3/lib/python3.9/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'...
45256 INFO: Loading module hook 'hook-lxml.etree.py' from '/usr/local/anaconda3/lib/python3.9/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'...
45350 INFO: Processing pre-safe import module hook win32com from '/usr/local/anaconda3/lib/python3.9/site-packages/_pyinstaller_hooks_contrib/hooks/pre_safe_import_module/hook-win32com.py'.
46785 INFO: Loading module hook 'hook-jinja2.py' from '/usr/local/anaconda3/lib/python3.9/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'...
47228 INFO: Loading module hook 'hook-setuptools.msvc.py' from '/usr/local/anaconda3/lib/python3.9/site-packages/PyInstaller/hooks'...
48879 INFO: Loading module hook 'hook-PIL.SpiderImagePlugin.py' from '/usr/local/anaconda3/lib/python3.9/site-packages/PyInstaller/hooks'...
48908 INFO: Loading module hook 'hook-lxml.objectify.py' from '/usr/local/anaconda3/lib/python3.9/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'...
48938 INFO: Looking for ctypes DLLs
48961 INFO: Analyzing run-time hooks ...
48968 INFO: Including run-time hook '/usr/local/anaconda3/lib/python3.9/site-packages/PyInstaller/hooks/rthooks/pyi_rth_setuptools.py'
48969 INFO: Including run-time hook '/usr/local/anaconda3/lib/python3.9/site-packages/PyInstaller/hooks/rthooks/pyi_rth_multiprocessing.py'
48970 INFO: Including run-time hook '/usr/local/anaconda3/lib/python3.9/site-packages/PyInstaller/hooks/rthooks/pyi_rth_pkgres.py'
48975 INFO: Including run-time hook '/usr/local/anaconda3/lib/python3.9/site-packages/PyInstaller/hooks/rthooks/pyi_rth_pkgutil.py'
48976 INFO: Including run-time hook '/usr/local/anaconda3/lib/python3.9/site-packages/PyInstaller/hooks/rthooks/pyi_rth_inspect.py'
49003 INFO: Looking for dynamic libraries
51127 INFO: Looking for eggs
51134 INFO: Python library not among binary dependencies. Performing additional search...
51138 INFO: Using Python library /usr/local/anaconda3/lib/libpython3.9.dylib
51159 INFO: Warnings written to /Users/jie/bda/270-biotool-install/PDF-Guru/thirdparty/build/pdf/warn-pdf.txt
51250 INFO: Graph cross-reference written to /Users/jie/bda/270-biotool-install/PDF-Guru/thirdparty/build/pdf/xref-pdf.html
51286 INFO: checking PYZ
51286 INFO: Building PYZ because PYZ-00.toc is non existent
51286 INFO: Building PYZ (ZlibArchive) /Users/jie/bda/270-biotool-install/PDF-Guru/thirdparty/build/pdf/PYZ-00.pyz
52410 INFO: Building PYZ (ZlibArchive) /Users/jie/bda/270-biotool-install/PDF-Guru/thirdparty/build/pdf/PYZ-00.pyz completed successfully.
52431 INFO: EXE target arch: x86_64
52431 INFO: Code signing identity: None
52436 INFO: checking PKG
52436 INFO: Building PKG because PKG-00.toc is non existent
52436 INFO: Building PKG (CArchive) pdf.pkg
Traceback (most recent call last):
File "/usr/local/anaconda3/lib/python3.9/site-packages/PyInstaller/building/utils.py", line 376, in checkCache
osxutils.sign_binary(cachedfile, codesign_identity, entitlements_file)
File "/usr/local/anaconda3/lib/python3.9/site-packages/PyInstaller/utils/osx.py", line 386, in sign_binary
raise SystemError(f"codesign command ({cmd_args}) failed with error code {p.returncode}!\noutput: {p.stdout}")
SystemError: codesign command (['codesign', '-s', '-', '--force', '--all-architectures', '--timestamp', '/Users/jie/Library/Application Support/pyinstaller/bincache00_py39_64bit/x86_64/adhoc/no-entitlements/lib-dynload/_struct.cpython-39-darwin.so']) failed with error code 109!
output: The following arguments were not expected: --timestamp --all-architectures
Run with --help for more information.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/anaconda3/bin/pyinstaller", line 8, in
sys.exit(_console_script_run())
File "/usr/local/anaconda3/lib/python3.9/site-packages/PyInstaller/main.py", line 194, in _console_script_run
run()
File "/usr/local/anaconda3/lib/python3.9/site-packages/PyInstaller/main.py", line 180, in run
run_build(pyi_config, spec_file, **vars(args))
File "/usr/local/anaconda3/lib/python3.9/site-packages/PyInstaller/main.py", line 61, in run_build
PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
File "/usr/local/anaconda3/lib/python3.9/site-packages/PyInstaller/building/build_main.py", line 1019, in main
build(specfile, distpath, workpath, clean_build)
File "/usr/local/anaconda3/lib/python3.9/site-packages/PyInstaller/building/build_main.py", line 944, in build
exec(code, spec_namespace)
File "/Users/jie/bda/270-biotool-install/PDF-Guru/thirdparty/pdf.spec", line 24, in
exe = EXE(
File "/usr/local/anaconda3/lib/python3.9/site-packages/PyInstaller/building/api.py", line 572, in init
self.pkg = PKG(
File "/usr/local/anaconda3/lib/python3.9/site-packages/PyInstaller/building/api.py", line 240, in init
self.postinit()
File "/usr/local/anaconda3/lib/python3.9/site-packages/PyInstaller/building/datastruct.py", line 184, in postinit
self.assemble()
File "/usr/local/anaconda3/lib/python3.9/site-packages/PyInstaller/building/api.py", line 291, in assemble
src_name = checkCache(
File "/usr/local/anaconda3/lib/python3.9/site-packages/PyInstaller/building/utils.py", line 395, in checkCache
raise SystemError(f"Failed to process binary {cachedfile!r}!") from e
SystemError: Failed to process binary '/Users/jie/Library/Application Support/pyinstaller/bincache00_py39_64bit/x86_64/adhoc/no-entitlements/lib-dynload/_struct.cpython-39-darwin.so'!
from pdf-guru.
Mac端我目前没有测试机器,有条件的可以根据README的编译安装部分自行编译安装
from pdf-guru.
Related Issues (20)
- 希望能将收费用户和免费用户分开
- 1.17版本PDF添加水印,使用*匹配多个文件时报错
- 使用通配符*批量ocr时报错
- 内容水印步骤一可以正常进行,步骤二不能工作 HOT 1
- 图片转换为pdf报错 HOT 6
- pdf转docx
- 希望引入GPT-4自动生成Anki问答卡片 HOT 1
- MAC big sur下,用最新版本打开后,没有内容。。。。 HOT 1
- 购买激活码跳转淘宝链接失效了 HOT 1
- 希望PDF-Guru用于默认查看PDF,PDF查看器。
- 关于优化添加书签功能的小建议 HOT 6
- 使用基于字体属性生成标签的功能时报错 HOT 1
- docx转md报错
- 能否增加一个手写字迹擦除功能
- 去错PDF水印报错 HOT 3
- 求适配知犀思维导图 HOT 1
- 有命令行的使用方式吗
- 这种怎么批量做选择题制卡 HOT 1
- 下载后在内网环境中无法使用软件 HOT 1
- PDF OCR显示连接服务器超时 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pdf-guru.