-
Notifications
You must be signed in to change notification settings - Fork 244
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 error about scanimage-tiff-reader #950
Comments
Hi @HuijeongJeong, this seems to be an issue that the developers of the scanimage-tiff-reader can better solve. Could you post an issue there and see what they say? |
you could also try python=3.8, it seems that pypi just recently deprecated the legacy way that scanimagetiffreader is installed |
Hi Carsen and Chris, I have tried python = 3.8 as well as tried 'pip install git+https://github.com/mouseland/suite2p.git' and neither seem to work, unfortunately. After trying pip install git+https://github.com/mouseland/suite2p.git, I tried to open suite2p but was unable to open the GUI. I got this error below: File "C:\Users\scanimage\anaconda3\envs\suite2p\lib\site-packages\suite2p\io_init_.py", line 5, in When trying the regular installation method with python = 3.8, I received the error below: python setup.py bdist_wheel did not run successfully.
. note: This error originates from a subprocess, and is likely not a problem with pip. |
oops I forgot to fix that import on line 82 of tiff.py, please try again with the latest version of the code |
Hi Carsen, Thanks for your help! Now I can open suite2p (after downloading a couple of additional modules). However, I am still having some issues with the ROI detection. I downloaded suite2p a year ago, and it works well on my local desktop. I downloaded suite2p just a day ago on a new computer with your help. Running suite2p on both my local desktop and the new computer yields vastly different results. Using the same parameters (roidetect = 1, anatomical_only = 3), I detect around 1000 ROIs for a test tiff file on my local desktop and only 10 ROIs on the new computer. For some reason, the newly downloaded suite2p is completely missing all the cells. Is there any way to maybe download an older version of suite2p? Or might there be another solution? Thanks again! Sincerely, Jen |
my hunch would be that you didn't set the diameter parameter to the average cell size - Cellpose (anatomical algorithm) is very sensitive to that. I would check all the ops are the same in the previous run and the current run. I tried anatomical_only=3 with the latest version and had no issues. You can also turn off the flow_threshold (set it to 0; |
Thank you so much, Carsen! I changed the diameter to a reasonable number, and it was able to detect a lot of ROIs. Whoohoo! |
* add get_nd2_list method * remove comment * support pipelining nd2 files * support pipelining nd2 files * fix docstring and whitespaces * bug fix * final touch * Modified README to contain updated suite2p installation instructions for mac Ventura OS. Addresses issue MouseLand#897. * Fixed issue MouseLand#908 regarding badframes for register.py. Detection module was fixed to properly bin movies AFTEr taking into account bad frames. * Fix blocks issue for nonrigid registration in MouseLand#907 * Update test_and_deploy.yml * Removed whitespace from display xauthority line in tox.ini. * Update test_and_deploy.yml Add apt-get update for linux runner and remove dvc requirement. * Update test_and_deploy.yml Added py import to workflow file and added debugging only during job failures * Update test_and_deploy.yml * Update tox.ini * Update test_and_deploy.yml Remove the up-term step. * Updated TwophotonSeries initialization for save_nwb in io * Bump torch from 1.11.0 to 1.13.1 Bumps [torch](https://github.com/pytorch/pytorch) from 1.11.0 to 1.13.1. - [Release notes](https://github.com/pytorch/pytorch/releases) - [Changelog](https://github.com/pytorch/pytorch/blob/master/RELEASE.md) - [Commits](pytorch/pytorch@v1.11.0...v1.13.1) --- updated-dependencies: - dependency-name: torch dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * Update issue templates * Update installation-issues.yml for issues * Rename installation-issues.yml to installation-issue.yml * Update installation issue.yml * Update bug_report.yml * Added bug_report.yml issue template * Update all issue templates * Update feature_request issue * Update feature_request.yml * Fixes issue MouseLand#914 for saving news ops parameters * Update documentation_issue.yml * Update documentation_issue.yml * Fixes multiplane issue MouseLand#905 with save_nwb * Fixes issue MouseLand#904 for 2 channel manual labeling * Update .readthedocs.yml * remove spaces * conform to function signature and usage pattern a few lines above * add nd2 in requirements * minor revision * new logic * refactor dim sorting * revert to previous code * Fixes the from_stat_dict bug mentioned in MouseLand#935. * Update run suite2p jupyter notebook to fix issue MouseLand#935 * Addresses MouseLand#930 in which bin_data has trouble dealing with cases in which the current batch has fewer frames than the bin_size * removed ops assignment * removed deprecated np.bool * Update the version of the dependencies for suite2p * Update np.bool to 'bool' to account for numpy deprecation with latest version * Add Sparse detection to gui as a setting for running suite2p * Addresses MouseLand#951 and adds nd2 as an input to gui * Fix issue with np.asanyarray being changed in numpy 1.24.4 * addressed IndexError * Update README.md * Update README.md * fixing skip torch if version 2.0 * adding pep8 style to repo * fixing dictionary splitting * modifying imports * converting to "" from '' * converting binaryfile to memmap * rewriting binarycombined * removing scanimage-tiff-reader for now * fixing dragging in gui and linewidth=88 * removing old testing yml * adding py39, updating readme * adding option for MouseLand#955 * fixing bug in docstring (MouseLand#902) * adding iplane to saved manual ROIs (MouseLand#789) * fixing MouseLand#747 saving to mat * making nd2 and scanimage-tiff-reader optional (MouseLand#950) * removing bruker dependency on scanimage-tiff-reader * Create codecov.yml * Update README.md * Update README.md * Update README.md * Update README.md * Update BinaryRWFile name usage to BinaryFile * Add instructions on how to use test_data generation script * Added instructions on generating new test data * Add method for writing tiff for binaryFile class * Update write_tiff for binary.py to crop frames, x, and y too * fix frame range issue with write_Tiff for binary * added debugging logs * removed debugging logs * removed print statement * removed unnecessary space * Fixes MouseLand#943 to address documentation issue with high_pass * adding copyright to every py file * Delete .dvc directory * fixing import error with h5py and paramiko MouseLand#987 * Update README.md * Add pynwb package to setup.py as tests needs pynwb for one of the io_tests * Update readme.md to be for python version 3.9 * Addresses MouseLand#944 leading zero issue with tiff filename. * Addresses MouseLand#944 leading zero issue with tiff filename. * Update save_path0 to close MouseLand#991. * Update save_path0 to close MouseLand#991. * update visualize.py to import rastermap properly * Re-add connected to GUI options * Update README.md Remove note about scanimage-tiff-reader mac incompatibility * Update README.md Simplify mac os instructions * Update setup.py Update rastermap requirement based on issue ticket suggestions * Update setup.py * Updated jupyter notebook to work with new binaryFile class in suite2p.io * Updated jupyter notebook name * Update colab 2023 to fully fix MouseLand#1011 and update some comments on notebook * Updated jupyter notebook to work with new binaryFile class in suite2p.io * Updated jupyter notebook name * Update colab 2023 to fully fix MouseLand#1011 and update some comments on notebook * adding pyqt6 and switching to qtpy * updating readme and fixing spelling error in copyright * adding license notice * adding check in setup.py for installation of a pyqt version * adding tutorial * Update tutorial.md with additional comments * Update suite2p gui to work with QFileDialog.Options() not working with pyqt6 * Update binary.py write_tiff to add all frames to a single series * Updated tiff.py to use contiguous parameter * Update README.md * checking h5py key to open binaries before data_path * fixing bug in code * adding new data type * adding support for binary and mp4/avi files * enabling ops.json loading in reggui and binary-only processing * increase tolerance on classification regression test * add more tolerance * increasing tolerance again * increasing tolerance again * Update README.md * Add explanation for how to apply classifiers * CheckState Fix * Fix conda environment creation for developers * Update utils.py * Update README.md to fix MouseLand#1060. Updates badge links for tests and docs * Update merge.py of gui subpackage to not use deprecated np.bool * Update merge.py of gui subpackage to not use deprecated np.bool * Add import to gui/io.py * Update gui.rst to have clearer instructions for MouseLand#1002. * bug in h5py key option * adding support for multipage bruker ome tiffs * Update inputs.rst to include multipage bruker instructions * Update inputs.rst * Added support for Thorlabs RAW files (io.raw) * Added xmltodict * Update raw.py- todo verified * safe import for xmltodict * fixing bug with multiplane registration * allowing reg_file input to compute_zpos * fixing bug with multi-plane nonrigid ops * add support for Hamamatsu DCIMG format * add support for Hamamatsu DCIMG format * add dcimg_deps to all_deps and restrict cellpose to <3.0 * Addresses MouseLand#1093 with cellpose method having too many arguments * Addresses MouseLand#1093 with cellpose method having too many arguments * remove cellpose<3.0 restriction * Fixes issue MouseLand#1101 with older version of cellpose * Update zalign.py Made sure that if a reg_file is given to the zalign function it uses it, rather than the ops reg_file * Update setup.py * adding dcimg * removing dcimg extra --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: tdincer <tolgadincer@gmail.com> Co-authored-by: Chris Ki <chriski777@berkeley.edu> Co-authored-by: Chris Ki <cski@andrew.cmu.edu> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: carsen-stringer <carsen.stringer@gmail.com> Co-authored-by: Kabilar Gunalan <kabilar@datajoint.com> Co-authored-by: itsb <itsb@users.noreply.github.com> Co-authored-by: Sidharth Hulyalkar <sid.soccer.21@gmail.com> Co-authored-by: Ahmed Morsi <amorsi@berkeley.edu> Co-authored-by: Marius Pachitariu <marius10p@gmail.com> Co-authored-by: Heather Ratigan <hmacomber@uchicago.edu> Co-authored-by: Ryan Ly <rly@lbl.gov> Co-authored-by: Arielle Leon <ariellel@alleninstitute.org> Co-authored-by: Andrew Landau <andrewtylerlandau@gmail.com> Co-authored-by: arielleleon <54869022+arielleleon@users.noreply.github.com> Co-authored-by: yaelpri <yael.prilutski@gmail.com> Co-authored-by: yaelpri <61921608+yaelpri@users.noreply.github.com> Co-authored-by: Yael Prilutski <61921608+yael-prilutski@users.noreply.github.com> Co-authored-by: nguyemi5 <nguyemi5@github.com> Co-authored-by: nguyemi5 <38402644+nguyemi5@users.noreply.github.com> Co-authored-by: liadJB <48135253+liadJB@users.noreply.github.com>
Describe the issue:
I keep getting an error during installation like below. Any ideas?
`Building wheels for collected packages: scanimage-tiff-reader
Building wheel for scanimage-tiff-reader (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [198 lines of output]
D:\anaconda3\envs\suite2p\lib\site-packages\setuptools_init_.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for scanimage-tiff-reader
Running setup.py clean for scanimage-tiff-reader
Failed to build scanimage-tiff-reader
ERROR: Could not build wheels for scanimage-tiff-reader, which is required to install pyproject.toml-based projects`
Provide environment info:
populated config files : C:\Users\Huijeong Jeong.condarc
conda version : 22.9.0
conda-build version : 3.23.1
python version : 3.9.12.final.0
virtual packages : __win=0=0
__archspec=1=x86_64
base environment : D:\anaconda3 (writable)
conda av data dir : D:\anaconda3\etc\conda
conda av metadata url : None
channel URLs : https://conda.anaconda.org/conda-forge/win-64
https://conda.anaconda.org/conda-forge/noarch
https://repo.anaconda.com/pkgs/main/win-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/win-64
https://repo.anaconda.com/pkgs/r/noarch
https://repo.anaconda.com/pkgs/msys2/win-64
https://repo.anaconda.com/pkgs/msys2/noarch
package cache : D:\anaconda3\pkgs
C:\Users\Huijeong Jeong.conda\pkgs
C:\Users\Huijeong Jeong\AppData\Local\conda\conda\pkgs
envs directories : D:\anaconda3\envs
C:\Users\Huijeong Jeong.conda\envs
C:\Users\Huijeong Jeong\AppData\Local\conda\conda\envs
platform : win-64
user-agent : conda/22.9.0 requests/2.27.1 CPython/3.9.12 Windows/10 Windows/10.0.19044
administrator : False
netrc file : None
offline mode : False
The text was updated successfully, but these errors were encountered: