-3

There is a python script that I want to run on windows 10 but it requires these dependencies:

apt-get install python-dmidecode libcdio-utils acpidump mesa-utils

But windows does not support the "apt-get" command.

I have tried chocolatey but I couldn't find those libraries that I am trying to download.

Anyone have any ideas on how I could make that script work?

2 Answers2

1

You can use "pip"(version 2 or 3) or "easy_install"(version 2 or 3) in :

C:\"Your Python version"\Scripts>

or

C:\Users\<your username>\AppData\Local\Programs\Python\"Your Pythonn Version"\Scripts>
BrowMan
  • 11
  • 3
0

apt-get is package distribution manager for Ubuntu and a few other linux distributions. It only handles linux packages, so there is no point trying to get it running on Windows 10.

For handling / managing Python packages and dependencies, you can try using Conda. You can install it by downloading either Anaconda or Miniconda. After installation, to get a new package use either

conda install <packagename>

or

pip install <packagename>

as Anaconda/Miniconda installs pip as well.

James
  • 32,991
  • 4
  • 47
  • 70
  • except the apt-get stuff he is trying to install is not at all python (w the exception of the first one) ... and there is no equivalent of mesa-utils for windows that i know of ... – Joran Beasley Jul 14 '18 at 16:51
  • I have installed Anaconda but the packages I searched for are not there. Any other ideas? – Liron Haber Jul 14 '18 at 19:37
  • @JoranBeasley: Conda is a binary installation tool. It handles more than just python libraries. Liron: you need to list what packages you are trying to install – James Jul 14 '18 at 19:53