![]() |
Do you know how to import Python Standard Library - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Do you know how to import Python Standard Library (/thread-7793.html) |
Do you know how to import Python Standard Library - sylas - Jan-25-2018 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 ? RE: Do you know how to import Python Standard Library - j.crater - Jan-25-2018 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. RE: Do you know how to import Python Standard Library - sylas - Jan-25-2018 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. RE: Do you know how to import Python Standard Library - j.crater - Jan-25-2018 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. RE: Do you know how to import Python Standard Library - sylas - Jan-25-2018 No pygame inside of them. That is what is missing most. RE: Do you know how to import Python Standard Library - j.crater - Jan-25-2018 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. RE: Do you know how to import Python Standard Library - sylas - Jan-25-2018 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\ RE: Do you know how to import Python Standard Library - j.crater - Jan-25-2018 Try to upgrade pip with: pip install --upgrade pip then repeat the PyGame installation RE: Do you know how to import Python Standard Library - Larz60+ - Jan-25-2018 I'd also encourage you to update to Python 3.6.4 RE: Do you know how to import Python Standard Library - sylas - Jan-25-2018 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\ |