Python Forum

Full Version: Do you know how to import Python Standard Library
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
Hi all! I have a double-boot 64 bits computer. I use python 3.6 Strangely enough on my Pycharm(3.3) the list of files are followed by the "External Libraries" which are: python 2.7 for windows OS, python 3.6 for linux OS.
Of course I can do almost nothing on my windows Pycharm. So I have now to first download somewhere the python standard library, second, transfer it in my python 3.6. Isn't it ?
Hello,
nope, you don't need to, Python standard library is included with the installation. Just try to for example use some of the standard library functions.
That is on my windows Pycharm:
External Libraries; Python 2.7, Extended Definitions, Binary Skeletons, view binaryroot,Lib, site-packages, Scripts, Type Shed Stubs.
Of course with all this I can run almost nothing.
Look inside Lib and site-packages directories, you will find quite a number of modules. And what is missing to run your code properly, you can install easily with pip.
No pygame inside of them. That is what is missing most.
PyGame is not part of standard library. Thread title and original post are about the standard library.
See this tutorial on our forums by metulburr.
For PyGame related issues post in Game Development subforum.
In the console I typed: pip install pygame. Unfortunately, after he installed many things, I found at the bottom:Command "python setup.py egg_info" failed with error code 1 in C:\Users\Sylvain\AppData\Local\Temp\pip-build-3cfjfr9m\pygame\
Try to upgrade pip with:
pip install --upgrade pip
then repeat the PyGame installation
I'd also encourage you to update to Python 3.6.4
I entered pip install --upgrade pip. It worked well, but after I typed: pip install pygame,I got the following: Command "python setup.py egg_info" failed with error code 1 in C:\Users\Sylvain\AppData\Local\Temp\pip-build-ff6ff272\pygame\
Pages: 1 2 3 4