Framework Laptop 16 - Input Module Software: Installation error
ijustarrived opened this issue · 7 comments
I'm trying to install the led matrix python library, but I'm getting the following error:
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.1264.0_x64__qbz5n2kfra8p0\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
main()
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.1264.0_x64__qbz5n2kfra8p0\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.1264.0_x64__qbz5n2kfra8p0\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Devtop\AppData\Local\Temp\pip-build-env-pzlpiwx_\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Devtop\AppData\Local\Temp\pip-build-env-pzlpiwx_\overlay\Lib\site-packages\setuptools\build_meta.py", line 295, in _get_build_requires
self.run_setup()
File "C:\Users\Devtop\AppData\Local\Temp\pip-build-env-pzlpiwx_\overlay\Lib\site-packages\setuptools\build_meta.py", line 487, in run_setup
super().run_setup(setup_script=setup_script)
File "C:\Users\Devtop\AppData\Local\Temp\pip-build-env-pzlpiwx_\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
exec(code, locals())
File "<string>", line 37, in <module>
File "<string>", line 11, in read_description
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.1264.0_x64__qbz5n2kfra8p0\Lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 876: character maps to <undefined>
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
My rig is:
- Framework 16 PC
- Processor AMD Ryzen 7 7840HS w/ Radeon 780M Graphics 3.80 GHz
- Installed RAM 16.0 GB (15.3 GB usable)
- OS W11 v22631.3737
Hmm, I think there's something wrong with your Python setup on Windows.
How exactly are you trying to install it?
Thanks for replying! I had given up on this. I'm using the pip command pip install framework16-inputmodule to install it. I'm also in the framework discord server if it's easier for you to talk from there. @ComputerBones in the discord server
Does it work with pip install inputmodule? I renamed the module last year.
Or you can try to install it locally from this folder https://github.com/FrameworkComputer/inputmodule-rs/tree/main/python with:
pip install -e python
I see. I have not tried it using that name. I'll report back when I do. Thanks!
Tried with pip install inputmodule. Got the following error:
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement inputmodule (from versions: none)
I tried your other suggestion and got the same error I originally posted about the charmap.
Just to be sure it's clear, my framework is running Windows.
@ijustarrived Did you happen to resolve this? I'm on windows trying to install with pip install framework16_inputmodule and got the same error and trying to install with pip install inputmodule provides a message mentioning no package was found.
ERROR: Could not find a version that satisfies the requirement inputmodule (from versions: none) ERROR: No matching distribution found for inputmodule