Python Forum
Do you know how to import Python Standard Library
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Do you know how to import Python Standard Library
#1
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 ?
#2
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.
#3
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.
#4
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.
#5
No pygame inside of them. That is what is missing most.
#6
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.
#7
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\
#8
Try to upgrade pip with:
pip install --upgrade pip
then repeat the PyGame installation
#9
I'd also encourage you to update to Python 3.6.4
#10
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\


Possibly Related Threads…
Thread Author Replies Views Last Post
  python standard way of importing library mg24 1 895 Nov-15-2022, 01:41 AM
Last Post: deanhystad
  Running Standard Scaler in Python 3 Led_Zeppelin 1 1,267 Sep-05-2022, 06:35 PM
Last Post: deanhystad
  Install any library via pip get an error cannot import name 'SCHEME_KEYS' from 'pip. Anldra12 2 10,619 Jan-04-2022, 01:05 PM
Last Post: Anldra12
  How to test and import a model form computer to test accuracy using Sklearn library Anldra12 6 3,119 Jul-03-2021, 10:07 AM
Last Post: Anldra12
  Winsorized Mean and Standard Deviation Wheeliam 0 1,816 Jul-11-2020, 05:27 PM
Last Post: Wheeliam
  standard library modules chpyel 4 2,810 May-10-2020, 02:58 PM
Last Post: snippsat
  Regarding import library in two different program file Rohit 3 2,460 Jan-22-2020, 07:14 AM
Last Post: buran
  sys library and how to import using conda michavardy 0 2,482 Feb-26-2019, 08:25 AM
Last Post: michavardy
  Import Library but Download first? OscarBoots 15 6,985 Feb-07-2019, 03:07 AM
Last Post: snippsat
  Is there a standard for autocommit In PEP 249 zatlas1 10 5,214 Feb-06-2019, 04:56 PM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020