Skip to content
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

make install not working #219

Open
sofiapinto opened this issue Feb 3, 2025 · 1 comment
Open

make install not working #219

sofiapinto opened this issue Feb 3, 2025 · 1 comment

Comments

@sofiapinto
Copy link

make install is getting stuck - see the last few lines of python-env-create.log when creating running make install for the HP cost estimator model repo.

Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done

## Package Plan ##

  environment location: /opt/homebrew/Caskroom/miniconda/base/envs/asf_hp_cost_estimator_model

  added / updated specs:
    - pip


The following packages will be SUPERSEDED by a higher-priority channel:

  pip                conda-forge/noarch::pip-25.0-pyh8b197~ --> pkgs/main/osx-arm64::pip-25.0-py310hca03da5_0 


Proceed ([y]/n)? 
CondaSystemExit: 
Operation aborted.  Exiting.

DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
Obtaining file:///Users/anasofiapinto/Documents/repos/asf_hp_cost_estimator_model
  Installing build dependencies: started
  Installing build dependencies: finished with status 'canceled'
ERROR: Operation cancelled by user
@sofiapinto
Copy link
Author

sofiapinto commented Feb 3, 2025

Solution found with @sqr00t :

Changing the first line of Makefile to SHELL := $$SHELL

and the conda configuration in the config

# Conda configuration as default
ENV_CREATE=conda env create -n ${REPO_NAME} -f environment.yaml -y
ENV_ACTIVATE=conda shell.bash activate ${REPO_NAME}
ENV_DEACTIVATE=conda deactivate
ENV_REMOVE=conda env remove -n ${REPO_NAME} -y
ENV_UPDATE=conda env update -n ${REPO_NAME} -f environment.yaml -y
ENV_INSTALL_EXTRAS=conda install pip -y

should solve the issue

This was referenced Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant