Why can't I use PEP8 Check Style?
-
Error: module 'editor' has no attribute 'get_path'
Pythonista 3 300007
-
What does the output of
import editor; editor.__file__
say? You might have a file namededitor.py
in your Script Library, which is being imported instead of the standardeditor.py
.
-
This post is deleted!last edited by
-
I find the reason
'''
[python-editor]
url = pypi
version = 1.0
summary = Programmatically open an editor, capture the result.
files = /private/var/mobile/Containers/Shared/AppGroup/5FEC4389-8C70-4202-8AF1-C02CD4FBFC59/Pythonista3/Documents/site-packages/editor.py
dependency ='''
editor.py is python-editor 's file name
-
last edited by
-
Seems as though you have installed a file named editor.py onto your path.... don't do that, it prevents the real editor from being imported.