NT - Problem resolved - user error
Installing and using Python on windows has become a 2 week long nightmare
Installing and using Python on windows has become a 2 week long nightmare
|
Jul-03-2021, 04:24 PM
(Jul-03-2021, 04:21 PM)ogg130 Wrote: Windows 10.
Look at Python 3.9/3.8 and pip installation under Windows
(Jul-03-2021, 04:24 PM)ogg130 Wrote: I run a simple hello world script by running 'python scriptname.py', it seems to run, but doesnt return any output.You test as in link python -V and and pip -V C:\Users\Tom>python -V Python 3.9.5 C:\Users\Tom>python -c "import sys; print(sys.executable)" C:\python39\python.exe C:\Users\Tom>pip -V pip 21.1.3 from c:\python39\lib\site-packages\pip (python 3.9) C:\Users\Tom>Why this work has only to do with that Environment Variables Path is set to Python 3.9. ![]() I had changed to C:\python37 and C:\python37\Scripts then it would use Python 3.7 when to python -V So then main version that use most should always be set like this, i have a lot version Anaconda/Miniconda/PyPY...ect ,all version python.org can be access bye using py (Python install put a py.exe in the Windows folder).C:\Users\Tom>py -2.7 -V Python 2.7.9 C:\Users\Tom>py -3.4 -V Python 3.4.2 C:\Users\Tom>py -3.6 -V Python 3.6.4 C:\Users\Tom>py -3.7 -m pip install requests Requirement already satisfied: requests in c:\python37\lib\site-packages (2.22.0
Jul-06-2021, 11:14 AM
Download the Python Installer binaries. Open the official Python website in your web browser. Navigate to the Downloads tab for Windows. Choose the latest Python 3 release.
Run the Executable Installer. Once the installer is downloaded, run the Python installer. Check the Install launcher for all users check box. Add Python to environmental variables. The last (optional) step in the installation process is to add Python Path to the System Environment variables. Verify the Python Installation. You have now successfully installed Python 3.7.3 on Windows 10. |
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Is one week enough to learn these Python topics? Feeling overwhelmed | nedreV | 1 | 568 |
Feb-13-2025, 05:47 PM Last Post: Gribouillis |
|
Installing auto-sklearn on Windows 10 | Led_Zeppelin | 1 | 3,786 |
Apr-13-2021, 03:08 AM Last Post: snippsat |
|
opening python from the command line takes a long time to load? | abdulkaderanwar | 4 | 4,454 |
Jun-22-2020, 03:42 AM Last Post: abdulkaderanwar |
Users browsing this thread: 1 Guest(s)