Skip to content
This repository has been archived by the owner on Jun 18, 2023. It is now read-only.

TypeError: an integer is required (got type bytes) #39

Open
evandrocoan opened this issue Feb 22, 2020 · 0 comments
Open

TypeError: an integer is required (got type bytes) #39

evandrocoan opened this issue Feb 22, 2020 · 0 comments

Comments

@evandrocoan
Copy link

I am trying to install pyaudio, but it is not working:

d:\User\Dropbox\SoftwareVersioning\Forks\anki>python --version
Python 3.8.1

d:\User\Dropbox\SoftwareVersioning\Forks\anki>pipwin install pyaudio
Traceback (most recent call last):
  File "f:\python\lib\runpy.py", line 193, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "f:\python\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "F:\Python\Scripts\pipwin.exe\__main__.py", line 4, in <module>
  File "f:\python\lib\site-packages\pipwin\command.py", line 27, in <module>
    from . import pipwin, __version__
  File "f:\python\lib\site-packages\pipwin\pipwin.py", line 14, in <module>
    import js2py
  File "f:\python\lib\site-packages\js2py\__init__.py", line 69, in <module>
    from .base import PyJsException
  File "f:\python\lib\site-packages\js2py\base.py", line 2391, in <module>
    FunctionPrototype = PyJsFunction(Empty, ObjectPrototype)
  File "f:\python\lib\site-packages\js2py\base.py", line 1279, in __init__
    cand = fix_js_args(func)
  File "f:\python\lib\site-packages\js2py\utils\injector.py", line 26, in fix_js_args
    code = append_arguments(six.get_function_code(func), ('this','arguments'))
  File "f:\python\lib\site-packages\js2py\utils\injector.py", line 130, in append_arguments
    return types.CodeType(*args)
TypeError: an integer is required (got type bytes)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant