KeyError: 'AMD64'
Closed this issue ยท 5 comments
When I call tailwindcss
in the command prompt I get this error:
File "C:\Users\ianba\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\ianba\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\ianba\AppData\Local\Programs\Python\Python39\Scripts\tailwindcss.exe\__main__.py", line 7, in <module>
File "C:\Users\ianba\AppData\Local\Programs\Python\Python39\lib\site-packages\pytailwindcss\__main__.py", line 9, in main
completed_process = pytailwindcss.run(
File "C:\Users\ianba\AppData\Local\Programs\Python\Python39\lib\site-packages\pytailwindcss\__init__.py", line 45, in run
install(version, bin_path)
File "C:\Users\ianba\AppData\Local\Programs\Python\Python39\lib\site-packages\pytailwindcss\__init__.py", line 69, in install
return install_binary(version, ensure_is_pathlib_path(bin_path))
File "C:\Users\ianba\AppData\Local\Programs\Python\Python39\lib\site-packages\pytailwindcss\installation.py", line 27, in install_binary
binary_name = f"tailwindcss-{detect_target()}"
File "C:\Users\ianba\AppData\Local\Programs\Python\Python39\lib\site-packages\pytailwindcss\installation.py", line 58, in detect_target
return format_target(os_name=platform.system(), arch=platform.machine())
File "C:\Users\ianba\AppData\Local\Programs\Python\Python39\lib\site-packages\pytailwindcss\installation.py", line 70, in format_target
return {
KeyError: 'AMD64'
Oh, I see you're a Windows user. I haven't tested it under Windows so would be nice to see someone trying it. I've just fixed the issue with the AMD64
Keyerror, please install the latest 0.1.2
release and try to proceed, let me know how it went.
Oh, I see you're a Windows user. I haven't tested it under Windows so would be nice to see someone trying it. I've just fixed the issue with the
AMD64
Keyerror, please install the latest0.1.2
release and try to proceed, let me know how it went.
I have installed the latest version and it looks like it was successful.
I can test some other things on windows if you need.
This seems to be the winning commit @IanTerzo yea, looks like can be closed.
btw nice work @timonweb (oops, attributed the ticket author, I'm sleeping at the wheel here) โ 3 hour turnaround!
๐๐ป generally project seems a good idea, I really dislike needing unnecessary build dependencies in general especially in CI/CD. Slow, if you don't make a Docker image. Foolish - if you roll your own docker image with Node.js to speed up CI/CD when you could not install it ;-) ๐๐ป