royerlab / aydin

Aydin — User-friendly, Fast, Self-Supervised Image Denoising for All.
https://royerlab.github.io/aydin/
BSD 3-Clause "New" or "Revised" License
151 stars 14 forks source link

Problem with Aydin installation #263

Closed maryebrown1 closed 2 years ago

maryebrown1 commented 2 years ago

I get the following code when I try to launch aydin 0.0.15: ``(aydin_env) C:\Users\Mary Brown>aydin Traceback (most recent call last): File "C:\Users\Mary Brown.conda\envs\aydin_env\lib\runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Users\Mary Brown.conda\envs\aydin_env\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\Mary Brown.conda\envs\aydin_env\Scripts\aydin.exe__main.py", line 4, in File "C:\Users\Mary Brown.conda\envs\aydin_env\lib\site-packages\aydin\cli\cli.py", line 16, in from aydin.gui.gui import run File "C:\Users\Mary Brown.conda\envs\aydin_env\lib\site-packages\aydin\gui\gui.py", line 7, in from aydin.gui.main_page import MainPage File "C:\Users\Mary Brown.conda\envs\aydin_env\lib\site-packages\aydin\gui\main_page.py", line 27, in from aydin.gui.tabs.qt.denoising_cropping import DenoisingCroppingTab File "C:\Users\Mary Brown.conda\envs\aydin_env\lib\site-packages\aydin\gui\tabs\qt\denoising_cropping.py", line 1, in from aydin.gui.tabs.qt.base_cropping import BaseCroppingTab File "C:\Users\Mary Brown.conda\envs\aydin_env\lib\site-packages\aydin\gui\tabs\qt\base_cropping.py", line 2, in from napari._qt.qt_viewer import QtViewer File "C:\Users\Mary Brown.conda\envs\aydin_env\lib\site-packages\napari_qt__init__.py", line 6, in from ..utils.translations import trans File "C:\Users\Mary Brown.conda\envs\aydin_env\lib\site-packages\napari\utils__init__.py", line 2, in from .colormaps import Colormap File "C:\Users\Mary Brown.conda\envs\aydin_env\lib\site-packages\napari\utils\colormaps\init.py", line 2, in from .colormap import Colormap File "C:\Users\Mary Brown.conda\envs\aydin_env\lib\site-packages\napari\utils\colormaps\colormap.py", line 7, in from ..events import EventedModel File "C:\Users\Mary Brown.conda\envs\aydin_env\lib\site-packages\napari\utils\events\init__.py", line 1, in from .event import ( # isort:skip File "C:\Users\Mary Brown.conda\envs\aydin_env\lib\site-packages\napari\utils\events\event.py", line 73, in from ..translations import trans File "C:\Users\Mary Brown.conda\envs\aydin_env\lib\site-packages\napari\utils\translations.py", line 13, in from ._base import _DEFAULT_CONFIG_PATH, _DEFAULT_LOCALE File "C:\Users\Mary Brown.conda\envs\aydin_env\lib\site-packages\napari\utils_base.py", line 14, in _DEFAULT_CONFIG_PATH = user_config_dir(_APPNAME, _APPAUTHOR, _FILENAME) File "C:\Users\Mary Brown.conda\envs\aydin_env\lib\site-packages\appdirs.py", line 196, in user_config_dir path = user_data_dir(appname, appauthor, None, roaming) File "C:\Users\Mary Brown.conda\envs\aydin_env\lib\site-packages\appdirs.py", line 81, in user_data_dir path = os.path.normpath(_get_win_folder(const)) File "C:\Users\Mary Brown.conda\envs\aydin_env\lib\site-packages\appdirs.py", line 480, in _get_win_folder_with_pywin32 from win32com.shell import shellcon, shell ImportError: DLL load failed while importing shell: The specified procedure could not be found.

I am not learned in computer coding and I'm not sure how to interpret this. What is wrong with my Aydin 0.1.15 installation? Will you create an exe or msi Windows installation file for this new version of Aydin? Thank you.

AhmetCanSolak commented 2 years ago

Hello @maryebrown1 , thank you for reporting the error and using Aydin!

It seems installed pywin32 version causing trouble, installing an earlier version might help, you can do that with pip install --upgrade pywin32==228. What's your conda version also?

Yes I will be making the executable for v0.1.15 for Windows later today, will drop the link here.

Meanwhile let me know if I can help with anything else!

maryebrown1 commented 2 years ago

Thank you! I'll look for the executable later today.

On Wed, Oct 19, 2022, 11:46 AM Ahmet Can Solak @.***> wrote:

Hello @maryebrown1 https://github.com/maryebrown1 , thank you for reporting the error and using Aydin!

It seems installed pywin32 version causing trouble, installing an earlier version might help, you can do that with pip install --upgrade pywin32==228. What's your conda version also?

Yes I will be making the executable for v0.1.15 for Windows later today, will drop the link here.

Meanwhile let me know if I can help with anything else!

— Reply to this email directly, view it on GitHub https://github.com/royerlab/aydin/issues/263#issuecomment-1284298148, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGKEW3TKKLYL2OMILP3FIMLWEAQWFANCNFSM6AAAAAARJC3TQU . You are receiving this because you were mentioned.Message ID: @.***>

AhmetCanSolak commented 2 years ago

Hi @maryebrown1, here you can find the windows built for v0.1.15: https://github.com/royerlab/aydin/releases/download/v0.1.15/aydin_v0.1.15_win.zip

AhmetCanSolak commented 2 years ago

Are you able to use the executable smoothly or same/similar problem still occurs @maryebrown1 ?

maryebrown1 commented 2 years ago

The executable app works for me! Thank you for your help!

On Thu, Oct 20, 2022, 6:03 PM Ahmet Can Solak @.***> wrote:

Are you able to use the executable smoothly or same/similar problem still occurs @maryebrown1 https://github.com/maryebrown1 ?

— Reply to this email directly, view it on GitHub https://github.com/royerlab/aydin/issues/263#issuecomment-1286255237, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGKEW3SQDMHMGDWWK7WHRZ3WEHFUHANCNFSM6AAAAAARJC3TQU . You are receiving this because you were mentioned.Message ID: @.***>

AhmetCanSolak commented 2 years ago

glad to hear that @maryebrown1 , I will close the issue now but feel free to open a new issue if you face any other problems, happy denoising!