Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on Windows #36

Open
RufusJWB opened this issue Sep 17, 2020 · 1 comment
Open

Error on Windows #36

RufusJWB opened this issue Sep 17, 2020 · 1 comment

Comments

@RufusJWB
Copy link

I did install certstream with $ pip install certstream

but get the following error when executing it:

PS Desktop [09/17/2020 14:31:52]> certstream
Traceback (most recent call last):
  File "C:\Python37\Scripts\certstream-script.py", line 11, in <module>
    load_entry_point('certstream==1.11', 'console_scripts', 'certstream')()
  File "c:\python37\lib\site-packages\pkg_resources\__init__.py", line 489, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "c:\python37\lib\site-packages\pkg_resources\__init__.py", line 2793, in load_entry_point
    return ep.load()
  File "c:\python37\lib\site-packages\pkg_resources\__init__.py", line 2411, in load
    return self.resolve()
  File "c:\python37\lib\site-packages\pkg_resources\__init__.py", line 2417, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "c:\python37\lib\site-packages\certstream\cli.py", line 8, in <module>
    from signal import signal, SIGPIPE, SIG_DFL
ImportError: cannot import name 'SIGPIPE' from 'signal' (c:\python37\lib\signal.py)
PS Desktop [09/17/2020 14:32:05]>

Do you miss a reference?

@Fitblip
Copy link
Member

Fitblip commented Aug 12, 2021

Ah yeah I think SIGPIPE support on windows is non-existent (see https://docs.python.org/3/library/signal.html#signal.SIGPIPE).

Not sure what the fix is since I don't use windows though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants