error when installing: No such file or directory: '/System/Library/CoreServices/SystemVersion.plist'
See original GitHub issuewhen updating to 5.0 on Ubuntu 18.04 and python3.6
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-543k_rpn/pyobjc-framework-Cocoa/setup.py'"'"'; __file__='"'"'/tmp/pip-install-543k_rpn/pyobjc-framework-Cocoa/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-543k_rpn/pyobjc-framework-Cocoa/pip-egg-info
cwd: /tmp/pip-install-543k_rpn/pyobjc-framework-Cocoa/
Complete output (15 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-543k_rpn/pyobjc-framework-Cocoa/setup.py", line 25, in <module>
extra_link_args=["-framework", "CoreFoundation"],
File "/tmp/pip-install-543k_rpn/pyobjc-framework-Cocoa/pyobjc_setup.py", line 408, in Extension
os_level = get_os_level()
File "/tmp/pip-install-543k_rpn/pyobjc-framework-Cocoa/pyobjc_setup.py", line 218, in get_os_level
pl = plistlib.readPlist("/System/Library/CoreServices/SystemVersion.plist")
File "/usr/lib/python3.6/plistlib.py", line 162, in readPlist
with _maybe_open(pathOrFile, 'rb') as fp:
File "/usr/lib/python3.6/contextlib.py", line 81, in __enter__
return next(self.gen)
File "/usr/lib/python3.6/plistlib.py", line 120, in _maybe_open
with open(pathOrFile, mode) as fp:
FileNotFoundError: [Errno 2] No such file or directory: '/System/Library/CoreServices/SystemVersion.plist'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
``
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Info.plist file "no such file" error - Stack Overflow
plist file usually is located in the same folder ad project. You can always open project file in vi and edit it manually....
Read more >Issues - GitHub
While installing uYou Plus IPA I'm always getting this “ MessagesExtension.appex/Info.plist: No such file or directory”.
Read more >App Won't Compile with Embedded Third Party Framework
"Build succeeds" but the app won't run and Xcode spits out an error: Could not install at this time. Failed to load Info.plist...
Read more >How to Fix Python `No such file or directory` Compiler Errors ...
A common error that you may receive when installing Python modules is the No such file or directory error. This error results from...
Read more >Chapter 8. Advanced pkg-plist Practices
A dynamic package list is a package list which is generated at the time the port is compiled based upon the files and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed in v0.5.1 - please try installing now, I’ve tested this on my Linux machine and it works.
Hm, it’s trying to install
pyobjc-framework-Cocoa
, which only exists for macOS. I thought the following lines insetup.py
should have handled this:I’ll check on my Linux machine right now.