Skip to content
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

Auto-complete does not work in Slicer-4.11 #27

Closed
lassoan opened this issue Sep 9, 2019 · 1 comment
Closed

Auto-complete does not work in Slicer-4.11 #27

lassoan opened this issue Sep 9, 2019 · 1 comment
Assignees

Comments

@lassoan
Copy link
Contributor

lassoan commented Sep 9, 2019

Auto-complete does not work in Slicer-4.11, because "jedi" Python package is not found.

Jedi is bundled in the extension package, but Slicer does not add the site-packages subfolder of the extension to PYTHONPATH - see result of this command on Slicer-4.10 and Slicer-4.11:

print('\n'.join(os.environ['PYTHONPATH'].split(os.pathsep)))

If I manually modify SlicerLauncherSettings.ini by adding the site-packages folder then auto-completion works well.

[PYTHONPATH]
...
12\path=c:/Users/andra/appdata/Roaming/NA-MIC/Extensions-28482/SlicerJupyter/Lib/site-packages
...

@lassoan
Copy link
Contributor Author

lassoan commented May 7, 2020

Fixed by switching to xeus-python kernel.

@lassoan lassoan closed this as completed May 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants