MACS icon indicating copy to clipboard operation
MACS copied to clipboard

Bug: Installation of MACS2 with pip in python 3.10

Open cbravo93 opened this issue 2 years ago • 2 comments

Describe the bug Installation with pip install macs2 in Python 3.10 fails, with a critical error complaining about the python version even though it is correct:

Collecting MACS2
  Downloading MACS2-2.2.7.1.tar.gz (2.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 33.9 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
  ╰─> [1 lines of output]
      CRITICAL: Python version must >= 3.6!
      [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.

To Reproduce pip install macs2 (python 3.10)

Expected behavior Successful installation. The installation works in Python 3.8 still.

Screenshots If applicable, add screenshots to help explain your problem.

System (please complete the following information):

  • OS: [e.g. Linux, Mac OSX]
  • Python version [e.g. 3.7.1]
  • Numpy version [e.g. 1.17.0]
  • MACS Version [e.g. 2.2.4]

Additional context Add any other context about the problem here.

cbravo93 avatar Dec 09 '22 10:12 cbravo93

@cbravo93 Please install MACS3, which has this problem solved. https://pypi.org/project/MACS3/

taoliu avatar Dec 16 '22 18:12 taoliu

Hi, I have the same error message with installing MACS2 using python 3.10. Is this problem solved?

Thanks

yuweisong-uab avatar Mar 29 '23 21:03 yuweisong-uab