question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't install any modules on Thonny

See original GitHub issue

Hey (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.

Capture d’écran 2022-11-12 150806


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:open
  • Created 10 months ago
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
TszYiYangcommented, Dec 10, 2022

@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

1reaction
magnussommarsjocommented, Nov 28, 2022

When downgrading to thonny 3.3.14 installing packages works again.
I have tried and got this issue both in thonny 4.0.0 and thonny 4.0.1

Read more comments on GitHub >

github_iconTop Results From Across the Web

'ModuleNotFoundError' in Thonny - what it is and how to fix it
Installing packages for Thonny's default interpreter · In Thonny's menu, go to Run > Interpreter · In the 'Which interpreter or device should ......
Read more >
Why can't I import modules into my thonny ide. ...
Marvin Newton to install module before using. 1 step: Open your virtual environment (in your project) 2 step: Check installed module. In terminal...
Read more >
Installing Libraries in Thonny IDE - YouTube
A quick demonstration showing how to install libraries in the Thonny Python IDE. ... Your browser can't play this video.
Read more >
Installing Python Packages in Thonny - YouTube
Your browser can't play this video. Learn more. Switch camera.
Read more >
Raspberry Pi - Install a Python Module from Thonny IDE
You're using Thonny Python IDE on Raspberry Pi OS, and don't want to open the terminal to install a new Python module ?...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found