sgoldenlab / simba

SimBA (Simple Behavioral Analysis), a pipeline and GUI for developing supervised behavioral classifiers
https://simba-uw-tf-dev.readthedocs.io/
GNU General Public License v3.0
286 stars 139 forks source link

New to simba - installation not working on Mac M2 Max #372

Open SnowySnowySnowy opened 1 month ago

SnowySnowySnowy commented 1 month ago

I attempted to download simba using Anaconda. Unfortunately, I am having issues installing python 3.6. When I type "conda install python=3.6", I get the following error:

Channels:
 - defaults
 - conda-forge
Platform: osx-arm64
Collecting package metadata (repodata.json): done
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - 3.6

Current channels:

  - defaults
  - https://conda.anaconda.org/conda-forge/osx-arm64

Any suggestions on how to proceed? Can a different python version be used?

sronilsson commented 1 month ago

Hi @SnowySnowySnowy!

I think you are trying to create a new conda environment with python 3.6?

You can read about how to do it HERE

E.g., open a terminal and run:

i) conda create -n simba python=3.6 anaconda, then ii) conda activate simba

To get a python3.6 environment called simba.

Please let me know if I misunderstood what you are doing though.

SnowySnowySnowy commented 1 month ago

Hello @sronilsson I did try to run conda create -n simba python=3.6 anaconda, but when I do I get the same error:

Channels:
 - defaults
Platform: osx-arm64
Collecting package metadata (repodata.json): done
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - python=3.6*

Current channels:

  - defaults

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.
sronilsson commented 1 month ago

Ah maybe it is related to THIS ?

You could try to use python 3.10 instead? you should get a warning msg at boot up of SimBA but it should run.

SnowySnowySnowy commented 1 month ago

Hmm ok, so on Anaconda navigator, I clicked on new environment, and created simba-test using 3.10.14 (it does not offer 3.10). In the terminal, I typed "pip install simba-uw-tf-dev" and get the following message with errors:

Collecting simba-uw-tf-dev
  Using cached Simba_UW_tf_dev-1.96.5-py3-none-any.whl.metadata (6.1 kB)
Collecting pyyaml==5.3.1 (from simba-uw-tf-dev)
  Using cached PyYAML-5.3.1.tar.gz (269 kB)
  Preparing metadata (setup.py) ... done
Collecting dtreeviz==0.8.1 (from simba-uw-tf-dev)
  Using cached dtreeviz-0.8.1.tar.gz (26 kB)
  Preparing metadata (setup.py) ... done
Collecting eli5==0.10.1 (from simba-uw-tf-dev)
  Using cached eli5-0.10.1-py2.py3-none-any.whl.metadata (17 kB)
Collecting graphviz==0.11 (from simba-uw-tf-dev)
  Using cached graphviz-0.11-py2.py3-none-any.whl.metadata (6.3 kB)
Collecting imgaug==0.4.0 (from simba-uw-tf-dev)
  Using cached imgaug-0.4.0-py2.py3-none-any.whl.metadata (1.8 kB)
Collecting imutils==0.5.2 (from simba-uw-tf-dev)
  Using cached imutils-0.5.2.tar.gz (15 kB)
  Preparing metadata (setup.py) ... done
Collecting seaborn==0.11.0 (from simba-uw-tf-dev)
  Using cached seaborn-0.11.0-py3-none-any.whl.metadata (2.2 kB)
Collecting tqdm==4.30.0 (from simba-uw-tf-dev)
  Using cached tqdm-4.30.0-py2.py3-none-any.whl.metadata (37 kB)
Collecting xgboost==0.90 (from simba-uw-tf-dev)
  Using cached xgboost-0.90.tar.gz (676 kB)
  Preparing metadata (setup.py) ... done
Collecting dash==1.14.0 (from simba-uw-tf-dev)
  Using cached dash-1.14.0.tar.gz (70 kB)
  Preparing metadata (setup.py) ... done
Collecting dash-color-picker==0.0.1 (from simba-uw-tf-dev)
  Using cached dash_color_picker-0.0.1.tar.gz (82 kB)
  Preparing metadata (setup.py) ... done
Collecting dash-core-components==1.10.2 (from simba-uw-tf-dev)
  Using cached dash_core_components-1.10.2.tar.gz (3.4 MB)
  Preparing metadata (setup.py) ... done
Collecting dash-colorscales==0.0.4 (from simba-uw-tf-dev)
  Using cached dash_colorscales-0.0.4.tar.gz (62 kB)
  Preparing metadata (setup.py) ... done
Collecting dash-html-components==1.0.3 (from simba-uw-tf-dev)
  Using cached dash_html_components-1.0.3.tar.gz (187 kB)
  Preparing metadata (setup.py) ... done
Collecting plotly==4.9.0 (from simba-uw-tf-dev)
  Using cached plotly-4.9.0-py2.py3-none-any.whl.metadata (7.4 kB)
INFO: pip is looking at multiple versions of simba-uw-tf-dev to determine which version is compatible with other requirements. This could take a while.
Collecting simba-uw-tf-dev
  Using cached Simba_UW_tf_dev-1.96.4-py3-none-any.whl.metadata (6.1 kB)
  Using cached Simba_UW_tf_dev-1.96.3-py3-none-any.whl.metadata (6.0 kB)
  Using cached Simba_UW_tf_dev-1.96.2-py3-none-any.whl.metadata (6.0 kB)
  Using cached Simba_UW_tf_dev-1.96.1-py3-none-any.whl.metadata (6.0 kB)
  Using cached Simba_UW_tf_dev-1.95.9-py3-none-any.whl.metadata (6.0 kB)
  Using cached Simba_UW_tf_dev-1.95.8-py3-none-any.whl.metadata (6.0 kB)
  Using cached Simba_UW_tf_dev-1.95.7-py3-none-any.whl.metadata (6.0 kB)
INFO: pip is still looking at multiple versions of simba-uw-tf-dev to determine which version is compatible with other requirements. This could take a while.
  Using cached Simba_UW_tf_dev-1.95.6-py3-none-any.whl.metadata (6.0 kB)
  Using cached Simba_UW_tf_dev-1.95.5-py3-none-any.whl.metadata (6.0 kB)
  Using cached Simba_UW_tf_dev-1.95.4-py3-none-any.whl.metadata (6.0 kB)
  Using cached Simba-UW-tf-dev-1.95.3.tar.gz (5.5 MB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [7 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/private/var/folders/c9/2sq3gbpx2j74sx5f4wdq70f80000gq/T/pip-install-bpieciod/simba-uw-tf-dev_6434557eba2a4bcd81cb7cffb6a39379/setup.py", line 10, in <module>
          with open("docs/project_description.md", "r", encoding="utf-8") as fh:
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      FileNotFoundError: [Errno 2] No such file or directory: 'docs/project_description.md'
      [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.

I tried continuing, and when trying to uninstall shapely, it states "WARNING: Skipping shapely as it is not installed." It then get no errors with "conda install -c conda-forge shapely", but when I type simba, it tells me that that doesn't exist.

sronilsson commented 1 month ago

Hmm I gave it ago now but I don't have an M2 so can't test it properly..

What version do you see when you do pip show pip? Which version do you see with pip show setuptools ?

SnowySnowySnowy commented 1 month ago

Pip show pip:

Name: pip

Version: 24.0

Summary: The PyPA recommended tool for installing Python packages.

Home-page:

Author:

Author-email: The pip developers @.***>

License: MIT

Location: /opt/anaconda3/lib/python3.12/site-packages

Pip show setuptools:

Name: setuptools

Version: 69.5.1

Summary: Easily download, build, install, upgrade, and uninstall Python packages

Home-page: https://github.com/pypa/setuptools

Author: Python Packaging Authority

Author-email: @.***

License:

Location: /opt/anaconda3/lib/python3.12/site-packages

Requires:

Required-by: anaconda-client, conda, conda-pack, Scrapy, sip, spyder, zope.interface

On Wed, Jul 17, 2024 at 1:20 PM Simon Nilsson @.***> wrote:

Hmm I gave it ago now but I don't have an M2 so can't test it properly..

What version do you see when you do pip show pip? Which version do you see with pip show setuptools ?

— Reply to this email directly, view it on GitHub https://github.com/sgoldenlab/simba/issues/372#issuecomment-2233963225, or unsubscribe https://github.com/notifications/unsubscribe-auth/BGEFJFQM6MLIX5I3UKA5SA3ZM2YW3AVCNFSM6AAAAABK7MKKDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZTHE3DGMRSGU . You are receiving this because you were mentioned.Message ID: @.***>

sronilsson commented 1 month ago

Those are the same versions as me...

what if you install the latest version by specifying it - pip install simba-uw-tf-dev==1.96.5 ?

SnowySnowySnowy commented 1 month ago

Ok, I attempted that, and got the following error:

ERROR: Could not find a version that satisfies the requirement cefpython3==66.0 (from simba-uw-tf-dev) (from versions: none)

ERROR: No matching distribution found for cefpython3==66.0

Are there any other sofwares or packages I am supposed to have downloaded? Because all I have downloaded is Anaconda.

On Wed, Jul 17, 2024 at 2:12 PM Simon Nilsson @.***> wrote:

Those are the same versions as me...

what if you install the latest version by specifying it - pip install simba-uw-tf-dev==1.96.5 ?

— Reply to this email directly, view it on GitHub https://github.com/sgoldenlab/simba/issues/372#issuecomment-2234053545, or unsubscribe https://github.com/notifications/unsubscribe-auth/BGEFJFVTUYT2DRIN7BTUJJDZM26X5AVCNFSM6AAAAABK7MKKDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZUGA2TGNJUGU . You are receiving this because you were mentioned.Message ID: @.***>

sronilsson commented 1 month ago

No its on me, I can insert a clause "install cefpython3==66.0 only of you have an Intel processor", but there may be more packages downstream that are troublesome on Mac M2. But we can try it.

sronilsson commented 1 month ago

One thing you can help me with so I get this right.. When you have activated your conda environment, can you type.

1) python to open a python session, 2) type import platform and hit enter 3) type platform.processor() and hit enter, like below:

