Python Forum
installing any package= impossible headache
Thread Rating:
  • 2 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
installing any package= impossible headache
#8
It is sometimes quite frustrating when people ask for help and then refuse to follow the advise given. First off, as a new user, remove Python 2.7 and install the latest version, currently 3.6.3 using the the tutorial given earlier and repeated here: https://python-forum.io/Thread-Basic-Par...er-Windows. You are always having to change directories because your Python installation is wrong, the Environmental Variables are not set. If installed correctly, it doesn't matter where you are, you can invoke 'pip' and 'python'

Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>pip list --outdated
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the
section) to disable this warning.
pytz (2017.2) - Latest: 2017.3 [wheel]

C:\WINDOWS\system32>
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.

C:\>pip list --outdated
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the
section) to disable this warning.
pytz (2017.2) - Latest: 2017.3 [wheel]

C:\>
C:\WINDOWS\system32>pip install -U pytz
Collecting pytz
  Downloading pytz-2017.3-py2.py3-none-any.whl (511kB)
    100% |████████████████████████████████| 512kB 998kB/s
Installing collected packages: pytz
  Found existing installation: pytz 2017.2
    Uninstalling pytz-2017.2:
      Successfully uninstalled pytz-2017.2
Successfully installed pytz-2017.3

C:\WINDOWS\system32>
Python 2 is considered to be a 'maintenance' only version and even that will be discontinued in 2020.

As a new programmer, the majority of programs you write will be run from the 'command' terminal, so you may as well add a shortcut on your desktop for it.

You should also know what operating system you are using (you think you're using Windows 7? Really?). If you have a 'My Computer' icon on your desktop, just double click it, if not, click on the 'System' icon in the Control Panel. You will then not only know what version of Windows your are using, but also what processor (32 or 64 bit) you have.

If you follow the advice you are given, you will find your need for  Wall will be greatly reduced.
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
Reply


Messages In This Thread
RE: installing any package= impossible headache - by sparkz_alot - Nov-02-2017, 08:00 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  trouble installing python package Tuxedo 1 3,295 Apr-07-2021, 09:07 AM
Last Post: Larz60+
  Installing package in Anaconda on an Intranet Computer Secret 1 1,963 Sep-17-2020, 02:16 PM
Last Post: Larz60+
  Error when installing Seaborn package using pip chawkins 3 5,640 Jul-16-2018, 12:12 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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