error during the installation of ruamel-yaml-conda

I have a lil problem with the installation of ruamel-yaml-conda.
I have this brand new fridge fresh enviorment for spyder; and while checking dependencies and installing the ones missing I encountered this little obstacle while installing with pip ruamel-yaml-conda.

trying to install the package in the “classic” way, the terminal gives me is this kind of error:

Collecting ruamel-yaml-conda
  Using cached ruamel_yaml_conda-0.15.80.tar.gz (202 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'error'
error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [22 lines of output]
      Traceback (most recent call last):
        File "/private/var/folders/pn/r4h6wncx1fj97zcdjr2jsxpw0000gn/T/pip-install-9wxy_qdj/ruamel-yaml-conda_cbc16ce42fa94f7b92437d99fa4c8484/ruamel_yaml/__init__.py", line 21, in <module>
          from .main import *                               # NOQA
          ^^^^^^^^^^^^^^^^^^^
        File "/private/var/folders/pn/r4h6wncx1fj97zcdjr2jsxpw0000gn/T/pip-install-9wxy_qdj/ruamel-yaml-conda_cbc16ce42fa94f7b92437d99fa4c8484/ruamel_yaml/main.py", line 21, in <module>
          from ruamel.yaml.compat import StringIO, BytesIO, with_metaclass, PY3, nprint
      ImportError: cannot import name 'PY3' from 'ruamel.yaml.compat' (/opt/miniconda3/envs/spyder/lib/python3.11/site-packages/ruamel/yaml/compat.py)
      
      During handling of the above exception, another exception occurred:
      
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/private/var/folders/pn/r4h6wncx1fj97zcdjr2jsxpw0000gn/T/pip-install-9wxy_qdj/ruamel-yaml-conda_cbc16ce42fa94f7b92437d99fa4c8484/setup.py", line 14, in <module>
          import ruamel_yaml  # NOQA
          ^^^^^^^^^^^^^^^^^^
        File "/private/var/folders/pn/r4h6wncx1fj97zcdjr2jsxpw0000gn/T/pip-install-9wxy_qdj/ruamel-yaml-conda_cbc16ce42fa94f7b92437d99fa4c8484/ruamel_yaml/__init__.py", line 23, in <module>
          from ruamel_yaml.main import *                               # NOQA
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/private/var/folders/pn/r4h6wncx1fj97zcdjr2jsxpw0000gn/T/pip-install-9wxy_qdj/ruamel-yaml-conda_cbc16ce42fa94f7b92437d99fa4c8484/ruamel_yaml/main.py", line 21, in <module>
          from ruamel.yaml.compat import StringIO, BytesIO, with_metaclass, PY3, nprint
      ImportError: cannot import name 'PY3' from 'ruamel.yaml.compat' (/opt/miniconda3/envs/spyder/lib/python3.11/site-packages/ruamel/yaml/compat.py)
      [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.

I did a lot of research and tried to install the package via other commands with pip;
I tried installing some dependencies of the package, but nothing seemed to work.
in the lists of packages ruamel.yaml & ruamel.yaml.clib, are present and installed.
what could be the cause of this error? how can I resolve this? does this package have special needs and dependencies? are there machine requirements for this package? is there a more accommodating version of ruamel-yaml-conda?
thank you immensely in advance for any answer.
I also have installed pip-search for good measure.
again, am a total newbe in this field and unfortunately I don’t know how to read this error, so thank you in advance for any suggestion.
PS: am sorry is I misspell anything in this question; english is not my first language TwT

New contributor

Lila Set is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật