weixin_39605414 2020-11-21 16:46
浏览 0

Installing Packages with Command Line

Original report by CLIENTSW4 (Bitbucket: CLIENTSW4 GitHub: CLIENTSW4 ).

Hello, I am attempting to install Thonny via command line, and I need to install some modules/packages along with it, automated if possible.

Here is my current script: "\path\to\thonny-2.1.17.exe" /VERYSILENT /NORESTART /DIR="C:\Program Files\Thonny" /COMPONENTS="matplotlib,Pillow,requests,bs4,openpyxl,pprint,PyPDF2,docx,time,pyautogui,smtplib" /LOG="C:\Logs\Thonny2.1.log"

Is the /COMPONENTS thing how to add those different packages? If I open the program and go into the package manager, nothing shows up there after installing this way.

Also, Thonny will not show up in the start menu.

该提问来源于开源项目:thonny/thonny

  • 写回答

6条回答 默认 最新

  • weixin_39605414 2020-11-21 16:46
    关注

    Hi!

    I've never tried installing Thonny like this. I assumed you looked up how InnoSetup installers behave on the command line.

    Any way, you can't install Python packages like this. If you are using default back-end then Python packages can't be installed before Thonny has performed its first run.

    评论

报告相同问题?