Skip to content
Zoos GlobalZoos GlobalZoos EngineeringHub

python_pck

README documentation for python_pck

stableRepositoryBatchfilepublic
3 min readUpdated Jul 24, 2026@platform-teamPlatform Engineering
Edit source

Source: ZoosGlobal/python_pck Visibility: Public This page is automatically synchronized from the repository README. Do not edit this generated file directly.


🐍 Python Installation & Package Management (Windows)

Section titled “🐍 Python Installation & Package Management (Windows)”

This guide explains how to install Python correctly for all users on Windows and how to install packages online and offline using the python_pck repository.


Download Python from the official website:

https://www.python.org/downloads/windows/

During installation:

  • Install for all users
  • Add Python to PATH
  • ❌ Do NOT install via Microsoft Store

This installs Python under:

C:\Program Files\Python311\

Open Command Prompt and run:

Terminal window
where python
C:\Program Files\Python311\python.exe

Check version:

Terminal window
python --version

Example:

Python 3.11.0

3️⃣ Understand Where Python Installs Packages

Section titled “3️⃣ Understand Where Python Installs Packages”

Python installs packages in different locations depending on how it is run.

C:\Program Files\Python311\Lib\site-packages
C:\Users\<username>\AppData\Roaming\Python\Python311\site-packages

To make packages available to all users, they must be installed in the system-wide path.


4️⃣ Install Packages ONLINE (Internet Access)

Section titled “4️⃣ Install Packages ONLINE (Internet Access)”

Always run package installs as Administrator.

Terminal window
"C:\Program Files\Python311\python.exe" -m pip install requests
Terminal window
"C:\Program Files\Python311\python.exe" -m pip install requests pandas openpyxl numpy

Terminal window
"C:\Program Files\Python311\python.exe" -c "import requests, pandas, openpyxl, numpy; print('ALL OK')"

Check install location:

Terminal window
"C:\Program Files\Python311\python.exe" -c "import pandas; print(pandas.__file__)"

Expected:

C:\Program Files\Python311\Lib\site-packages\pandas\__init__.py

6️⃣ Install Packages OFFLINE (Using python_pck Repo)

Section titled “6️⃣ Install Packages OFFLINE (Using python_pck Repo)”
Terminal window
git clone https://github.com/shivamzoos/python_pck

Or copy the repository folder manually to the target machine.


python_pck/
├── offline_packages/
│ ├── install.bat
│ ├── requirements.txt
│ └── *.whl
└── README.md

Section titled “7️⃣ Clean Old Package Installations (Recommended)”

Before offline installation, remove any existing packages:

Terminal window
"C:\Program Files\Python311\python.exe" -m pip uninstall -y ^
requests pandas openpyxl numpy ^
pytz python-dateutil et-xmlfile urllib3 ^
charset-normalizer idna certifi six tzdata

Optionally remove leftover user packages:

Terminal window
rmdir /s /q "C:\Users\<username>\AppData\Roaming\Python\Python311"

8️⃣ Install Packages OFFLINE (System-Wide)

Section titled “8️⃣ Install Packages OFFLINE (System-Wide)”

Navigate to the offline package directory:

Terminal window
cd python_pck\offline_packages

Run Command Prompt as Administrator and execute:

Terminal window
"C:\Program Files\Python311\python.exe" -m pip install ^
--no-index ^
--find-links=. ^
--ignore-installed ^
-r requirements.txt
Flag Description
--no-index Prevents internet usage
--find-links=. Uses local wheel files
--ignore-installed Forces clean installation

Terminal window
"C:\Program Files\Python311\python.exe" -c "import requests, pandas, openpyxl, numpy; print('ALL OK')"

Verify dependencies:

Terminal window
"C:\Program Files\Python311\python.exe" -c "import pytz, dateutil, et_xmlfile, urllib3; print('DEPS OK')"

Terminal window
"C:\Program Files\Python311\python.exe" -c "import site; print(site.getsitepackages())"

Expected output:

['C:\\Program Files\\Python311',
'C:\\Program Files\\Python311\\Lib\\site-packages']

  • ❌ Installing Python via Microsoft Store
  • ❌ Running pip install without Administrator privileges
  • ❌ Using pip install --user
  • ❌ Mixing multiple Python installations
  • ❌ Installing packages without verifying paths

Install Python for all users and install packages as Administrator. This ensures packages are available system-wide and usable by everyone.


Python installed correctly
Packages installed system-wide
Online and offline installs supported