(simba) simon@Simons-MBP simba % python
Python 3.6.13 |Anaconda, Inc.| (default, Feb 23 2021, 12:58:59) 
[GCC Clang 10.0.0 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import platform
>>> platform.processor()
'i386'

What do you see as the final row print put instead of 'i386'? 'arm64` ?

SnowySnowySnowy commented 1 month ago

Hello Simon,

My apologies for the late reply, I was in a meeting. This is what I get:

Python 3.10.14 (main, May 6 2024, 14:42:37) [Clang 14.0.6 ] on darwin

Type "help", "copyright", "credits" or "license" for more information.

import platform

platform.processor()

'arm'

On Wed, Jul 17, 2024 at 2:59 PM Simon Nilsson @.***> wrote:

One thing you can help me with so I get this right.. When you have activated your conda environment, can you type.

  1. python to open a python session,
  2. type import platform and hit enter
  3. type platform.processor() and hit enter, like below:

(simba) @.*** simba % python Python 3.6.13 |Anaconda, Inc.| (default, Feb 23 2021, 12:58:59) [GCC Clang 10.0.0 ] on darwin Type "help", "copyright", "credits" or "license" for more information.

import platform platform.processor() 'i386'

What do you see as the final row print put instead of 'i386'?

— Reply to this email directly, view it on GitHub https://github.com/sgoldenlab/simba/issues/372#issuecomment-2234150457, or unsubscribe https://github.com/notifications/unsubscribe-auth/BGEFJFWD6422RPLSYG4V5JTZM3EKVAVCNFSM6AAAAABK7MKKDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZUGE2TANBVG4 . You are receiving this because you were mentioned.Message ID: @.***>

sronilsson commented 1 month ago

absolutely no rush!

There may be some back and forths between us to get this going and I appreciate your help as I haven't tested on any Mac M chips lately, and need your help as can't test it myself I don't have access to that hardware. I will insert some conditionals in the installation process to see if that helps and get back to you.

SnowySnowySnowy commented 1 month ago

Sounds good! I really appreciate your help. Please let me know if there is anything else you need from me.

Best, Elena

On Wed, Jul 17, 2024 at 4:56 PM Simon Nilsson @.***> wrote:

absolutely no rush!

There may be some back and forths between us to get this going and I appreciate your help as I haven't tested on any Mac M chips lately, and need your help as can't test it myself I don't have access to that hardware. I will insert some conditionals in the installation process to see if that helps and get back to you.

— Reply to this email directly, view it on GitHub https://github.com/sgoldenlab/simba/issues/372#issuecomment-2234389575, or unsubscribe https://github.com/notifications/unsubscribe-auth/BGEFJFTGXP2OJQCD3BXV5LDZM3SAPAVCNFSM6AAAAABK7MKKDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZUGM4DSNJXGU . You are receiving this because you were mentioned.Message ID: @.***>

sronilsson commented 1 month ago

If you try again to install the latest SImBA version with pip install simba-uw-tf-dev, what do you see now?

SnowySnowySnowy commented 1 month ago

Ok, so I went on anaconda to the previous simba-test, and on the terminal typed pip install simba-uw-tf-dev, I get the same error as before:

`(simba-test) em47536@PHAR-A67282 ~ % pip install simba-uw-tf-dev Collecting simba-uw-tf-dev Downloading Simba_UW_tf_dev-1.97.3-py3-none-any.whl.metadata (6.1 kB) Collecting pyyaml==5.3.1 (from simba-uw-tf-dev) Using cached PyYAML-5.3.1.tar.gz (269 kB) Preparing metadata (setup.py) ... done Collecting dtreeviz==0.8.1 (from simba-uw-tf-dev) Using cached dtreeviz-0.8.1.tar.gz (26 kB) Preparing metadata (setup.py) ... done Collecting eli5==0.10.1 (from simba-uw-tf-dev) Using cached eli5-0.10.1-py2.py3-none-any.whl.metadata (17 kB) Collecting graphviz==0.11 (from simba-uw-tf-dev) Using cached graphviz-0.11-py2.py3-none-any.whl.metadata (6.3 kB) Collecting imgaug==0.4.0 (from simba-uw-tf-dev) Using cached imgaug-0.4.0-py2.py3-none-any.whl.metadata (1.8 kB) Collecting imutils==0.5.2 (from simba-uw-tf-dev) Using cached imutils-0.5.2.tar.gz (15 kB) Preparing metadata (setup.py) ... done Collecting seaborn==0.11.0 (from simba-uw-tf-dev) Using cached seaborn-0.11.0-py3-none-any.whl.metadata (2.2 kB) Collecting tqdm==4.30.0 (from simba-uw-tf-dev) Using cached tqdm-4.30.0-py2.py3-none-any.whl.metadata (37 kB) Collecting xgboost==0.90 (from simba-uw-tf-dev) Using cached xgboost-0.90.tar.gz (676 kB) Preparing metadata (setup.py) ... done Collecting dash==1.14.0 (from simba-uw-tf-dev) Using cached dash-1.14.0.tar.gz (70 kB) Preparing metadata (setup.py) ... done Collecting dash-color-picker==0.0.1 (from simba-uw-tf-dev) Using cached dash_color_picker-0.0.1.tar.gz (82 kB) Preparing metadata (setup.py) ... done Collecting dash-core-components==1.10.2 (from simba-uw-tf-dev) Using cached dash_core_components-1.10.2.tar.gz (3.4 MB) Preparing metadata (setup.py) ... done Collecting dash-colorscales==0.0.4 (from simba-uw-tf-dev) Using cached dash_colorscales-0.0.4.tar.gz (62 kB) Preparing metadata (setup.py) ... done Collecting dash-html-components==1.0.3 (from simba-uw-tf-dev) Using cached dash_html_components-1.0.3.tar.gz (187 kB) Preparing metadata (setup.py) ... done Collecting plotly==4.9.0 (from simba-uw-tf-dev) Using cached plotly-4.9.0-py2.py3-none-any.whl.metadata (7.4 kB) INFO: pip is looking at multiple versions of simba-uw-tf-dev to determine which version is compatible with other requirements. This could take a while. Collecting simba-uw-tf-dev Downloading Simba_UW_tf_dev-1.97.2-py3-none-any.whl.metadata (6.1 kB) Downloading Simba_UW_tf_dev-1.97.1-py3-none-any.whl.metadata (6.1 kB) Downloading Simba_UW_tf_dev-1.96.9-py3-none-any.whl.metadata (6.1 kB) Downloading Simba_UW_tf_dev-1.96.8-py3-none-any.whl.metadata (6.1 kB) Downloading Simba_UW_tf_dev-1.96.7-py3-none-any.whl.metadata (6.1 kB) Downloading Simba_UW_tf_dev-1.96.6-py3-none-any.whl.metadata (6.1 kB) Using cached Simba_UW_tf_dev-1.96.5-py3-none-any.whl.metadata (6.1 kB) INFO: pip is still looking at multiple versions of simba-uw-tf-dev to determine which version is compatible with other requirements. This could take a while. Using cached Simba_UW_tf_dev-1.96.4-py3-none-any.whl.metadata (6.1 kB) Using cached Simba_UW_tf_dev-1.96.3-py3-none-any.whl.metadata (6.0 kB) Using cached Simba_UW_tf_dev-1.96.2-py3-none-any.whl.metadata (6.0 kB) Using cached Simba_UW_tf_dev-1.96.1-py3-none-any.whl.metadata (6.0 kB) Using cached Simba_UW_tf_dev-1.95.9-py3-none-any.whl.metadata (6.0 kB) INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C. Using cached Simba_UW_tf_dev-1.95.8-py3-none-any.whl.metadata (6.0 kB) Using cached Simba_UW_tf_dev-1.95.7-py3-none-any.whl.metadata (6.0 kB) Using cached Simba_UW_tf_dev-1.95.6-py3-none-any.whl.metadata (6.0 kB) Using cached Simba_UW_tf_dev-1.95.5-py3-none-any.whl.metadata (6.0 kB) Using cached Simba_UW_tf_dev-1.95.4-py3-none-any.whl.metadata (6.0 kB) Using cached Simba-UW-tf-dev-1.95.3.tar.gz (5.5 MB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [6 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "/private/var/folders/c9/2sq3gbpx2j74sx5f4wdq70f80000gq/T/pip-install-aijrt_f7/simba-uw-tf-dev_58dd4bf27114421f930040dd7946b403/setup.py", line 10, in with open("docs/project_description.md", "r", encoding="utf-8") as fh: FileNotFoundError: [Errno 2] No such file or directory: 'docs/project_description.md' [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. `

sronilsson commented 1 month ago

And what about pip install simba-uw-tf-dev==1.97.3 ?

SnowySnowySnowy commented 1 month ago

I get the error:

ERROR: Could not find a version that satisfies the requirement cefpython3==66.0 (from simba-uw-tf-dev) (from versions: none)

ERROR: No matching distribution found for cefpython3==66.0

On Thu, Jul 18, 2024 at 10:27 AM Simon Nilsson @.***> wrote:

And what about pip install simba-uw-tf-dev==1.97.3 ?

— Reply to this email directly, view it on GitHub https://github.com/sgoldenlab/simba/issues/372#issuecomment-2236861891, or unsubscribe https://github.com/notifications/unsubscribe-auth/BGEFJFWDLFOSY5WB7SM2FCDZM7NHZAVCNFSM6AAAAABK7MKKDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZWHA3DCOBZGE . You are receiving this because you were mentioned.Message ID: @.***>

sronilsson commented 1 month ago

Hmm alright... that fix didn't work, thx for testing.

sronilsson commented 1 month ago

One more question:

Could you repeat the above process and open a python terminal, and instead of just printing the platform.processor(), could you run each of these below and show me what the output is?

platform.processor() platform.system() platform.machine() platform.python_version()

SnowySnowySnowy commented 1 month ago

Hello,

Below is the output:

(simba-test) @.*** ~ % python

Python 3.10.14 (main, May 6 2024, 14:42:37) [Clang 14.0.6 ] on darwin

Type "help", "copyright", "credits" or "license" for more information.

import platform

platform.processor()

'arm'

platform.system()

'Darwin'

platform.machine()

'arm64'

platform.python_version()

'3.10.14'

On Thu, Jul 18, 2024 at 11:29 AM Simon Nilsson @.***> wrote:

One more question:

Could you repeat the above process and open a python terminal, and instead of just printing the platform.processor(), could you run each of these below and show me what the output is?

platform.processor() platform.system() platform.machine() platform.python_version()

— Reply to this email directly, view it on GitHub https://github.com/sgoldenlab/simba/issues/372#issuecomment-2237033770, or unsubscribe https://github.com/notifications/unsubscribe-auth/BGEFJFWQQCUWFPWMGGOO2GTZM7UPXAVCNFSM6AAAAABK7MKKDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZXGAZTGNZXGA . You are receiving this because you were mentioned.Message ID: @.***>

sronilsson commented 1 month ago

Thank you! Lets try once more to see how goes: can you do pip install simba-uw-tf-dev==1.97.4 ?

SnowySnowySnowy commented 1 month ago

Unfortunately, I still get the error:

ERROR: Could not find a version that satisfies the requirement cefpython3==66.0 (from simba-uw-tf-dev) (from versions: none)

ERROR: No matching distribution found for cefpython3==66.0

On Fri, Jul 19, 2024 at 12:34 PM Simon Nilsson @.***> wrote:

Thank you! Lets try once more to see how goes: can you do pip install simba-uw-tf-dev==1.97.4 ?

— Reply to this email directly, view it on GitHub https://github.com/sgoldenlab/simba/issues/372#issuecomment-2239733527, or unsubscribe https://github.com/notifications/unsubscribe-auth/BGEFJFXQLUFSTZLIFUPRHTLZNFE2RAVCNFSM6AAAAABK7MKKDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZZG4ZTGNJSG4 . You are receiving this because you were mentioned.Message ID: @.***>

sronilsson commented 1 month ago

Thanks @SnowySnowySnowy - what if you try in a brand new conda environment?

SnowySnowySnowy commented 1 month ago

Unfortunately I get the same error message:

(simba-test2) @.*** ~ % pip install simba-uw-tf-dev==1.97.4

Collecting simba-uw-tf-dev==1.97.4

Using cached Simba_UW_tf_dev-1.97.4-py3-none-any.whl.metadata (6.1 kB)

Collecting pyyaml==5.3.1 (from simba-uw-tf-dev==1.97.4)

Using cached PyYAML-5.3.1.tar.gz (269 kB)

Preparing metadata (setup.py) ... done

Collecting dtreeviz==0.8.1 (from simba-uw-tf-dev==1.97.4)

Using cached dtreeviz-0.8.1.tar.gz (26 kB)

Preparing metadata (setup.py) ... done

Collecting eli5==0.10.1 (from simba-uw-tf-dev==1.97.4)

Using cached eli5-0.10.1-py2.py3-none-any.whl.metadata (17 kB)

Collecting graphviz==0.11 (from simba-uw-tf-dev==1.97.4)

Using cached graphviz-0.11-py2.py3-none-any.whl.metadata (6.3 kB)

Collecting imgaug==0.4.0 (from simba-uw-tf-dev==1.97.4)

Using cached imgaug-0.4.0-py2.py3-none-any.whl.metadata (1.8 kB)

Collecting imutils==0.5.2 (from simba-uw-tf-dev==1.97.4)

Using cached imutils-0.5.2.tar.gz (15 kB)

Preparing metadata (setup.py) ... done

Collecting seaborn==0.11.0 (from simba-uw-tf-dev==1.97.4)

Using cached seaborn-0.11.0-py3-none-any.whl.metadata (2.2 kB)

Collecting tqdm==4.30.0 (from simba-uw-tf-dev==1.97.4)

Using cached tqdm-4.30.0-py2.py3-none-any.whl.metadata (37 kB)

Collecting xgboost==0.90 (from simba-uw-tf-dev==1.97.4)

Using cached xgboost-0.90.tar.gz (676 kB)

Preparing metadata (setup.py) ... done

Collecting dash==1.14.0 (from simba-uw-tf-dev==1.97.4)

Using cached dash-1.14.0.tar.gz (70 kB)

Preparing metadata (setup.py) ... done

Collecting dash-color-picker==0.0.1 (from simba-uw-tf-dev==1.97.4)

Using cached dash_color_picker-0.0.1.tar.gz (82 kB)

Preparing metadata (setup.py) ... done

Collecting dash-core-components==1.10.2 (from simba-uw-tf-dev==1.97.4)

Using cached dash_core_components-1.10.2.tar.gz (3.4 MB)

Preparing metadata (setup.py) ... done

Collecting dash-colorscales==0.0.4 (from simba-uw-tf-dev==1.97.4)

Using cached dash_colorscales-0.0.4.tar.gz (62 kB)

Preparing metadata (setup.py) ... done

Collecting dash-html-components==1.0.3 (from simba-uw-tf-dev==1.97.4)

Using cached dash_html_components-1.0.3.tar.gz (187 kB)

Preparing metadata (setup.py) ... done

Collecting plotly==4.9.0 (from simba-uw-tf-dev==1.97.4)

Using cached plotly-4.9.0-py2.py3-none-any.whl.metadata (7.4 kB)

INFO: pip is looking at multiple versions of simba-uw-tf-dev to determine which version is compatible with other requirements. This could take a while.

ERROR: Could not find a version that satisfies the requirement cefpython3==66.0 (from simba-uw-tf-dev) (from versions: none)

ERROR: No matching distribution found for cefpython3==66.0

On Mon, Jul 22, 2024 at 10:18 AM Simon Nilsson @.***> wrote:

Thanks @SnowySnowySnowy https://github.com/SnowySnowySnowy - what if you try in a brand new conda environment?

— Reply to this email directly, view it on GitHub https://github.com/sgoldenlab/simba/issues/372#issuecomment-2243216394, or unsubscribe https://github.com/notifications/unsubscribe-auth/BGEFJFUPGSRI6X4GYBMESVTZNUPDNAVCNFSM6AAAAABK7MKKDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBTGIYTMMZZGQ . You are receiving this because you were mentioned.Message ID: @.***>

sronilsson commented 1 month ago

Cheers - thanks for testing - let's try a different approach..

sronilsson commented 1 month ago

Hi @SnowySnowySnowy - sorry for the delay. I don't have an easy solution for omitting dependencies through pip - it's easy to add but to remove is trickier.

You could try this:

i) Install simba without dependencies using pip install simba-uw-tf-dev --no-deps ii) Download the attached txt file. In your conda environment, navigate to the folder where the requirements_arm.txt is stored. iii) Install the dependencies listed in the file with pip install -r requirements_arm.txt iv) Try to launch simba by typing simba

