-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when running #20
Comments
Hi @timlaw71, I have not yet tested PyMeta with Python 3.10 and will absolutely look into this. Does it work with lower versions of the language? |
If I run python3 ./pymeta.py if seems to work. I'm on python 3.10.8 |
I had the same error on Python 3.9, downloaded from pypi. In the package I just went to line 140 in ./env/lib/Python3.9/site-packages/pymeta/init.py and fixed the indent on "def get_agent():" and it worked. |
Would like to add I had the same issue, and same thing fixed it. There is a space or two in front of the line "def get_agent()". |
I'm getting this error when trying to run.
└─$ pymeta -h
Traceback (most recent call last):
File "/usr/local/bin/pymeta", line 33, in
sys.exit(load_entry_point('pymetasec==1.2.0', 'console_scripts', 'pymeta')())
File "/usr/local/bin/pymeta", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.10/importlib/metadata/init.py", line 171, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 879, in exec_module
File "", line 1017, in get_code
File "", line 947, in source_to_code
File "", line 241, in _call_with_frames_removed
File "/home/tim/.local/lib/python3.10/site-packages/pymeta/init.py", line 140
def get_agent():
^
IndentationError: unindent does not match any outer indentation level
The text was updated successfully, but these errors were encountered: