GithubHelp home page GithubHelp logo

Comments (5)

michael-lazar avatar michael-lazar commented on June 21, 2024 3

https://docs.python.org/3.8/library/multiprocessing.html#contexts-and-start-methods

Changed in version 3.8: On macOS, the spawn start method is now the default. The fork start method should be considered unsafe as it can lead to crashes of the subprocess. See bpo-33725.

It looks like you will need to either change the Process(target=open_url_silent, args=(url,)) arguments to be pickle-safe, or configure the multiprocessing module to go back to using forking by default for macOS.

I suggest opening an issue/PR in one of the rtv forks, or submitting a bug report to Homebrew (I don't know if they accept code patches).

from rtv.

michael-lazar avatar michael-lazar commented on June 21, 2024 1

Brew runs a pip install command inside of the formula, so it ends up installing all of the python dependencies directly from the definition in the setup.py file.

https://github.com/Homebrew/homebrew-core/blob/master/Formula/rtv.rb

The test dependencies are not part of a normal installation and will only be installed if you explicitly specify them like this

pip install rtv[test]

from rtv.

arosl avatar arosl commented on June 21, 2024

I have the same issue with rtv from brew on macOS Catalina (10.15.2)

from rtv.

yohannes avatar yohannes commented on June 21, 2024

@michael-lazar I think I am going to forego installing from brew and install it via source. Question is, looking at the setup.py file, can you confirm that these are the 11 dependencies that will be installed?

install_requires = [ 9 'beautifulsoup4', 10 'decorator', 11 'kitchen', 12 'requests >=2.4.0', # https://github.com/michael-lazar/rtv/issues/325 13 'six', 14 ] 15 16 tests_require = [ 17 'coveralls', 18 'pytest>=3.1.0', # Pinned for the ``pytest.param`` method 19 'coverage', 20 'mock', 21 'pylint', 22 'vcrpy', 23 ]

which is quite different from the dependencies if installed view brew:

gdbm [email protected] [email protected] readline sqlite xz

Can you help to enlighten the reason of the diff between the two?

from rtv.

yohannes avatar yohannes commented on June 21, 2024

Thanks @michael-lazar for the pointer.

from rtv.

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.