diff --git a/setup.py b/setup.py
index be4e01e..9022dc0 100644
--- a/setup.py
+++ b/setup.py
@@ -25,6 +25,6 @@ setup(
     long_description=long_description,
     long_description_content_type="text/markdown",
     setup_requires=["six", "setuptools_scm"] + sphinx,
-    packages=find_packages(),
+    packages=find_packages(exclude=["tests.*", "tests"]),
     install_requires=requirements,
 )
diff --git a/tsfresh/utilities/dataframe_functions.py b/tsfresh/utilities/dataframe_functions.py
index 381cc71..8d9a59c 100644
--- a/tsfresh/utilities/dataframe_functions.py
+++ b/tsfresh/utilities/dataframe_functions.py
@@ -321,12 +321,14 @@ def _normalize_input_to_internal_representation(timeseries_container, column_id,
         column_kind = "_variables"
         column_value = "_values"
 
+        if not set(timeseries_container.columns) - {column_id}:
+            raise ValueError("There is no column with values in your data!")
+
         timeseries_container.index.name = 'index'
         timeseries_container = pd.melt(timeseries_container.reset_index(),
                                        id_vars=['index', column_id],
                                        value_name=column_value, var_name=column_kind)
         timeseries_container = timeseries_container.set_index('index')
-
         timeseries_container[column_sort] = np.tile(sort, (len(timeseries_container) // len(sort)))
 
     # Check kind column

the install process is globally installing a "tests" module (using version 0.12)
Oh no, you encountered a problem while using *tsfesh*.

We, the maintainers, are happy to help you. When opening an issue, please provide the following information to us:

1. Your operating system

Ubuntu 18

2. The version of *tsfresh* that you are using

0.12

3. The data on which the problem occurred (please do not upload 1000s of time series but try to boil the problem down to a small group or even a singular one)
4. A minimal code snippet which reproduces the problem/bug
5. Any reported errors or traceback

For questions, you can also use our [gitter chatroom](https://gitter.im/tsfresh/)

Question 3-5 don't apply as this is an installation issue.

This version is globally installing a ``tests`` module, thus polluting the global namespace of modules with its own tests.

Once tsfresh is installed, we find the following under ``.../lib/python3.7/site-packages/tests``:

```
├── fixtures.py
├── __init__.py
├── integrations
│   ├── examples
│   │   ├── __init__.py
│   │   ├── __pycache__
│   │   │   ├── __init__.cpython-37.pyc
│   │   │   ├── test_driftbif_simulation.cpython-37.pyc
│   │   │   ├── test_har_dataset.cpython-37.pyc
│   │   │   └── test_robot_execution_failures.cpython-37.pyc
│   │   ├── test_driftbif_simulation.py
│   │   ├── test_har_dataset.py
│   │   └── test_robot_execution_failures.py
│   ├── __init__.py
│   ├── __pycache__
│   │   ├── __init__.cpython-37.pyc
│   │   ├── test_full_pipeline.cpython-37.pyc
│   │   ├── test_notebooks.cpython-37.pyc
│   │   └── test_relevant_feature_extraction.cpython-37.pyc
│   ├── test_full_pipeline.py
│   ├── test_notebooks.py
│   └── test_relevant_feature_extraction.py
├── __pycache__
│   ├── fixtures.cpython-37.pyc
│   └── __init__.cpython-37.pyc
└── units
    ├── feature_extraction
    │   ├── __init__.py
    │   ├── __pycache__
    │   │   ├── __init__.cpython-37.pyc
    │   │   ├── test_extraction.cpython-37.pyc
    │   │   ├── test_feature_calculations.cpython-37.pyc
    │   │   └── test_settings.cpython-37.pyc
    │   ├── test_extraction.py
    │   ├── test_feature_calculations.py
    │   └── test_settings.py
    ├── feature_selection
    │   ├── __init__.py
    │   ├── __pycache__
    │   │   ├── __init__.cpython-37.pyc
    │   │   ├── test_benjamini_hochberg_test.cpython-37.pyc
    │   │   ├── test_checks.cpython-37.pyc
    │   │   ├── test_feature_significance.cpython-37.pyc
    │   │   ├── test_relevance.cpython-37.pyc
    │   │   ├── test_selection.cpython-37.pyc
    │   │   └── test_significance_tests.cpython-37.pyc
    │   ├── test_benjamini_hochberg_test.py
    │   ├── test_checks.py
    │   ├── test_feature_significance.py
    │   ├── test_relevance.py
    │   ├── test_selection.py
    │   └── test_significance_tests.py
    ├── __init__.py
    ├── __pycache__
    │   └── __init__.cpython-37.pyc
    ├── scripts
    │   ├── __init__.py
    │   ├── __pycache__
    │   │   ├── __init__.cpython-37.pyc
    │   │   └── test_run_tsfresh.cpython-37.pyc
    │   └── test_run_tsfresh.py
    ├── transformers
    │   ├── __init__.py
    │   ├── __pycache__
    │   │   ├── __init__.cpython-37.pyc
    │   │   ├── test_feature_augmenter.cpython-37.pyc
    │   │   ├── test_feature_selector.cpython-37.pyc
    │   │   ├── test_per_column_imputer.cpython-37.pyc
    │   │   └── test_relevant_feature_augmenter.cpython-37.pyc
    │   ├── test_feature_augmenter.py
    │   ├── test_feature_selector.py
    │   ├── test_per_column_imputer.py
    │   └── test_relevant_feature_augmenter.py
    └── utilities
        ├── __init__.py
        ├── __pycache__
        │   ├── __init__.cpython-37.pyc
        │   ├── test_dataframe_functions.cpython-37.pyc
        │   ├── test_distribution.cpython-37.pyc
        │   └── test_string_manipilations.cpython-37.pyc
        ├── test_dataframe_functions.py
        ├── test_distribution.py
        └── test_string_manipilations.py
```

diff --git a/tests/units/utilities/test_dataframe_functions.py b/tests/units/utilities/test_dataframe_functions.py
index f498ee0..8181a97 100644
--- a/tests/units/utilities/test_dataframe_functions.py
+++ b/tests/units/utilities/test_dataframe_functions.py
@@ -138,6 +138,15 @@ class NormalizeTestCase(TestCase):
         self.assertRaises(ValueError, dataframe_functions._normalize_input_to_internal_representation, test_df,
                           None, None, None, "value")
 
+        test_df = pd.DataFrame([{"id": 0}])
+        self.assertRaises(ValueError, dataframe_functions._normalize_input_to_internal_representation, test_df,
+                          "id", None, None, None)
+
+        test_df = pd.DataFrame([{"id": 0, "sort": 0}])
+        self.assertRaises(ValueError, dataframe_functions._normalize_input_to_internal_representation, test_df,
+                          "id", "sort", None, None)
+
+
     def test_wide_dataframe_order_preserved_with_sort_column(self):
         """ verifies that the order of the sort column from a wide time series container is preserved
         """

pip install -e .
parse_log_pytest
requirements.txt
pytest>=4.4.0 pytest-cov>=2.6.1 pytest-xdist>=1.26.1 mock>=2.0.0 matplotlib>=2.0.0 seaborn>=0.7.1 ipython>=5.3.0 notebook>=4.4.1 pandas-datareader>=0.5.0 coveralls pytest
apt-get update apt-get install -y gcc
3.5.2
requirements.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
argon2-cffi==21.3.0
argon2-cffi-bindings==21.2.0
async-generator==1.10
attrs==22.2.0
backcall==0.2.0
bleach==4.1.0
certifi==2021.5.30
cffi==1.15.1
charset-normalizer==2.0.12
click==8.0.4
cloudpickle==2.2.1
contextvars==2.4
coverage==6.2
coveralls==3.3.1
cycler==0.11.0
dask==2021.3.0
dataclasses==0.8
decorator==5.1.1
defusedxml==0.7.1
distributed==2021.3.0
docopt==0.6.2
entrypoints==0.4
execnet==1.9.0
future==1.0.0
HeapDict==1.0.1
idna==3.10
immutables==0.19
importlib-metadata==4.8.3
importlib-resources==5.4.0
iniconfig==1.1.1
ipykernel==5.5.6
ipython==7.16.3
ipython-genutils==0.2.0
jedi==0.17.2
Jinja2==3.0.3
joblib==1.1.1
jsonschema==3.2.0
jupyter-client==7.1.2
jupyter-core==4.9.2
jupyterlab-pygments==0.1.2
kiwisolver==1.3.1
lxml==5.3.1
MarkupSafe==2.0.1
matplotlib==3.3.4
mistune==0.8.4
mock==5.2.0
msgpack==1.0.5
nbclient==0.5.9
nbconvert==6.0.7
nbformat==5.1.3
nest-asyncio==1.6.0
notebook==6.4.10
numpy==1.19.5
packaging==21.3
pandas==0.23.4
pandas-datareader==0.10.0
pandocfilters==1.5.1
parso==0.7.1
patsy==1.0.1
pexpect==4.9.0
pickleshare==0.7.5
Pillow==8.4.0
pluggy==1.0.0
prometheus-client==0.17.1
prompt-toolkit==3.0.36
psutil==7.0.0
ptyprocess==0.7.0
py==1.11.0
pycparser==2.21
Pygments==2.14.0
pyparsing==3.1.4
pyrsistent==0.18.0
pytest==7.0.1
pytest-cov==4.0.0
pytest-xdist==3.0.2
python-dateutil==2.9.0.post0
pytz==2025.2
PyYAML==6.0.1
pyzmq==25.1.2
requests==2.27.1
scikit-learn==0.24.2
scipy==1.5.4
seaborn==0.11.2
Send2Trash==1.8.3
six==1.17.0
sortedcontainers==2.4.0
statsmodels==0.12.2
tblib==1.7.0
terminado==0.12.1
testpath==0.6.0
threadpoolctl==3.1.0
tomli==1.2.3
toolz==0.12.0
tornado==6.1
tqdm==4.64.1
traitlets==4.3.3
-e git+https://github.com/blue-yonder/tsfresh.git@d81c57dc826c522484f0fd268144d189517df6cb#egg=tsfresh
typing_extensions==4.1.1
urllib3==1.26.20
wcwidth==0.2.13
webencodings==0.5.1
zict==2.1.0
zipp==3.6.0

name: tsfresh
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - certifi=2021.5.30=py36h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.3=he6710b0_2
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=1.1.1w=h7f8727e_0
  - pip=21.2.2=py36h06a4308_0
  - python=3.6.13=h12debd9_1
  - readline=8.2=h5eee18b_0
  - setuptools=58.0.4=py36h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - wheel=0.37.1=pyhd3eb1b0_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - argon2-cffi==21.3.0
      - argon2-cffi-bindings==21.2.0
      - async-generator==1.10
      - attrs==22.2.0
      - backcall==0.2.0
      - bleach==4.1.0
      - cffi==1.15.1
      - charset-normalizer==2.0.12
      - click==8.0.4
      - cloudpickle==2.2.1
      - contextvars==2.4
      - coverage==6.2
      - coveralls==3.3.1
      - cycler==0.11.0
      - dask==2021.3.0
      - dataclasses==0.8
      - decorator==5.1.1
      - defusedxml==0.7.1
      - distributed==2021.3.0
      - docopt==0.6.2
      - entrypoints==0.4
      - execnet==1.9.0
      - future==1.0.0
      - heapdict==1.0.1
      - idna==3.10
      - immutables==0.19
      - importlib-metadata==4.8.3
      - importlib-resources==5.4.0
      - iniconfig==1.1.1
      - ipykernel==5.5.6
      - ipython==7.16.3
      - ipython-genutils==0.2.0
      - jedi==0.17.2
      - jinja2==3.0.3
      - joblib==1.1.1
      - jsonschema==3.2.0
      - jupyter-client==7.1.2
      - jupyter-core==4.9.2
      - jupyterlab-pygments==0.1.2
      - kiwisolver==1.3.1
      - lxml==5.3.1
      - markupsafe==2.0.1
      - matplotlib==3.3.4
      - mistune==0.8.4
      - mock==5.2.0
      - msgpack==1.0.5
      - nbclient==0.5.9
      - nbconvert==6.0.7
      - nbformat==5.1.3
      - nest-asyncio==1.6.0
      - notebook==6.4.10
      - numpy==1.19.5
      - packaging==21.3
      - pandas==0.23.4
      - pandas-datareader==0.10.0
      - pandocfilters==1.5.1
      - parso==0.7.1
      - patsy==1.0.1
      - pexpect==4.9.0
      - pickleshare==0.7.5
      - pillow==8.4.0
      - pluggy==1.0.0
      - prometheus-client==0.17.1
      - prompt-toolkit==3.0.36
      - psutil==7.0.0
      - ptyprocess==0.7.0
      - py==1.11.0
      - pycparser==2.21
      - pygments==2.14.0
      - pyparsing==3.1.4
      - pyrsistent==0.18.0
      - pytest==7.0.1
      - pytest-cov==4.0.0
      - pytest-xdist==3.0.2
      - python-dateutil==2.9.0.post0
      - pytz==2025.2
      - pyyaml==6.0.1
      - pyzmq==25.1.2
      - requests==2.27.1
      - scikit-learn==0.24.2
      - scipy==1.5.4
      - seaborn==0.11.2
      - send2trash==1.8.3
      - six==1.17.0
      - sortedcontainers==2.4.0
      - statsmodels==0.12.2
      - tblib==1.7.0
      - terminado==0.12.1
      - testpath==0.6.0
      - threadpoolctl==3.1.0
      - tomli==1.2.3
      - toolz==0.12.0
      - tornado==6.1
      - tqdm==4.64.1
      - traitlets==4.3.3
      - typing-extensions==4.1.1
      - urllib3==1.26.20
      - wcwidth==0.2.13
      - webencodings==0.5.1
      - zict==2.1.0
      - zipp==3.6.0
prefix: /opt/conda/envs/tsfresh

tests/units/utilities/test_dataframe_functions.py::NormalizeTestCase::test_with_wrong_input
tests/units/utilities/test_dataframe_functions.py::GetRangeValuesPerColumnTestCase::test_range_values_correct_with_even_length tests/units/utilities/test_dataframe_functions.py::RestrictTestCase::test_restrict_dict tests/units/utilities/test_dataframe_functions.py::GetRangeValuesPerColumnTestCase::test_ignores_non_finite_values tests/units/utilities/test_dataframe_functions.py::RestrictTestCase::test_restrict_dataframe tests/units/utilities/test_dataframe_functions.py::RollingTestCase::test_with_wrong_input tests/units/utilities/test_dataframe_functions.py::GetRangeValuesPerColumnTestCase::test_no_finite_values_yields_0 tests/units/utilities/test_dataframe_functions.py::NormalizeTestCase::test_with_df_3 tests/units/utilities/test_dataframe_functions.py::NormalizeTestCase::test_with_df_1 tests/units/utilities/test_dataframe_functions.py::ImputeTestCase::test_impute_zero tests/units/utilities/test_dataframe_functions.py::CheckForNanTestCase::test_not_all_columns tests/units/utilities/test_dataframe_functions.py::GetRangeValuesPerColumnTestCase::test_range_values_correct_with_uneven_length tests/units/utilities/test_dataframe_functions.py::RollingTestCase::test_assert_single_row tests/units/utilities/test_dataframe_functions.py::CheckForNanTestCase::test_all_columns tests/units/utilities/test_dataframe_functions.py::GetIDsTestCase::test_get_id__correct_DataFrame tests/units/utilities/test_dataframe_functions.py::MakeForecastingFrameTestCase::test_make_forecasting_frame_range tests/units/utilities/test_dataframe_functions.py::ImputeTestCase::test_impute_range tests/units/utilities/test_dataframe_functions.py::NormalizeTestCase::test_with_df_2 tests/units/utilities/test_dataframe_functions.py::RestrictTestCase::test_restrict_wrong tests/units/utilities/test_dataframe_functions.py::RollingTestCase::test_dict_rolling_maxshift_1 tests/units/utilities/test_dataframe_functions.py::RollingTestCase::test_stacked_rolling tests/units/utilities/test_dataframe_functions.py::GetIDsTestCase::test_get_id__correct_dict tests/units/utilities/test_dataframe_functions.py::MakeForecastingFrameTestCase::test_make_forecasting_frame_list tests/units/utilities/test_dataframe_functions.py::NormalizeTestCase::test_wide_dataframe_order_preserved tests/units/utilities/test_dataframe_functions.py::RollingTestCase::test_warning_on_non_uniform_time_steps tests/units/utilities/test_dataframe_functions.py::NormalizeTestCase::test_with_dictionaries_one_row tests/units/utilities/test_dataframe_functions.py::RollingTestCase::test_dict_rolling tests/units/utilities/test_dataframe_functions.py::NormalizeTestCase::test_wide_dataframe_order_preserved_with_sort_column tests/units/utilities/test_dataframe_functions.py::ImputeTestCase::test_toplevel_impute tests/units/utilities/test_dataframe_functions.py::RollingTestCase::test_positive_rolling tests/units/utilities/test_dataframe_functions.py::MakeForecastingFrameTestCase::test_make_forecasting_frame_pdSeries tests/units/utilities/test_dataframe_functions.py::NormalizeTestCase::test_with_dictionaries_two_rows_sorted tests/units/utilities/test_dataframe_functions.py::RollingTestCase::test_negative_rolling tests/units/utilities/test_dataframe_functions.py::NormalizeTestCase::test_with_dictionaries_two_rows
setup.py tsfresh/utilities/dataframe_functions.py
setup.py tsfresh/utilities/dataframe_functions.py