DeMarcoLab / juno

juno is a simulation package for optical system design using full wave propagation.
https://demarcolab.github.io/juno
MIT License
59 stars 2 forks source link

ModuleNotFoundError: No module named 'juno' #59

Open marcorilli opened 1 year ago

marcorilli commented 1 year ago

On starting the tutorial, after following installation and running:

(juno)>juno_ui

I get: Traceback (most recent call last): File "C:\Users\XX\Anaconda3\envs\juno\lib\runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Users\XX\Anaconda3\envs\juno\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\XX\Anaconda3\envs\juno\Scripts\juno_ui.exe__main__.py", line 4, in ModuleNotFoundError: No module named 'juno'

I'd like to request assistance with this.. [I have modest familiarity with anaconda pip, python, jupyter] I am running on windows 10.

Bhavesh012 commented 10 months ago

I am having the same issue.

(juno) bhavesh@Bhaveshs-MBP KOOL % juno_ui
zsh: command not found: juno_ui

But it seems more like a command not being recognised issue as it runs if we manually do this:

(juno) bhavesh@Bhaveshs-MBP KOOL % cd juno/ui
(juno) bhavesh@Bhaveshs-MBP KOOL % python main.py

Do we have to put this path or create some kind of alias?

I am running this on M1 Pro with Python 3.8 and napari with PySide2.