-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pyActigraphy: installation error #153
Comments
I am getting the same error when I try to install pyActigraphy inside a conda virtual environment. I even tried to use the command
I think this problem has to do with the fact that |
Hi, |
I try to install pyActigraphy but the system encounters an error while generating package metadata.
Could you help me?
Thanks a lot
Collecting pyActigraphy
Using cached pyActigraphy-1.2.2-py3-none-any.whl.metadata (7.2 kB)
Requirement already satisfied: joblib in c:\users\gaeta\appdata\local\programs\python\python312\lib\site-packages (from pyActigraphy) (1.4.2)
Requirement already satisfied: lmfit in c:\users\gaeta\appdata\local\programs\python\python312\lib\site-packages (from pyActigraphy) (1.3.1)
Requirement already satisfied: pandas in c:\users\gaeta\appdata\local\programs\python\python312\lib\site-packages (from pyActigraphy) (2.2.2)
Requirement already satisfied: plotly in c:\users\gaeta\appdata\local\programs\python\python312\lib\site-packages (from pyActigraphy) (5.22.0)
Requirement already satisfied: numba in c:\users\gaeta\appdata\local\programs\python\python312\lib\site-packages (from pyActigraphy) (0.60.0)
Requirement already satisfied: numpy in c:\users\gaeta\appdata\local\programs\python\python312\lib\site-packages (from pyActigraphy) (1.26.4)
Requirement already satisfied: pyexcel in c:\users\gaeta\appdata\local\programs\python\python312\lib\site-packages (from pyActigraphy) (0.7.0)
Requirement already satisfied: pyexcel-ods3 in c:\users\gaeta\appdata\local\programs\python\python312\lib\site-packages (from pyActigraphy) (0.6.1)
Requirement already satisfied: pyexcel-xlsx in c:\users\gaeta\appdata\local\programs\python\python312\lib\site-packages (from pyActigraphy) (0.6.0)
Requirement already satisfied: scipy in c:\users\gaeta\appdata\local\programs\python\python312\lib\site-packages (from pyActigraphy) (1.14.0)
Requirement already satisfied: spm1d in c:\users\gaeta\appdata\local\programs\python\python312\lib\site-packages (from pyActigraphy) (0.4.32)
Requirement already satisfied: statsmodels>=0.10 in c:\users\gaeta\appdata\local\programs\python\python312\lib\site-packages (from pyActigraphy) (0.14.2)
Requirement already satisfied: stochastic>=0.6.0 in c:\users\gaeta\appdata\local\programs\python\python312\lib\site-packages (from pyActigraphy) (0.6.0)
Collecting accelerometer>=6.2.2 (from pyActigraphy)
Using cached accelerometer-6.2.3-py3-none-any.whl.metadata (5.1 kB)
Requirement already satisfied: matplotlib in c:\users\gaeta\appdata\local\programs\python\python312\lib\site-packages (from accelerometer>=6.2.2->pyActigraphy) (3.9.1)
Requirement already satisfied: tqdm>=4.59.0 in c:\users\gaeta\appdata\local\programs\python\python312\lib\site-packages (from accelerometer>=6.2.2->pyActigraphy) (4.66.4)
Collecting imbalanced-learn==0.8.1 (from accelerometer>=6.2.2->pyActigraphy)
Using cached imbalanced_learn-0.8.1-py3-none-any.whl.metadata (12 kB)
Collecting scikit-learn==1.0.1 (from accelerometer>=6.2.2->pyActigraphy)
Using cached scikit-learn-1.0.1.tar.gz (6.6 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [19 lines of output]
Partial import of sklearn during the build process.
Traceback (most recent call last):
File "C:\Users\gaeta\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File "C:\Users\gaeta\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\gaeta\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 149, in prepare_metadata_for_build_wheel
return hook(metadata_directory, config_settings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\gaeta\AppData\Local\Temp\pip-build-env-tre2_ke4\overlay\Lib\site-packages\setuptools\build_meta.py", line 368, in prepare_metadata_for_build_wheel
self.run_setup()
File "C:\Users\gaeta\AppData\Local\Temp\pip-build-env-tre2_ke4\overlay\Lib\site-packages\setuptools\build_meta.py", line 497, in run_setup
super().run_setup(setup_script=setup_script)
File "C:\Users\gaeta\AppData\Local\Temp\pip-build-env-tre2_ke4\overlay\Lib\site-packages\setuptools\build_meta.py", line 313, in run_setup
exec(code, locals())
File "", line 319, in
File "", line 311, in setup_package
ModuleNotFoundError: No module named 'numpy.distutils'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
The text was updated successfully, but these errors were encountered: