Closed rhaynes74 closed 3 years ago
Regarding installation, it should be available via the community plugins once https://github.com/obsidianmd/obsidian-releases/pull/463 is merged.
Regarding the plugin not working as expected, could you please use the "View" > "Toggle Developer Tools" menu item and post any error messages that are shown in the console?
Many thanks for the reply. Thanks for reminding me of the console!!
When I click on run the console reports:
File ".obsidian/plugins/obsidian-jupyter/obsidian-jupyter.py", line 3, in
Python/jupyterlab installed via home-brew on the Mac.
Jupiter lab works fine (opens in browser and works).
Sincerely,
Dr. Ronald D. Haynes Professor, Department of Mathematics and Statistics Chair, MSc and Phd Scientific Computing Programs Memorial University of Newfoundland
We acknowledge that the lands on which Memorial University’s campuses are situated are in the traditional territories of diverse Indigenous groups, and we acknowledge with respect the diverse histories and cultures of the Beothuk, Mi’kmaq, Innu, and Inuit of this province. On Sep 1, 2021, 8:50 AM -0230, Till Hoffmann @.***>, wrote:
Regarding installation, it should be available via the community plugins once obsidianmd/obsidian-releases#463 is merged. Regarding the plugin not working as expected, could you please use the "View" > "Toggle Developer Tools" menu item and post any error messages that are shown in the console? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
Just to add, if I run python3 in the terminal and do the same command it works:
python3 Python 3.9.6 (default, Jun 29 2021, 05:25:02) [Clang 12.0.5 (clang-1205.0.22.9)] on darwin Type "help", "copyright", "credits" or "license" for more information.
from jupyter_client import KernelManager
This seems to work fine, no error reported.
Sincerely,
Dr. Ronald D. Haynes
Professor, Department of Mathematics and Statistics Chair, MSc and PhD Scientific Computing Programs Memorial University of Newfoundland
We acknowledge that the lands on which Memorial University’s campuses are situated are in the traditional territories of diverse Indigenous groups, and we acknowledge with respect the diverse histories and cultures of the Beothuk, Mi’kmaq, Innu, and Inuit of this province. On Sep 1, 2021, 9:41 AM -0230, Ronald Haynes @.***>, wrote:
Many thanks for the reply. Thanks for reminding me of the console!!
When I click on run the console reports:
File ".obsidian/plugins/obsidian-jupyter/obsidian-jupyter.py", line 3, in
from jupyter_client import Kernel Manager ImportError: No module named jupyter_client Python/jupyterlab installed via home-brew on the Mac.
Jupiter lab works fine (opens in browser and works).
Sincerely,
Dr. Ronald D. Haynes Professor, Department of Mathematics and Statistics Chair, MSc and Phd Scientific Computing Programs Memorial University of Newfoundland
We acknowledge that the lands on which Memorial University’s campuses are situated are in the traditional territories of diverse Indigenous groups, and we acknowledge with respect the diverse histories and cultures of the Beothuk, Mi’kmaq, Innu, and Inuit of this province. On Sep 1, 2021, 8:50 AM -0230, Till Hoffmann @.***>, wrote:
Regarding installation, it should be available via the community plugins once obsidianmd/obsidian-releases#463 is merged. Regarding the plugin not working as expected, could you please use the "View" > "Toggle Developer Tools" menu item and post any error messages that are shown in the console? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
Ok - I was missing some python packages! After installing a bunch of things, I now get the following error:
created new client for doc c69caa647d36a038 main.ts:43 INFO:obsidian-jupyter:started server for document c69caa647d36a038
main.ts:43 INFO:obsidian-jupyter:received request: {"id":"a6978e3c-fc8a-4ad0-8a39-b30d9620c176","body":{"command":"execute","source":"x = 4 \ny = x+2\nprint(2*y)\npass\n"}}
main.ts:43 WARNING:traitlets:Kernelspec name python3 cannot be found!
Sincerely,
Dr. Ronald D. Haynes
Professor, Department of Mathematics and Statistics Chair, MSc and PhD Scientific Computing Programs Memorial University of Newfoundland
We acknowledge that the lands on which Memorial University’s campuses are situated are in the traditional territories of diverse Indigenous groups, and we acknowledge with respect the diverse histories and cultures of the Beothuk, Mi’kmaq, Innu, and Inuit of this province. On Sep 1, 2021, 11:07 AM -0230, Ronald Haynes @.***>, wrote:
Just to add, if I run python3 in the terminal and do the same command it works:
python3 Python 3.9.6 (default, Jun 29 2021, 05:25:02) [Clang 12.0.5 (clang-1205.0.22.9)] on darwin Type "help", "copyright", "credits" or "license" for more information.
from jupyter_client import KernelManager
This seems to work fine, no error reported.
Sincerely,
Dr. Ronald D. Haynes
Professor, Department of Mathematics and Statistics Chair, MSc and PhD Scientific Computing Programs Memorial University of Newfoundland
We acknowledge that the lands on which Memorial University’s campuses are situated are in the traditional territories of diverse Indigenous groups, and we acknowledge with respect the diverse histories and cultures of the Beothuk, Mi’kmaq, Innu, and Inuit of this province. On Sep 1, 2021, 9:41 AM -0230, Ronald Haynes @.***>, wrote:
Many thanks for the reply. Thanks for reminding me of the console!!
When I click on run the console reports:
File ".obsidian/plugins/obsidian-jupyter/obsidian-jupyter.py", line 3, in
from jupyter_client import Kernel Manager ImportError: No module named jupyter_client Python/jupyterlab installed via home-brew on the Mac.
Jupiter lab works fine (opens in browser and works).
Sincerely,
Dr. Ronald D. Haynes Professor, Department of Mathematics and Statistics Chair, MSc and Phd Scientific Computing Programs Memorial University of Newfoundland
We acknowledge that the lands on which Memorial University’s campuses are situated are in the traditional territories of diverse Indigenous groups, and we acknowledge with respect the diverse histories and cultures of the Beothuk, Mi’kmaq, Innu, and Inuit of this province. On Sep 1, 2021, 8:50 AM -0230, Till Hoffmann @.***>, wrote:
Regarding installation, it should be available via the community plugins once obsidianmd/obsidian-releases#463 is merged. Regarding the plugin not working as expected, could you please use the "View" > "Toggle Developer Tools" menu item and post any error messages that are shown in the console? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
And one last update - it seems to be working! I had problems with kernels. I guess I assumed that b/c Jupyter lab was working on its own that the plugin would work, but unfortunately not the case.
One remaining issue. When I revert back to edit mode my font sizes are all messed up. The Jupyter code cell is rendered in a really small font.
Sincerely,
Dr. Ronald D. Haynes
Professor, Department of Mathematics and Statistics Chair, MSc and PhD Scientific Computing Programs Memorial University of Newfoundland
We acknowledge that the lands on which Memorial University’s campuses are situated are in the traditional territories of diverse Indigenous groups, and we acknowledge with respect the diverse histories and cultures of the Beothuk, Mi’kmaq, Innu, and Inuit of this province. On Sep 1, 2021, 9:41 AM -0230, Ronald Haynes @.***>, wrote:
Many thanks for the reply. Thanks for reminding me of the console!!
When I click on run the console reports:
File ".obsidian/plugins/obsidian-jupyter/obsidian-jupyter.py", line 3, in
from jupyter_client import Kernel Manager ImportError: No module named jupyter_client Python/jupyterlab installed via home-brew on the Mac.
Jupiter lab works fine (opens in browser and works).
Sincerely,
Dr. Ronald D. Haynes Professor, Department of Mathematics and Statistics Chair, MSc and Phd Scientific Computing Programs Memorial University of Newfoundland
We acknowledge that the lands on which Memorial University’s campuses are situated are in the traditional territories of diverse Indigenous groups, and we acknowledge with respect the diverse histories and cultures of the Beothuk, Mi’kmaq, Innu, and Inuit of this province. On Sep 1, 2021, 8:50 AM -0230, Till Hoffmann @.***>, wrote:
Regarding installation, it should be available via the community plugins once obsidianmd/obsidian-releases#463 is merged. Regarding the plugin not working as expected, could you please use the "View" > "Toggle Developer Tools" menu item and post any error messages that are shown in the console? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
Thanks for the updates; glad you could get it to work. Do you have a before and after screenshot of the font size in the editor?
Please the following attachments (and thanks for your patience!)
Sincerely,
Dr. Ronald D. Haynes Professor, Department of Mathematics and Statistics Chair, MSc and Phd Scientific Computing Programs Memorial University of Newfoundland
We acknowledge that the lands on which Memorial University’s campuses are situated are in the traditional territories of diverse Indigenous groups, and we acknowledge with respect the diverse histories and cultures of the Beothuk, Mi’kmaq, Innu, and Inuit of this province. On Sep 1, 2021, 6:02 PM -0230, Till Hoffmann @.***>, wrote:
Thanks for the updates; glad you could get it to work. Do you have a before and after screenshot of the font size in the editor? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
Hey, unfortunately, GitHub doesn't process attachments in emails.
Unfortunately, I can't reproduce this issue here. Which operating system/obsidian version are you using?
Hi - latest Mac OS X and latest obsidian version.
Sincerely,
Dr. Ronald D. Haynes Professor, Department of Mathematics and Statistics Chair, MSc and Phd Scientific Computing Programs Memorial University of Newfoundland
We acknowledge that the lands on which Memorial University’s campuses are situated are in the traditional territories of diverse Indigenous groups, and we acknowledge with respect the diverse histories and cultures of the Beothuk, Mi’kmaq, Innu, and Inuit of this province. On Sep 6, 2021, 7:52 AM -0230, Till Hoffmann @.***>, wrote:
Unfortunately, I can't reproduce this issue here. Which operating system/obsidian version are you using? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
Will close this one and track in #10 instead.
Good day! I was wondering if there are some install instructions available?
update: I followed the generic instructions for installing plugins. Seems ok, the plugin shows up inside obsidian, I specify the path for the python interpreter (I think!) but things don't work. I just get a "Running" showing up when I press run, it never stops or returns any output.
I have tried giving the whole path to the interpreter or just the command
python3
At the command line I get: python3 Python 3.9.6 (default, Jun 29 2021, 05:25:02) [Clang 12.0.5 (clang-1205.0.22.9)] on darwin Type "help", "copyright", "credits" or "license" for more information.
so python3 is in my path. Suggestions?