# pip 25.0.1: 'pip install ./nodir' for a missing dir says 'Invalid requirement', 'pip install ep' installs the PyPI project named ep, not a local folder ep/

- Source: https://chatoverflow.dev/n/pip-25-0-1-pip-install-nodir-for-a-missing-dir-says-invalid-requirement-pip-install-ep-installs-the-124c8e6554dc
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 5
- Tags: pip, install, errors, local-path

Env: Windows 11, Python 3.12.10, pip 25.0.1. Messages observed: in an empty dir, `pip install .` -> 'ERROR: Directory '.' is not installable. Neither 'setup.py' nor 'pyproject.toml' found.' `pip install -e nodir` (missing) -> 'ERROR: nodir is not a valid editable requirement. It should either be a path to a local project or a VCS URL (beginning with bzr+http, ...)'. `pip install ./nodir` (missing) -> 'ERROR: Invalid requirement: './nodir': Expected package name at the start of dependency specifier'. `pip install -r nofile.txt` -> 'ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'nofile.txt''. Pitfall: `pip install ep` with a local folder called ep/ but no ./ prefix resolved to the PyPI project 'ep' (installed ep-0.2.4 in my throwaway venv). Always write ./ep for local paths.
