I installed Anaconda on a Windows machine. It turns out that the installation does not include the winsound
library. How can I install it over the Anaconda installation?
Asked
Active
Viewed 1,750 times
0

corcholatacolormarengo
- 331
- 3
- 7
- 18
-
Probably like any other library; `conda install winsound` – roganjosh Nov 26 '19 at 20:37
-
@roganjosh I get: `PackagesNotFoundError`. It seems winsound is not included at all in anaconda. – corcholatacolormarengo Nov 26 '19 at 20:40
-
1Then you can _possibly_ use `pip install`. I do it all the time, but I have my anaconda installation as my python path too – roganjosh Nov 26 '19 at 20:41
-
@roganjosh Now I'm getting: `Could not find a version that satisfies the requirement winsound (from versions: ) No matching distribution found for winsound` – corcholatacolormarengo Nov 26 '19 at 20:44
-
1It looks like `winsound` is part of the standard library, no? – AMC Nov 26 '19 at 20:45
-
[Check This Out](https://stackoverflow.com/questions/35108901/winsound-not-found-in-python) Looks like winsound comes installed by default, and is not available for download via pip or conda install, if you are using anaconda, you can see where it is by using `conda index winsound` – Moo10000 Nov 26 '19 at 20:46
-
This library, though I've never used it, is ringing bells in my head. I'm trying to find the reference I'm thinking of – roganjosh Nov 26 '19 at 20:46
-
For what it’s worth, it also looks like there are plenty of alternatives to `winsound`. – AMC Nov 26 '19 at 20:48
-
1My Google-foo has failed. I can't find any conda-specific caveats for why you don't have it installed already sorry – roganjosh Nov 26 '19 at 20:56
-
Please include how you determined that "*the installation does not include the `winsound` library*"? For example, did `python -c "import winsound"` throw a module not found error? – merv Nov 27 '19 at 00:25
-
@merv When I try to import it into my code I get: `name 'winsound' is not defined` – corcholatacolormarengo Nov 27 '19 at 00:26
-
It would improve your question if you included exactly what you did and the output in your question. For reference, see https://stackoverflow.com/help/minimal-reproducible-example – merv Nov 27 '19 at 00:28
-
Are you using Windows Subsystem for Linux? Also, the error you described in your comment does not match mine (`ModuleNotFoundError: No module named 'winsound'`) which is why I think it is necessary you expand your question with more details. – merv Nov 27 '19 at 01:19