Python 3 Virtualenv + Binary: Installation fails - AttributeError: module 'plistlib' has no attribute 'Dict' #322
Comments
You're right. I was using Python 3.7. I managed to get it working by using PyPy. |
I had a similar issue with the following description: I have an application in a python script
with the following
but got the following error message:
I tried to to follow the commands on the github page mentioned by @vdalv and typed the following code:
However after entering the line
I also tried the following commands:
But also got
after entering the line What am I doing wrong? |
ok in the meantime, I got an answer that worked for me: instead of
write
|
this worked for me using python==3.7, had to use py2app==0.19 |
I final step of the Python 3 Virtualenv + Binary installation instructions fails. Any thoughts as to why this is failing?
`(labelImg-c78H3X17) ➜ labelImg git:(master) ✗ python setup.py py2app -A
running py2app
Traceback (most recent call last):
File "setup.py", line 64, in
setup_requires=['py2app']
File "/Users/karthig/.local/share/virtualenvs/labelImg-c78H3X17/lib/python3.7/site-packages/setuptools/init.py", line 129, in setup
return distutils.core.setup(**attrs)
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/dist.py", line 984, in run_command
cmd_obj.ensure_finalized()
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/cmd.py", line 107, in ensure_finalized
self.finalize_options()
File "/Users/karthig/.local/share/virtualenvs/labelImg-c78H3X17/lib/python3.7/site-packages/py2app/build_app.py", line 614, in finalize_options
if isinstance(self.plist, plistlib.Dict):
AttributeError: module 'plistlib' has no attribute 'Dict'`
The text was updated successfully, but these errors were encountered: