KitwareMedical / KitwareMedical/pyLAR

example code run error

Open
#9 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
23
Forks
14
PR merge metrics
No merged PRs in 30d

Description

When I try to run the example code I got this error. Any ideas? thanks in advance

Traceback (most recent call last): File "ex1.py", line 52, in <module> import pyLAR.alm.ialm as ialm File "/home/king/opencv_codes/pyLAR-master/examples/../pyLAR/__init__.py", line 20, in <module> from . import alm File "/home/king/opencv_codes/pyLAR-master/examples/../pyLAR/alm/__init__.py", line 20, in <module> from . import ealm File "/home/king/opencv_codes/pyLAR-master/examples/../pyLAR/alm/ealm.py", line 189 print ' '.join(message) ^ SyntaxError: invalid syntax

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with examples/ex1.py at line 52 and pyLAR/alm/ealm.py at line 189, then check which Python version the example is being run with. Reproduce the reported SyntaxError and trace the import path; done means the example imports pyLAR without this error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
developer-experience
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.