-
Notifications
You must be signed in to change notification settings - Fork 42
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
Installation issue #226
Comments
I am having the same issues when trying to install Ashlar in a conda environment (Anaconda distribution running on Windows 10). |
did you find a solution? |
Nope. I tried the same steps on 3 different systems with different configurations and everytime the same error. I guess the package is damaged or something. |
Sorry, this is a problem with python 3.12 compatibility in the versions of ashlar currently available via pip. You can either create a virtual environment with python 3.11, or you can use python 3.12 and install directly from github where we've fixed the problem:
I will try to release an updated version to pypi soon. |
It worked with above installation command for me. Can you help me how the data must look like ? like if we have tiles in 6x11 mosaic. Can we define it is 6x11 ? |
Sure, I will need to see a list of some example filenames, and it may be helpful to know what microscope you are using. |
Ashlar 1.19.0 is now available with the fix for Python 3.12. Please try to install it and let me know whether it works for you. |
For file names they are like X00Y00 to define position in the mosaic. But to use in ImageJ I have also named it as image_1 to image_66. |
I am unable to install it Pip is not working conda is not working and There is no document available on how to run it inside a docker. Can anyone help ? I am getting this error after setting up conda envirnment.
python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [18 lines of output]
/tmp/pip-install-j7v3d4gg/ashlar_ebf1d54e34214b36a970cdd602bdf9cd/versioneer.py:423: SyntaxWarning: invalid escape sequence '\s'
LONG_VERSION_PY['git'] = '''
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/tmp/pip-install-j7v3d4gg/ashlar_ebf1d54e34214b36a970cdd602bdf9cd/setup.py", line 24, in
VERSION = versioneer.get_version()
^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-install-j7v3d4gg/ashlar_ebf1d54e34214b36a970cdd602bdf9cd/versioneer.py", line 1483, in get_version
return get_versions()["version"]
^^^^^^^^^^^^^^
File "/tmp/pip-install-j7v3d4gg/ashlar_ebf1d54e34214b36a970cdd602bdf9cd/versioneer.py", line 1415, in get_versions
cfg = get_config_from_root(root)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-install-j7v3d4gg/ashlar_ebf1d54e34214b36a970cdd602bdf9cd/versioneer.py", line 344, in get_config_from_root
parser = configparser.SafeConfigParser()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
The text was updated successfully, but these errors were encountered: