scrapy on F39

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

Installed scrapy and just trying to start the tutorial gives me that:

scrapy startproject tutorial
Traceback (most recent call last):
  File "/home/fred/.local/bin/scrapy", line 5, in <module>
    from scrapy.cmdline import execute
  File "/home/fred/.local/lib/python3.12/site-packages/scrapy/__init__.py", line 12, in <module>
    from scrapy.http import FormRequest, Request
  File "/home/fred/.local/lib/python3.12/site-packages/scrapy/http/__init__.py", line 10, in <module>
    from scrapy.http.request.form import FormRequest
  File "/home/fred/.local/lib/python3.12/site-packages/scrapy/http/request/form.py", line 19, in <module>
    from parsel.selector import create_root_node
  File "/home/fred/.local/lib/python3.12/site-packages/parsel/__init__.py", line 16, in <module>
    from parsel.selector import Selector, SelectorList  # NOQA
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/fred/.local/lib/python3.12/site-packages/parsel/selector.py", line 31, in <module>
    from .csstranslator import GenericTranslator, HTMLTranslator
  File "/home/fred/.local/lib/python3.12/site-packages/parsel/csstranslator.py", line 8, in <module>     from cssselect.parser import Element, FunctionalPseudoElement, PseudoElement ImportError: cannot import name 'PseudoElement' from 'cssselect.parser' (/usr/lib/python3.12/site-packages/cssselect/parser.py)
fred@romeo:~/Downloads/scrapy$ scrapy startproject test
Traceback (most recent call last):
  File "/home/fred/.local/bin/scrapy", line 5, in <module>
    from scrapy.cmdline import execute
  File "/home/fred/.local/lib/python3.12/site-packages/scrapy/__init__.py", line 12, in <module>
    from scrapy.http import FormRequest, Request
  File "/home/fred/.local/lib/python3.12/site-packages/scrapy/http/__init__.py", line 10, in <module>
    from scrapy.http.request.form import FormRequest
  File "/home/fred/.local/lib/python3.12/site-packages/scrapy/http/request/form.py", line 19, in <module>
    from parsel.selector import create_root_node
  File "/home/fred/.local/lib/python3.12/site-packages/parsel/__init__.py", line 16, in <module>
    from parsel.selector import Selector, SelectorList  # NOQA
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/fred/.local/lib/python3.12/site-packages/parsel/selector.py", line 31, in <module>
    from .csstranslator import GenericTranslator, HTMLTranslator
  File "/home/fred/.local/lib/python3.12/site-packages/parsel/csstranslator.py", line 8, in <module>     from cssselect.parser import Element, FunctionalPseudoElement, PseudoElement ImportError: cannot import name 'PseudoElement' from 'cssselect.parser' (/usr/lib/python3.12/site-packages/cssselect/parser.py)

Any idea why it's not working?

Thank you.

Fred
--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux