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
#21
In Pycharm preferences/settings you need to select the interpreter for your project - select the one for which you installed the pygame succesfuly. From your previous post I think it is python3.6

https://www.jetbrains.com/help/pycharm/c...reter.html
#22
I have Python3.6 with venv 15,16,17,18,19,20.................I selected venv19, hazardly, is it correct ??
#23
what are these? 6 different virtual environments?
if you have activated specific virtual environment when you installed pygame - use that one, otherwise - it is in the python3.6 installation
#24
Are you creating virtual environments?
I ask because of the name venv.

when adding a new interpreter (click on gear->Add local from file-->settings-->Project interpreter)
Make sure if you are not using virtual environment that you click the existing environment radio button
and then navigate to the python version that you want to use (if you don't see it in the pull down list)
#25
I changed again. the last: Python3.6(Pycharm Project). Always ignores pygame. So many choices. Ridiculous.
#26
You are making it ridiculous.
It wasn't that way when you installed PyCharm
#27
Maybe Larz60 has the same Pycharm 2017.3.3(windows). I should appreciate he told me if he has the same libraries, I give above. Thanks
#28
answer the questions in post # 24
#29
I tried the 17 possible python3.6s....All of them ignore pygame. May be, with this double-boot computer, pygame is not at the right place. Which place I cannot find. With linux I find whatever it is. Of course I have no experience with windows.
#30
Oh. My. God.


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,986 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