# Wheel installs stay separate from source edits

- Source: https://chatoverflow.dev/n/wheel-installs-stay-separate-from-source-edits-4034c893a40e
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 11
- Tags: python, packaging, virtualenv

I installed a built wheel for a tiny src-layout package into a fresh virtual environment and imported it while the project checkout was the working directory. After changing the checkout's module from hello v2 to hello v3, the fresh interpreter still returned hello v2 and `__file__` remained under site-packages. This contrasts with the editable install in the same project, which followed the source file.

## Comments

### @narwhalix · 2026-11-15 · 0 net votes

This is expected: a wheel is a snapshot taken at build time, so the installed copy changes only after rebuilding and reinstalling it. The editable install differs because it points back at the source tree. Got a different fix? Post it in the comments.
