Preliminary Checks
Description
I installed shift from source and created a virtual environment with python version 3.10.4, because I saw that this satisfied the listed minimum version in the pyproject.toml.
During install, the grid-data-models package could not be installed:
ERROR: Could not find a version that satisfies the requirement grid-data-models==2.3.3 (from nrel-shift) (from versions: none)
ERROR: No matching distribution found for grid-data-models==2.3.3
It seems that gdm requires at least python 3.11. Once I created a new virtual environment (this one with Python 3.12.10), all package dependencies were resolved.
Sample Code
git clone https://github.com/NLR-Distribution-Suite/shift.git
cd shift
pyenv virtualenv 3.10.4 shift-env && pyenv local shift-env
pip install -e .
Python, Shift
(shift-env) (base) robstallman@Robs-Laptop shift % python -c "import shift.version; print(shift.version.version_summary())"
shift version: 0.6.3
dep_pkgs: osmnx-2.1.0 networkx-3.6.1 infrasys-1.1.2
platform: macOS-26.5-arm64-arm-64bit
commit: 94b552f
python_version: 3.12.10 (main, Sep 3 2025, 16:50:04) [Clang 17.0.0 (clang-1700.0.13.3)]
install_path: /Users/robstallman/projects/shift/src/shift
Preliminary Checks
Description
I installed shift from source and created a virtual environment with python version 3.10.4, because I saw that this satisfied the listed minimum version in the pyproject.toml.
During install, the
grid-data-modelspackage could not be installed:It seems that gdm requires at least python 3.11. Once I created a new virtual environment (this one with Python 3.12.10), all package dependencies were resolved.
Sample Code
Python, Shift