Can't install any modules on Thonny
See original GitHub issueHey (sorry for my bad English) i manage to try many things with Tonny text editor, formy rRaspberry Pi Pico (i very like it btw exellent work !) but i have several issues when i tried to install modules (packages). When I began the installation, this error line code appeared:
ERROR: Can not combine '--user' and '--target' Process returned with code 1
But i solved this because my Rasp Pi was not plugged x’)
The problem now is, when i start the installation, its collecting package but stop with an error
[end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error pip subprocess to install build dependencies did not run successfully. exit code: 1 See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. Error Command '['C:\Users\33631\AppData\Local\pipkin\cache\workspaces\b1843a146278d117477687961e4e0504\Scripts\python.exe', '-I', '-m', 'pip', '--no-color', '--disable-pip-version-check', '--trusted-host', '127.0.0.1', 'install', '--no-compile', '--use-pep517', '--upgrade-strategy', 'only-if-needed', 'micropython-ssd1306', '--index-url', 'http://127.0.0.1:36628']' returned non-zero exit status 1.
I’ve seen about a package called “Pipkin” wich is a module who can download packages for Micropython, on PyPi, but i don’t know how to use it. I tried many things, change the directory, install with the cmd and research with the Install from a local file, but it is still not working.
I use:
. Python version: 3.10 . Pip version: 22.3 . Thonny version: 4.0.1
Still working on it, thank in advance 😃
Issue Analytics
- State:
- Created 10 months ago
- Comments:10 (1 by maintainers)
@magnussommarsjo I took your approach and it worked! I revert to thonny ver.3.3.13 and the package downloads smoothly.
The system I used when having download package issue:
macOS Ventura 13.0.1 Thonny 4.0.1 Python 3.10.8
When downgrading to
thonny 3.3.14
installing packages works again.I have tried and got this issue both in
thonny 4.0.0
andthonny 4.0.1