let me know hoes goes please!

requirements_arm.txt

SnowySnowySnowy commented 4 weeks ago

Hello Simon,

Should I store the txt file in a specific place? I successfully installed simba-uw-tf-dev-1.99.4. My txt file was stored in downloads on my computer, so I navigated to downloads, and installed dependencies listed in the file with pip install -r requirements_arm.txt. I then got the following message:

Ignoring opencv-python: markers 'python_version == "3.6"' don't match your environment

Ignoring pandas: markers 'python_version == "3.6"' don't match your environment

Ignoring scikit-image: markers 'python_version == "3.6"' don't match your environment

Ignoring scipy: markers 'python_version == "3.6"' don't match your environment

Ignoring scikit-learn: markers 'python_version == "3.6"' don't match your environment

Ignoring joblib: markers 'python_version == "3.6"' don't match your environment

Ignoring tabulate: markers 'python_version == "3.6"' don't match your environment

Ignoring yellowbrick: markers 'python_version == "3.6"' don't match your environment

Ignoring kaleido: markers 'python_version == "3.6"' don't match your environment

Ignoring psutil: markers 'python_version == "3.6"' don't match your environment

Ignoring h5py: markers 'python_version == "3.6"' don't match your environment

Ignoring numba: markers 'python_version == "3.6"' don't match your environment

