Giter Club home page Giter Club logo

Comments (8)

Constantin1489 avatar Constantin1489 commented on September 20, 2024 1

For intel macOS with Python 3.11.7, it seems not to work.
But when I did some PR on macOS for this repo, that worked with python3.11.
I can say python3.10 works with CD for now.
Maybe try python3.11.6. ( Oh sorry I don't ensure it works with M1 because the log is different than mine. )

Traceback (most recent call last):
  File "/Users/constantinhong/TODO/git-log-msg/repos/ch_reba/changedetection.io/changedetection.py", line 8, in <module>
    from changedetectionio import changedetection
  File "/Users/constantinhong/TODO/git-log-msg/repos/ch_reba/changedetection.io/changedetectionio/changedetection.py", line 8, in <module>
    import eventlet
  File "/usr/local/lib/python3.11/site-packages/eventlet/__init__.py", line 6, in <module>
    from eventlet import convenience
  File "/usr/local/lib/python3.11/site-packages/eventlet/convenience.py", line 7, in <module>
    from eventlet.green import socket
  File "/usr/local/lib/python3.11/site-packages/eventlet/green/socket.py", line 4, in <module>
    __import__('eventlet.green._socket_nodns')
  File "/usr/local/lib/python3.11/site-packages/eventlet/green/_socket_nodns.py", line 11, in <module>
    from eventlet import greenio
  File "/usr/local/lib/python3.11/site-packages/eventlet/greenio/__init__.py", line 1, in <module>
    from eventlet.greenio.base import *  # noqa
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/eventlet/greenio/base.py", line 455, in <module>
    from OpenSSL import SSL
  File "/usr/local/lib/python3.11/site-packages/OpenSSL/__init__.py", line 8, in <module>
    from OpenSSL import crypto, SSL
  File "/usr/local/lib/python3.11/site-packages/OpenSSL/crypto.py", line 3279, in <module>
    _lib.OpenSSL_add_all_algorithms()
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms

from changedetection.io.

dgtlmoon avatar dgtlmoon commented on September 20, 2024

ah i see python 3.11 there.. yeah unsupported platform :/ upstream issue, dont think its fixable, lets get more info

from changedetection.io.

dfielding14 avatar dfielding14 commented on September 20, 2024

OK thanks. Does it work on any macs? I have an intel based Mac I could try

from changedetection.io.

dgtlmoon avatar dgtlmoon commented on September 20, 2024

@dfielding14 can you try on your intel based mac and get back to us?

from changedetection.io.

Constantin1489 avatar Constantin1489 commented on September 20, 2024

@dgtlmoon eventlet team changed the policy last week. eventlet/eventlet@7662654

from changedetection.io.

dgtlmoon avatar dgtlmoon commented on September 20, 2024

@Constantin1489 ahh thanks for that, yeah so the fix is still to move to a single threaded gevent #2029

from changedetection.io.

Constantin1489 avatar Constantin1489 commented on September 20, 2024

Yeah actually when Cpython moved to python3.12 development, they changed some code. therefore eventlet and so on are broken on 3.12(of course, python3.12.1(or 2) will temporarily fix it. But the new code will be in python3.13 AFAIK. So the repos of related modules will do some special treat for that.).

See also: eventlet/eventlet#847

from changedetection.io.

Constantin1489 avatar Constantin1489 commented on September 20, 2024

The one with Python3.11.4 on m1 works.

Darwin Mac-mini-constantin.local 22.6.0 Darwin Kernel Version 22.6.0: Fri Sep 15 13:41:30 PDT 2023; root:xnu-8796.141.3.700.8~1/RELEASE_ARM64_T8103 arm64

from changedetection.io.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.