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

Can't get it to setup in windows. #31

Open
jrgleason opened this issue Sep 4, 2024 · 0 comments
Open

Can't get it to setup in windows. #31

jrgleason opened this issue Sep 4, 2024 · 0 comments

Comments

@jrgleason
Copy link

jrgleason commented Sep 4, 2024

Currently I have 3.12 on Windows 11 and it doesn't build with

ERROR: Could not find a version that satisfies the requirement tflite-runtime (from versions: none)
ERROR: No matching distribution found for tflite-runtime

I see this is because the library doesn't support 3.12 so I tried to install 3.9 (I also tried 3.10) but I get the following...

C:\Users\...>python --version
Python 3.9.13

C:\Users\...>pushd \\wsl.localhost\Ubuntu\...\code\ha-voice

Z:\...\code\ha-voice>cd wyoming-openwakeword

Z:\...\code\ha-voice\wyoming-openwakeword>python script\setup
Actual environment location may have moved due to redirects, links or junctions.
  Requested location: "Z:\...\code\ha-voice\wyoming-openwakeword\.venv\Scripts\python.exe"
  Actual location:    "\\wsl.localhost\Ubuntu\...\code\ha-voice\wyoming-openwakeword\.venv\Scripts\python.exe"
Actual environment location may have moved due to redirects, links or junctions.
  Requested location: "Z:\...\code\ha-voice\wyoming-openwakeword\.venv\Scripts\python.exe"
  Actual location:    "\\wsl.localhost\Ubuntu\...\code\ha-voice\wyoming-openwakeword\.venv\Scripts\python.exe"
Z:\...\code\ha-voice\wyoming-openwakeword\.venv\Scripts\python.exe: No module named pip
Traceback (most recent call last):
  File "Z:\....\code\ha-voice\wyoming-openwakeword\script\setup", line 22, in <module>
    subprocess.check_call(pip + ["install", "--upgrade", "pip"])
  File "C:\Users\...\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 373, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['Z:\\home\\...\\code\\ha-voice\\wyoming-openwakeword\\.venv\\Scripts\\python.exe', '-m', 'pip', 'install', '--upgrade', 'pip']' returned non-zero exit status 1.
Z:\home\...\code\ha-voice\wyoming-openwakeword>python -m pip --version
pip 22.0.4 from C:\Users\...\AppData\Local\Programs\Python\Python39\lib\site-packages\pip (python 3.9)

What is the proper way to get this to work?

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

1 participant