Ignoring numexpr: markers 'python_version == "3.6"' don't match your environment

Ignoring pyvis: markers 'python_version == "3.6"' don't match your environment

Ignoring statsmodels: markers 'python_version == "3.6"' don't match your environment

Ignoring tables: markers 'python_version == "3.6"' don't match your environment

Ignoring openpyxl: markers 'python_version == "3.6"' don't match your environment

Collecting opencv-python==4.8.1.78 (from -r requirements_arm.txt (line 2))

Downloading opencv_python-4.8.1.78-cp37-abi3-macosx_11_0_arm64.whl.metadata (19 kB)

Collecting pandas==2.2.2 (from -r requirements_arm.txt (line 4))

Downloading pandas-2.2.2-cp310-cp310-macosx_11_0_arm64.whl.metadata (19 kB)

Collecting scikit-image==0.23.2 (from -r requirements_arm.txt (line 6))

Downloading scikit_image-0.23.2-cp310-cp310-macosx_12_0_arm64.whl.metadata (14 kB)

Collecting scipy==1.13.0 (from -r requirements_arm.txt (line 8))

Downloading scipy-1.13.0-cp310-cp310-macosx_12_0_arm64.whl.metadata (60 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.6/60.6 kB 3.3 MB/s eta

0:00:00

Collecting seaborn==0.11.0 (from -r requirements_arm.txt (line 9))

Downloading seaborn-0.11.0-py3-none-any.whl.metadata (2.2 kB)

Collecting scikit-learn==1.4.2 (from -r requirements_arm.txt (line 11))

Downloading scikit_learn-1.4.2-cp310-cp310-macosx_12_0_arm64.whl.metadata (11 kB)

Collecting joblib==1.4.2 (from -r requirements_arm.txt (line 13))

Downloading joblib-1.4.2-py3-none-any.whl.metadata (5.4 kB)

Collecting tabulate==0.9.0 (from -r requirements_arm.txt (line 15))

Downloading tabulate-0.9.0-py3-none-any.whl.metadata (34 kB)

Collecting tqdm==4.30.0 (from -r requirements_arm.txt (line 16))

Downloading tqdm-4.30.0-py2.py3-none-any.whl.metadata (37 kB)

Collecting xgboost==0.90 (from -r requirements_arm.txt (line 17))

Downloading xgboost-0.90.tar.gz (676 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 676.7/676.7 kB 15.2 MB/s eta

0:00:00

Preparing metadata (setup.py) ... done

Collecting yellowbrick==1.5.0 (from -r requirements_arm.txt (line 19))

Downloading yellowbrick-1.5-py3-none-any.whl.metadata (7.7 kB)

Collecting kaleido (from -r requirements_arm.txt (line 21))

Downloading kaleido-0.2.1-py2.py3-none-macosx_11_0_arm64.whl.metadata (15 kB)

Collecting psutil (from -r requirements_arm.txt (line 23))

Downloading psutil-6.0.0-cp38-abi3-macosx_11_0_arm64.whl.metadata (21 kB)

Collecting dash==1.14.0 (from -r requirements_arm.txt (line 24))

Downloading dash-1.14.0.tar.gz (70 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 70.5/70.5 kB 8.1 MB/s eta

0:00:00

Preparing metadata (setup.py) ... done

Collecting dash_color_picker==0.0.1 (from -r requirements_arm.txt (line 25))

Downloading dash_color_picker-0.0.1.tar.gz (82 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 82.7/82.7 kB 10.7 MB/s eta

0:00:00

Preparing metadata (setup.py) ... done

Collecting dash_core_components==1.10.2 (from -r requirements_arm.txt (line 26))

Downloading dash_core_components-1.10.2.tar.gz (3.4 MB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.4/3.4 MB 20.5 MB/s eta

0:00:00

Preparing metadata (setup.py) ... done

Collecting dash_colorscales==0.0.4 (from -r requirements_arm.txt (line 27))

Downloading dash_colorscales-0.0.4.tar.gz (62 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.3/62.3 kB 9.2 MB/s eta

0:00:00

Preparing metadata (setup.py) ... done

Collecting dash_html_components==1.0.3 (from -r requirements_arm.txt (line 28))

Downloading dash_html_components-1.0.3.tar.gz (187 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 187.8/187.8 kB 17.1 MB/s eta

0:00:00

Preparing metadata (setup.py) ... done

Collecting h5py==3.11.0 (from -r requirements_arm.txt (line 30))

Downloading h5py-3.11.0-cp310-cp310-macosx_11_0_arm64.whl.metadata (2.5 kB)

Collecting numba==0.59.1 (from -r requirements_arm.txt (line 32))

Downloading numba-0.59.1-cp310-cp310-macosx_11_0_arm64.whl.metadata (2.7 kB)

Collecting numexpr==2.10.0 (from -r requirements_arm.txt (line 34))

Downloading numexpr-2.10.0-cp310-cp310-macosx_11_0_arm64.whl.metadata (7.9 kB)

Collecting plotly==4.9.0 (from -r requirements_arm.txt (line 35))

Downloading plotly-4.9.0-py2.py3-none-any.whl.metadata (7.4 kB)

Collecting statsmodels==0.14.2 (from -r requirements_arm.txt (line 38))

Downloading statsmodels-0.14.2-cp310-cp310-macosx_11_0_arm64.whl.metadata (9.2 kB)

Collecting pyarrow==6.0.1 (from -r requirements_arm.txt (line 39))

Downloading pyarrow-6.0.1-cp310-cp310-macosx_11_0_arm64.whl.metadata (2.9 kB)

Collecting shap==0.35.0 (from -r requirements_arm.txt (line 40))

Downloading shap-0.35.0.tar.gz (273 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 273.3/273.3 kB 20.7 MB/s eta

0:00:00

Preparing metadata (setup.py) ... done

Collecting tables==3.9.2 (from -r requirements_arm.txt (line 42))

Downloading tables-3.9.2.tar.gz (4.7 MB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.7/4.7 MB 21.8 MB/s eta

0:00:00

Installing build dependencies ... done

Getting requirements to build wheel ... error

error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.

│ exit code: 1

╰─> [13 lines of output]

/var/folders/c9/2sq3gbpx2j74sx5f4wdq70f80000gq/T/H5close0_3fsnv2.c:1:10: fatal error: 'H5public.h' file not found

  #include "H5public.h"

           ^~~~~~~~~~~~

  1 error generated.

  cpuinfo failed, assuming no CPU features: 'flags'

  * Using Python 3.10.14 (main, May  6 2024, 14:42:37) [Clang 14.0.6 ]

  * Found cython 3.0.10

  * USE_PKGCONFIG: False

  * Found conda env: ``/opt/anaconda3/envs/simba-test2``

  .. ERROR:: Could not find a local HDF5 installation.

     You may need to explicitly state where your local HDF5 headers and

     library can be found by setting the ``HDF5_DIR`` environment

     variable or by using the ``--hdf5`` command-line option.

  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.

error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.

│ exit code: 1

╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

I then tried launching simba but get the following error:

Traceback (most recent call last):

File "/opt/anaconda3/envs/simba-test2/bin/simba", line 5, in

from simba.SimBA import main

File "/opt/anaconda3/envs/simba-test2/lib/python3.10/site-packages/simba/SimBA.py", line 18, in

import PIL.Image

ModuleNotFoundError: No module named 'PIL'

(simba-test2) @.*** Downloads %

On Sun, Jul 28, 2024 at 1:40 PM Simon Nilsson @.***> wrote:

Hi @SnowySnowySnowy https://github.com/SnowySnowySnowy - sorry for the delay. I don't have an easy solution for omitting dependencies through pip

  • it's easy to add but to remove is trickier.

You could try this:

i) Install simba without dependencies using pip install simba-uw-tf-dev --no-deps ii) Download the attached txt file. In your conda environment, navigate to the folder where the requirements_arm.txt is stored. iii) Install the dependencies listed in the file with pip install -r requirements_arm.txt iv) Try to launch simba by typing simba

let me know hoes goes please!

requirements_arm.txt https://github.com/user-attachments/files/16404876/requirements_arm.txt

— Reply to this email directly, view it on GitHub https://github.com/sgoldenlab/simba/issues/372#issuecomment-2254607149, or unsubscribe https://github.com/notifications/unsubscribe-auth/BGEFJFVLXL4HJSWXY2XA2LLZOU3IVAVCNFSM6AAAAABK7MKKDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJUGYYDOMJUHE . You are receiving this because you were mentioned.Message ID: @.***>

sronilsson commented 4 weeks ago

Thanks @SnowySnowySnowy - it seems to be a problem with tables as well as cefpython on arm processor.

If you open up the requirements_arm.txt and remove lines 41 and 42 and try, do you still hit the error?

image

SnowySnowySnowy commented 4 weeks ago

Hello Simon

I know got the following error after installing dependencies listed in the file with pip install -r requirements_arm.txt:

Ignoring opencv-python: markers 'python_version == "3.6"' don't match your environment

Ignoring pandas: markers 'python_version == "3.6"' don't match your environment

Ignoring scikit-image: markers 'python_version == "3.6"' don't match your environment

Ignoring scipy: markers 'python_version == "3.6"' don't match your environment

Ignoring scikit-learn: markers 'python_version == "3.6"' don't match your environment

Ignoring joblib: markers 'python_version == "3.6"' don't match your environment

Ignoring tabulate: markers 'python_version == "3.6"' don't match your environment

Ignoring yellowbrick: markers 'python_version == "3.6"' don't match your environment

Ignoring kaleido: markers 'python_version == "3.6"' don't match your environment

Ignoring psutil: markers 'python_version == "3.6"' don't match your environment

Ignoring h5py: markers 'python_version == "3.6"' don't match your environment

Ignoring numba: markers 'python_version == "3.6"' don't match your environment

Ignoring numexpr: markers 'python_version == "3.6"' don't match your environment

Ignoring pyvis: markers 'python_version == "3.6"' don't match your environment

Ignoring statsmodels: markers 'python_version == "3.6"' don't match your environment

Ignoring openpyxl: markers 'python_version == "3.6"' don't match your environment

Collecting opencv-python==4.8.1.78 (from -r requirements_arm.txt (line 2))

Using cached opencv_python-4.8.1.78-cp37-abi3-macosx_11_0_arm64.whl.metadata (19 kB)

Collecting pandas==2.2.2 (from -r requirements_arm.txt (line 4))

Using cached pandas-2.2.2-cp310-cp310-macosx_11_0_arm64.whl.metadata (19 kB)

Collecting scikit-image==0.23.2 (from -r requirements_arm.txt (line 6))

Using cached scikit_image-0.23.2-cp310-cp310-macosx_12_0_arm64.whl.metadata (14 kB)

Collecting scipy==1.13.0 (from -r requirements_arm.txt (line 8))

Using cached scipy-1.13.0-cp310-cp310-macosx_12_0_arm64.whl.metadata (60 kB)

Collecting seaborn==0.11.0 (from -r requirements_arm.txt (line 9))

Using cached seaborn-0.11.0-py3-none-any.whl.metadata (2.2 kB)

Collecting scikit-learn==1.4.2 (from -r requirements_arm.txt (line 11))

Using cached scikit_learn-1.4.2-cp310-cp310-macosx_12_0_arm64.whl.metadata (11 kB)

Collecting joblib==1.4.2 (from -r requirements_arm.txt (line 13))

Using cached joblib-1.4.2-py3-none-any.whl.metadata (5.4 kB)

Collecting tabulate==0.9.0 (from -r requirements_arm.txt (line 15))

Using cached tabulate-0.9.0-py3-none-any.whl.metadata (34 kB)

Collecting tqdm==4.30.0 (from -r requirements_arm.txt (line 16))

Using cached tqdm-4.30.0-py2.py3-none-any.whl.metadata (37 kB)

Collecting xgboost==0.90 (from -r requirements_arm.txt (line 17))

Using cached xgboost-0.90.tar.gz (676 kB)

Preparing metadata (setup.py) ... done

Collecting yellowbrick==1.5.0 (from -r requirements_arm.txt (line 19))

Using cached yellowbrick-1.5-py3-none-any.whl.metadata (7.7 kB)

Collecting kaleido (from -r requirements_arm.txt (line 21))

Using cached kaleido-0.2.1-py2.py3-none-macosx_11_0_arm64.whl.metadata (15 kB)

Collecting psutil (from -r requirements_arm.txt (line 23))

Using cached psutil-6.0.0-cp38-abi3-macosx_11_0_arm64.whl.metadata (21 kB)

Collecting dash==1.14.0 (from -r requirements_arm.txt (line 24))

Using cached dash-1.14.0.tar.gz (70 kB)

Preparing metadata (setup.py) ... done

Collecting dash_color_picker==0.0.1 (from -r requirements_arm.txt (line 25))

Using cached dash_color_picker-0.0.1.tar.gz (82 kB)

Preparing metadata (setup.py) ... done

Collecting dash_core_components==1.10.2 (from -r requirements_arm.txt (line 26))

Using cached dash_core_components-1.10.2.tar.gz (3.4 MB)

Preparing metadata (setup.py) ... done

Collecting dash_colorscales==0.0.4 (from -r requirements_arm.txt (line 27))

Using cached dash_colorscales-0.0.4.tar.gz (62 kB)

Preparing metadata (setup.py) ... done

Collecting dash_html_components==1.0.3 (from -r requirements_arm.txt (line 28))

Using cached dash_html_components-1.0.3.tar.gz (187 kB)

Preparing metadata (setup.py) ... done

Collecting h5py==3.11.0 (from -r requirements_arm.txt (line 30))

Using cached h5py-3.11.0-cp310-cp310-macosx_11_0_arm64.whl.metadata (2.5 kB)

Collecting numba==0.59.1 (from -r requirements_arm.txt (line 32))

Using cached numba-0.59.1-cp310-cp310-macosx_11_0_arm64.whl.metadata (2.7 kB)

Collecting numexpr==2.10.0 (from -r requirements_arm.txt (line 34))

Using cached numexpr-2.10.0-cp310-cp310-macosx_11_0_arm64.whl.metadata (7.9 kB)

Collecting plotly==4.9.0 (from -r requirements_arm.txt (line 35))

Using cached plotly-4.9.0-py2.py3-none-any.whl.metadata (7.4 kB)

Collecting statsmodels==0.14.2 (from -r requirements_arm.txt (line 38))

Using cached statsmodels-0.14.2-cp310-cp310-macosx_11_0_arm64.whl.metadata (9.2 kB)

Collecting pyarrow==6.0.1 (from -r requirements_arm.txt (line 39))

Using cached pyarrow-6.0.1-cp310-cp310-macosx_11_0_arm64.whl.metadata (2.9 kB)

Collecting shap==0.35.0 (from -r requirements_arm.txt (line 40))

Using cached shap-0.35.0.tar.gz (273 kB)

Preparing metadata (setup.py) ... done

Collecting xlrd==1.2.0 (from -r requirements_arm.txt (line 42))

Downloading xlrd-1.2.0-py2.py3-none-any.whl.metadata (1.3 kB)

Collecting trafaret==2.1.1 (from -r requirements_arm.txt (line 43))

Downloading trafaret-2.1.1-py3-none-any.whl.metadata (5.3 kB)

Collecting geos==0.2.3 (from -r requirements_arm.txt (line 44))

Downloading geos-0.2.3-py3-none-any.whl.metadata (480 bytes)

Collecting ffmpeg-python==0.2.0 (from -r requirements_arm.txt (line 45))

Downloading ffmpeg_python-0.2.0-py3-none-any.whl.metadata (1.7 kB)

Collecting numpy>=1.21.2 (from opencv-python==4.8.1.78->-r requirements_arm.txt (line 2))

Using cached numpy-2.0.1-cp310-cp310-macosx_14_0_arm64.whl.metadata (60 kB)

Collecting python-dateutil>=2.8.2 (from pandas==2.2.2->-r requirements_arm.txt (line 4))

Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)

Collecting pytz>=2020.1 (from pandas==2.2.2->-r requirements_arm.txt (line 4))

Downloading pytz-2024.1-py2.py3-none-any.whl.metadata (22 kB)

Collecting tzdata>=2022.7 (from pandas==2.2.2->-r requirements_arm.txt (line 4))

Downloading tzdata-2024.1-py2.py3-none-any.whl.metadata (1.4 kB)

Collecting networkx>=2.8 (from scikit-image==0.23.2->-r requirements_arm.txt (line 6))

Downloading networkx-3.3-py3-none-any.whl.metadata (5.1 kB)

Collecting pillow>=9.1 (from scikit-image==0.23.2->-r requirements_arm.txt (line 6))

Downloading pillow-10.4.0-cp310-cp310-macosx_11_0_arm64.whl.metadata (9.2 kB)

Collecting imageio>=2.33 (from scikit-image==0.23.2->-r requirements_arm.txt (line 6))

Downloading imageio-2.34.2-py3-none-any.whl.metadata (4.9 kB)

Collecting tifffile>=2022.8.12 (from scikit-image==0.23.2->-r requirements_arm.txt (line 6))

Downloading tifffile-2024.7.24-py3-none-any.whl.metadata (31 kB)

Collecting packaging>=21 (from scikit-image==0.23.2->-r requirements_arm.txt (line 6))

Using cached packaging-24.1-py3-none-any.whl.metadata (3.2 kB)

Collecting lazy-loader>=0.4 (from scikit-image==0.23.2->-r requirements_arm.txt (line 6))

Downloading lazy_loader-0.4-py3-none-any.whl.metadata (7.6 kB)

Collecting matplotlib>=2.2 (from seaborn==0.11.0->-r requirements_arm.txt (line 9))

Downloading matplotlib-3.9.1-cp310-cp310-macosx_11_0_arm64.whl.metadata (11 kB)

Collecting threadpoolctl>=2.0.0 (from scikit-learn==1.4.2->-r requirements_arm.txt (line 11))

Downloading threadpoolctl-3.5.0-py3-none-any.whl.metadata (13 kB)

Collecting cycler>=0.10.0 (from yellowbrick==1.5.0->-r requirements_arm.txt (line 19))

Downloading cycler-0.12.1-py3-none-any.whl.metadata (3.8 kB)

Collecting Flask>=1.0.2 (from dash==1.14.0->-r requirements_arm.txt (line 24))

Downloading flask-3.0.3-py3-none-any.whl.metadata (3.2 kB)

Collecting flask-compress (from dash==1.14.0->-r requirements_arm.txt (line 24))

Downloading Flask_Compress-1.15-py3-none-any.whl.metadata (8.4 kB)

Collecting dash_renderer==1.6.0 (from dash==1.14.0->-r requirements_arm.txt (line 24))

Downloading dash_renderer-1.6.0.tar.gz (1.2 MB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 8.2 MB/s eta

0:00:00

Preparing metadata (setup.py) ... done

Collecting dash-table==4.9.0 (from dash==1.14.0->-r requirements_arm.txt (line 24))

Downloading dash_table-4.9.0.tar.gz (1.8 MB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 10.9 MB/s eta

0:00:00

Preparing metadata (setup.py) ... done

Collecting future (from dash==1.14.0->-r requirements_arm.txt (line 24))

Downloading future-1.0.0-py3-none-any.whl.metadata (4.0 kB)

Collecting llvmlite<0.43,>=0.42.0dev0 (from numba==0.59.1->-r requirements_arm.txt (line 32))

Downloading llvmlite-0.42.0-cp310-cp310-macosx_11_0_arm64.whl.metadata (4.8 kB)

Collecting numpy>=1.21.2 (from opencv-python==4.8.1.78->-r requirements_arm.txt (line 2))

Downloading numpy-1.26.4-cp310-cp310-macosx_11_0_arm64.whl.metadata (61 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.1/61.1 kB 7.2 MB/s eta

0:00:00

Collecting retrying>=1.3.3 (from plotly==4.9.0->-r requirements_arm.txt (line 35))

Downloading retrying-1.3.4-py3-none-any.whl.metadata (6.9 kB)

Collecting six (from plotly==4.9.0->-r requirements_arm.txt (line 35))

Downloading six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB)

Collecting patsy>=0.5.6 (from statsmodels==0.14.2->-r requirements_arm.txt (line 38))

Downloading patsy-0.5.6-py2.py3-none-any.whl.metadata (3.5 kB)

Collecting lxml (from geos==0.2.3->-r requirements_arm.txt (line 44))

Downloading lxml-5.2.2-cp310-cp310-macosx_10_9_universal2.whl.metadata (3.4 kB)

Collecting Werkzeug>=3.0.0 (from Flask>=1.0.2->dash==1.14.0->-r requirements_arm.txt (line 24))

Downloading werkzeug-3.0.3-py3-none-any.whl.metadata (3.7 kB)

Collecting Jinja2>=3.1.2 (from Flask>=1.0.2->dash==1.14.0->-r requirements_arm.txt (line 24))

Downloading jinja2-3.1.4-py3-none-any.whl.metadata (2.6 kB)

Collecting itsdangerous>=2.1.2 (from Flask>=1.0.2->dash==1.14.0->-r requirements_arm.txt (line 24))

Downloading itsdangerous-2.2.0-py3-none-any.whl.metadata (1.9 kB)

Collecting click>=8.1.3 (from Flask>=1.0.2->dash==1.14.0->-r requirements_arm.txt (line 24))

Downloading click-8.1.7-py3-none-any.whl.metadata (3.0 kB)

Collecting blinker>=1.6.2 (from Flask>=1.0.2->dash==1.14.0->-r requirements_arm.txt (line 24))

Downloading blinker-1.8.2-py3-none-any.whl.metadata (1.6 kB)

Collecting contourpy>=1.0.1 (from matplotlib>=2.2->seaborn==0.11.0->-r requirements_arm.txt (line 9))

Downloading contourpy-1.2.1-cp310-cp310-macosx_11_0_arm64.whl.metadata (5.8 kB)

Collecting fonttools>=4.22.0 (from matplotlib>=2.2->seaborn==0.11.0->-r requirements_arm.txt (line 9))

Downloading fonttools-4.53.1-cp310-cp310-macosx_11_0_arm64.whl.metadata (162 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 162.6/162.6 kB 10.3 MB/s eta

0:00:00

Collecting kiwisolver>=1.3.1 (from matplotlib>=2.2->seaborn==0.11.0->-r requirements_arm.txt (line 9))

Downloading kiwisolver-1.4.5-cp310-cp310-macosx_11_0_arm64.whl.metadata (6.4 kB)

Collecting pyparsing>=2.3.1 (from matplotlib>=2.2->seaborn==0.11.0->-r requirements_arm.txt (line 9))

Downloading pyparsing-3.1.2-py3-none-any.whl.metadata (5.1 kB)

Collecting brotli (from flask-compress->dash==1.14.0->-r requirements_arm.txt (line 24))

Downloading Brotli-1.1.0-cp310-cp310-macosx_10_9_universal2.whl.metadata (5.5 kB)

Collecting zstandard (from flask-compress->dash==1.14.0->-r requirements_arm.txt (line 24))

Downloading zstandard-0.23.0-cp310-cp310-macosx_11_0_arm64.whl.metadata (3.0 kB)

Collecting MarkupSafe>=2.0 (from Jinja2>=3.1.2->Flask>=1.0.2->dash==1.14.0->-r requirements_arm.txt (line 24))

Downloading MarkupSafe-2.1.5-cp310-cp310-macosx_10_9_universal2.whl.metadata (3.0 kB)

Downloading opencv_python-4.8.1.78-cp37-abi3-macosx_11_0_arm64.whl (33.1 MB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 33.1/33.1 MB 10.0 MB/s eta 0:00:00

Downloading pandas-2.2.2-cp310-cp310-macosx_11_0_arm64.whl (11.3 MB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.3/11.3 MB 15.9 MB/s eta 0:00:00

Downloading scikit_image-0.23.2-cp310-cp310-macosx_12_0_arm64.whl (13.3 MB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.3/13.3 MB 17.1 MB/s eta 0:00:00

Downloading scipy-1.13.0-cp310-cp310-macosx_12_0_arm64.whl (30.3 MB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 30.3/30.3 MB 16.1 MB/s eta 0:00:00

Downloading seaborn-0.11.0-py3-none-any.whl (283 kB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 283.1/283.1 kB 12.7 MB/s eta 0:00:00

Downloading scikit_learn-1.4.2-cp310-cp310-macosx_12_0_arm64.whl (10.4 MB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.4/10.4 MB 18.0 MB/s eta 0:00:00

Downloading joblib-1.4.2-py3-none-any.whl (301 kB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 301.8/301.8 kB 17.0 MB/s eta 0:00:00

Downloading tabulate-0.9.0-py3-none-any.whl (35 kB)

Downloading tqdm-4.30.0-py2.py3-none-any.whl (47 kB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.2/47.2 kB 5.1 MB/s eta 0:00:00

Downloading yellowbrick-1.5-py3-none-any.whl (282 kB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 282.6/282.6 kB 17.4 MB/s eta 0:00:00

Downloading h5py-3.11.0-cp310-cp310-macosx_11_0_arm64.whl (2.9 MB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.9/2.9 MB 18.4 MB/s eta 0:00:00

Downloading numba-0.59.1-cp310-cp310-macosx_11_0_arm64.whl (2.6 MB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.6/2.6 MB 18.6 MB/s eta 0:00:00

Using cached numexpr-2.10.0-cp310-cp310-macosx_11_0_arm64.whl (92 kB)

Downloading plotly-4.9.0-py2.py3-none-any.whl (12.9 MB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.9/12.9 MB 17.9 MB/s eta 0:00:00

Downloading statsmodels-0.14.2-cp310-cp310-macosx_11_0_arm64.whl (10.1 MB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.1/10.1 MB 10.3 MB/s eta 0:00:00

Downloading pyarrow-6.0.1-cp310-cp310-macosx_11_0_arm64.whl (13.8 MB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.8/13.8 MB 12.7 MB/s eta 0:00:00

Downloading xlrd-1.2.0-py2.py3-none-any.whl (103 kB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 103.3/103.3 kB 6.2 MB/s eta 0:00:00

Downloading trafaret-2.1.1-py3-none-any.whl (28 kB)

Downloading geos-0.2.3-py3-none-any.whl (400 kB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 400.3/400.3 kB 10.7 MB/s eta 0:00:00

Downloading ffmpeg_python-0.2.0-py3-none-any.whl (25 kB)

Downloading kaleido-0.2.1-py2.py3-none-macosx_11_0_arm64.whl (85.8 MB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 85.8/85.8 MB 22.6 MB/s eta 0:00:00

Downloading psutil-6.0.0-cp38-abi3-macosx_11_0_arm64.whl (251 kB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 252.0/252.0 kB 14.7 MB/s eta 0:00:00

Downloading cycler-0.12.1-py3-none-any.whl (8.3 kB)

Downloading flask-3.0.3-py3-none-any.whl (101 kB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 101.7/101.7 kB 15.0 MB/s eta 0:00:00

Downloading imageio-2.34.2-py3-none-any.whl (313 kB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 313.5/313.5 kB 15.5 MB/s eta 0:00:00

Downloading lazy_loader-0.4-py3-none-any.whl (12 kB)

Downloading llvmlite-0.42.0-cp310-cp310-macosx_11_0_arm64.whl (28.8 MB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 28.8/28.8 MB 11.2 MB/s eta 0:00:00

Downloading matplotlib-3.9.1-cp310-cp310-macosx_11_0_arm64.whl (7.8 MB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.8/7.8 MB 14.8 MB/s eta 0:00:00

Downloading networkx-3.3-py3-none-any.whl (1.7 MB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 16.4 MB/s eta 0:00:00

Downloading numpy-1.26.4-cp310-cp310-macosx_11_0_arm64.whl (14.0 MB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 14.0/14.0 MB 23.8 MB/s eta 0:00:00

Using cached packaging-24.1-py3-none-any.whl (53 kB)

Downloading patsy-0.5.6-py2.py3-none-any.whl (233 kB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 233.9/233.9 kB 17.5 MB/s eta 0:00:00

Downloading pillow-10.4.0-cp310-cp310-macosx_11_0_arm64.whl (3.4 MB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.4/3.4 MB 29.2 MB/s eta 0:00:00

Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 229.9/229.9 kB 14.0 MB/s eta 0:00:00

Downloading pytz-2024.1-py2.py3-none-any.whl (505 kB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 505.5/505.5 kB 18.3 MB/s eta 0:00:00

Downloading retrying-1.3.4-py3-none-any.whl (11 kB)

Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)

Downloading threadpoolctl-3.5.0-py3-none-any.whl (18 kB)

Downloading tifffile-2024.7.24-py3-none-any.whl (226 kB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 226.2/226.2 kB 14.6 MB/s eta 0:00:00

Downloading tzdata-2024.1-py2.py3-none-any.whl (345 kB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 345.4/345.4 kB 16.4 MB/s eta 0:00:00

Downloading Flask_Compress-1.15-py3-none-any.whl (8.6 kB)

Downloading future-1.0.0-py3-none-any.whl (491 kB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 491.3/491.3 kB 17.6 MB/s eta 0:00:00

Downloading lxml-5.2.2-cp310-cp310-macosx_10_9_universal2.whl (8.1 MB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.1/8.1 MB 23.4 MB/s eta 0:00:00

Downloading blinker-1.8.2-py3-none-any.whl (9.5 kB)

Downloading click-8.1.7-py3-none-any.whl (97 kB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.9/97.9 kB 11.5 MB/s eta 0:00:00

Downloading contourpy-1.2.1-cp310-cp310-macosx_11_0_arm64.whl (244 kB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 244.8/244.8 kB 17.2 MB/s eta 0:00:00

Downloading fonttools-4.53.1-cp310-cp310-macosx_11_0_arm64.whl (2.2 MB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.2/2.2 MB 24.9 MB/s eta 0:00:00

Downloading itsdangerous-2.2.0-py3-none-any.whl (16 kB)

Downloading jinja2-3.1.4-py3-none-any.whl (133 kB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.3/133.3 kB 15.2 MB/s eta 0:00:00

Downloading kiwisolver-1.4.5-cp310-cp310-macosx_11_0_arm64.whl (66 kB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.2/66.2 kB 7.4 MB/s eta 0:00:00

Downloading pyparsing-3.1.2-py3-none-any.whl (103 kB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 103.2/103.2 kB 14.3 MB/s eta 0:00:00

Downloading werkzeug-3.0.3-py3-none-any.whl (227 kB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 227.3/227.3 kB 17.9 MB/s eta 0:00:00

Downloading Brotli-1.1.0-cp310-cp310-macosx_10_9_universal2.whl (873 kB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 873.0/873.0 kB 25.8 MB/s eta 0:00:00

Downloading zstandard-0.23.0-cp310-cp310-macosx_11_0_arm64.whl (633 kB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 633.7/633.7 kB 25.2 MB/s eta 0:00:00

Downloading MarkupSafe-2.1.5-cp310-cp310-macosx_10_9_universal2.whl (18 kB)

Building wheels for collected packages: xgboost, dash, dash_color_picker, dash_core_components, dash_colorscales, dash_html_components, shap, dash_renderer, dash-table

Building wheel for xgboost (setup.py) ... done

Created wheel for xgboost: filename=xgboost-0.90-cp310-cp310-macosx_14_0_arm64.whl size=1616274 sha256=82df84ef31ca84bed9342a661a3e648618c970ac0bc6e74363bfac3f0608c047

Stored in directory: /Users/em47536/Library/Caches/pip/wheels/8e/59/d2/23e798a15a8c0c68e1b3b78b2f49bef35303ad6b299b5de64a

Building wheel for dash (setup.py) ... done

Created wheel for dash: filename=dash-1.14.0-py3-none-any.whl size=80113 sha256=f2e61768b23c650ffd7e8d28405ca79b7375567548f542286d48e734c5bea18e

Stored in directory: /Users/em47536/Library/Caches/pip/wheels/56/0f/8f/0a7d263e9d0c6b3919ed18e5bf4e975fc9cb946a7f660eca7a

Building wheel for dash_color_picker (setup.py) ... done

Created wheel for dash_color_picker: filename=dash_color_picker-0.0.1-py3-none-any.whl size=85215 sha256=0dec6ccd7acd6b9c391247d9c1ff22ae9b5884190b8c360c550502dd458c7ed9

Stored in directory: /Users/em47536/Library/Caches/pip/wheels/49/18/ad/396e6a198af7996ba5e3e42df5382379f2345e5b38590b6f89

Building wheel for dash_core_components (setup.py) ... done

Created wheel for dash_core_components: filename=dash_core_components-1.10.2-py3-none-any.whl size=3457297 sha256=ad412f06c460acaa615173aefc29fa98b50fb628f23fb8712eb0085b9388226d

Stored in directory: /Users/em47536/Library/Caches/pip/wheels/8b/85/c2/d027c7b001bed3b228052f6ac3d5a6eaceb63f051d1bb5856d

Building wheel for dash_colorscales (setup.py) ... done

Created wheel for dash_colorscales: filename=dash_colorscales-0.0.4-py3-none-any.whl size=62567 sha256=6580776249d6f44384aa3531f0935331ffef583bfa87fe7067eb2498a6868597

Stored in directory: /Users/em47536/Library/Caches/pip/wheels/70/6a/1f/95b2135cd2c895f0cd8b5d6d6ae7d5ed0a883580b34a31a14d

Building wheel for dash_html_components (setup.py) ... done

Created wheel for dash_html_components: filename=dash_html_components-1.0.3-py3-none-any.whl size=427307 sha256=b40a8b3ebf0b99257aa94203ed63fe60901a9a7675548aede57a4a4ed40a4d6c

Stored in directory: /Users/em47536/Library/Caches/pip/wheels/ec/10/ba/3c7c736f950b3831bed55f848dfd81dd0762163b5156839f5f

Building wheel for shap (setup.py) ... done

WARNING: Legacy build of wheel for 'shap' created no files.

Command arguments: /opt/anaconda3/envs/simba-test2/bin/python -u -c '

exec(compile('"'"''"'"''"'"'

This is -- a caller that pip uses to run

setup.py

#

- It imports setuptools before invoking setup.py, to enable projects

that directly

import from distutils.core to work with newer packaging standards.

- It provides a clear error message when setuptools is not installed.

- It sets sys.argv[0] to the underlying setup.py, when invoking

setup.py so

setuptools doesn'"'"'t think the script is -c. This avoids the

following warning:

manifest_maker: standard file '"'"'-c'"'"' not found".

- It generates a shim setup.py, for handling setup.cfg-only projects.

import os, sys, tokenize

try:

  import setuptools

except ImportError as error:

  print(

      "ERROR: Can not execute `setup.py` since setuptools is not

available in "

      "the build environment.",

      file=sys.stderr,

  )

  sys.exit(1)

file = %r

sys.argv[0] = file

if os.path.exists(file):

  filename = __file__

  with tokenize.open(__file__) as f:

      setup_py_code = f.read()

else:

  filename = "<auto-generated setuptools caller>"

  setup_py_code = "from setuptools import setup; setup()"

exec(compile(setup_py_code, filename, "exec"))

'"'"''"'"''"'"' % ('"'"'/private/var/folders/c9/2sq3gbpx2j74sx5f4wdq70f80000gq/T/pip-install-169t6xae/shap_e6e40e141eb54a9d8d4ec7d62826b4e3/setup.py'"'"',), "", "exec"))' bdist_wheel -d /private/var/folders/c9/2sq3gbpx2j74sx5f4wdq70f80000gq/T/pip-wheel-eo1vq6kt

Command output: [use --verbose to show]

Running setup.py clean for shap

Building wheel for dash_renderer (setup.py) ... done

Created wheel for dash_renderer: filename=dash_renderer-1.6.0-py3-none-any.whl size=1182196 sha256=bd7e17cf54556c3e4496d283227d6b38fbee897794613fa9f5429ee8f7a29fc5

Stored in directory: /Users/em47536/Library/Caches/pip/wheels/57/15/d0/6bf4b016bdcd6130d821a7e6e0075fe876cd5c3238b57035c5

Building wheel for dash-table (setup.py) ... done

Created wheel for dash-table: filename=dash_table-4.9.0-py3-none-any.whl size=1780751 sha256=212b34866b8d5e502aea6d93058cba073c3abf1c6393c351a6eeca7b319eff66

Stored in directory: /Users/em47536/Library/Caches/pip/wheels/39/ae/a7/df3b959aac99554dc9987ed2a762df378f1e73d8bd98ce163a

Successfully built xgboost dash dash_color_picker dash_core_components dash_colorscales dash_html_components dash_renderer dash-table

Failed to build shap

ERROR: Could not build wheels for shap, which is required to install pyproject.toml-based projects

After attempting to run simba, I get the following message:

Traceback (most recent call last): File "/opt/anaconda3/envs/simba-test2/bin/simba", line 5, in from simba.SimBA import main File "/opt/anaconda3/envs/simba-test2/lib/python3.10/site-packages/simba/SimBA.py", line 18, in import PIL.Image ModuleNotFoundError: No module named 'PIL'

Thank you,

Elena

On Tue, Jul 30, 2024 at 12:52 PM Simon Nilsson @.***> wrote:

Thanks @SnowySnowySnowy https://github.com/SnowySnowySnowy - it seems to be a problem with tables as well as cefpython on arm processor.

If you open up the requirements_arm.txt and remove lines 41 and 42 and try, do you still hit the error?

image.png (view on web) https://github.com/user-attachments/assets/72562ee1-f87a-4178-8cd9-d81c130b0de7

— Reply to this email directly, view it on GitHub https://github.com/sgoldenlab/simba/issues/372#issuecomment-2258895421, or unsubscribe https://github.com/notifications/unsubscribe-auth/BGEFJFWUNKA5KCMQIHUXMYDZO7HHDAVCNFSM6AAAAABK7MKKDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJYHA4TKNBSGE . You are receiving this because you were mentioned.Message ID: @.***>

sronilsson commented 3 weeks ago

Hi @SnowySnowySnowy ! Sorry I don't know how to fix this in a reasonable way I'm sorry. I need access to arm processor and M2 in order to carefully go through with packages works and which don't I think and I cannot prioritize this at the moment. If I ever have access to a mac with newer non-intel processor this is the first thing I will do.

Simon

SnowySnowySnowy commented 3 weeks ago

Hello Simon,

I understand. Thank you for taking the time to try to figure it out.

Best, Elena

On Sun, Aug 4, 2024, 1:45 PM Simon Nilsson @.***> wrote:

Hi @SnowySnowySnowy https://github.com/SnowySnowySnowy ! Sorry I don't know how to fix this in a reasonable way I'm sorry. I need access to arm processor and M2 in order to carefully go through with packages works and which don't I think and I cannot prioritize this at the moment. If I ever have access to a mac with newer non-intel processor this is the first thing I will do.

Simon

— Reply to this email directly, view it on GitHub https://github.com/sgoldenlab/simba/issues/372#issuecomment-2267633456, or unsubscribe https://github.com/notifications/unsubscribe-auth/BGEFJFSAWP7YTDSC3K6K2NDZPZZERAVCNFSM6AAAAABK7MKKDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRXGYZTGNBVGY . You are receiving this because you were mentioned.Message ID: @.***>

SnowySnowySnowy commented 3 weeks ago

Hello Simon,

I do have a question you may be able to answer. I have access to a couple other computers, including an older Mac and a Linux computer. Have people been successful installing Simba on Linux?

Thank you, Elena

On Mon, Aug 5, 2024, 8:22 AM Elena Morales-Grahl @.***> wrote:

Hello Simon,

I understand. Thank you for taking the time to try to figure it out.

Best, Elena

On Sun, Aug 4, 2024, 1:45 PM Simon Nilsson @.***> wrote:

Hi @SnowySnowySnowy https://github.com/SnowySnowySnowy ! Sorry I don't know how to fix this in a reasonable way I'm sorry. I need access to arm processor and M2 in order to carefully go through with packages works and which don't I think and I cannot prioritize this at the moment. If I ever have access to a mac with newer non-intel processor this is the first thing I will do.

Simon

— Reply to this email directly, view it on GitHub https://github.com/sgoldenlab/simba/issues/372#issuecomment-2267633456, or unsubscribe https://github.com/notifications/unsubscribe-auth/BGEFJFSAWP7YTDSC3K6K2NDZPZZERAVCNFSM6AAAAABK7MKKDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRXGYZTGNBVGY . You are receiving this because you were mentioned.Message ID: @.***>

sara-xinyue-liang commented 1 week ago

Hi,

I am trying to install Simba too. I also have Apple M2 and ran into the exact same issue ( I tried a couple of steps in the debugging process above and the output were similar) I wonder if there is any new progress on this issue?

sronilsson commented 1 week ago

Hi @sara-xinyue-liang !

I don't have a solution - I know where the issue comes from, and generally how to solve it but not completely sure:

i) When installing SimBA through pip install simba-uw-tf-dev , the packages in the attached requirements.txt get's installed on your system. In this file, You can see there is a `==python3.6 suffix qualifier sometimes, meaning that these packages are installed if you are using python 3.6 (or python>=3.9 suffix meaning these packages gets installed when you have 3.9 or above). The packages without a suffix gets installed in whatever python version you have.

ii) At least two of these packages, cefpython and probably shap, requires Intel CPU's to install successfully - there may be more than those that require Intel CPU's, but those at least are causing the issues. I don't think cefpython is not a strict requirement in SimBA, you can probably get away without it - but shap is.

iii) To solve it, you can install SimBA without any dependencies in this file by using pip install simba-uw-tf-dev --no-deps command. You could then install the requirement packages manually. Doing it manually would allow you to install packages from other sources than pip to get dependency versions suitable for a non-intel CPU. For example, cefpython for M2 can be installed through github rather than pip as discussed HERE. There should be a similar solution for shap.

requirements.txt

sara-xinyue-liang commented 1 day ago

Hi @sronilsson,

This is a follow-up for this issue:

I installed simba with "pip install simba-uw-tf-dev --no-deps " and then manually installed the requirement packages. This allowed me to successfully installed simba. I was able to install shap with pip without problem. I am not able to install cefpython with pip so I used the instruction of the GitHub. So far I am able to open the simba software, create a project and import video and tracking data. I will see if everything else run successfully with this installation method!

Sara Liang

SnowySnowySnowy commented 1 day ago

Hey @sara-xinyue-liang,

I am happy to hear that you were able to get it to work, as I still have not been able to. Could you provide me with a little more details on how you installed simba?

Did you install using Anaconda? If so, what python version did you use? How did you manually install the additional packages?

sara-xinyue-liang commented 1 day ago

Hi @SnowySnowySnowy,

Sure, I haven’t tested whether everything on simba will work well with this installation method but at least I can open a project load video and tracking data etc. So I hope some of the information would be helpful!

  1. So first I installed using the anaconda method. I followed the steps in https://github.com/sgoldenlab/simba/blob/master/docs/anaconda_installation.md, with one exception: I can not install python 3.6. so instead, I chose python 3.10.13 when creating a new environment called “simba”

  2. Then I get into the terminal and into the simba environment. I did that either by going to anaconda and click the green arrow next to the “simba” environment and click “open terminal”, or I typed “conda activate simba” directly in my terminal command line.

  3. Now that I am in the simba environment, I typed in “pip install simba-uw-tf-dev —no-deps” in the command line as shared by @sronilsson

  4. Then I manually install all the required packages indicated in the requirement.txt file shared by @sronilsson . For example, I saw “Pillow==8.3.2; python_version=="3.6" Pillow==10.3.0; python_version>=“3.9”” in the txt file, then I typed in “pip install pillow==10.3.0” in the command line to install the pillow version matching the python version.

In this way I pip installed all the package except for cefpython3 (which can not be installed by pip successfully)

  1. I then tried installing cefpython3 using the method listed here “https://stackoverflow.com/questions/71808828/how-do-i-install-cefpython-on-mac-its-throwing-errors" “https://github.com/cztomczak/cefpython/blob/master/docs/Build-instructions.md" as shared by @sronilsson It is really complicated and I followed through but I thought I probably installed cefpython57 as I was following the instruction. I am just going to give the software a try before I try changing that to 66.0. That is where I am at right now. You can try to avoid this and install cefpython 66.0 directly.

I hope it helps!