Closed danrgll closed 8 months ago
Had a look, seems it's specified in the dev dependancies, i.e. pip install neural-pipeline-search[dev]
.
The reason for this I don't know.
@Neeratyoy please let me know how best to proceed in fixing this. The following options:
$ grep --recursive --with-filename --line-number "import gpytorch" src
src/neps/optimizers/bayesian_optimization/models/deepGP.py:8:import gpytorch
I would advocate making gpytorch a conditional dependency.
We could have an optional dependency such as neps[experimental]
that installs dependencies for extra stuff like deepGPs
.
@karibbov could you consult @eddiebergman and check the fix out?
We should release a new package version with this fix as right now, on a fresh installation, a simple neps import will fail.
Tested the installation of neural-pipeline-search using pip in a clean Conda environment with Python 3.9, but encountered an error: ModuleNotFoundError: No module named 'gpytorch'.