I am creating a python env using conda, pip and yml config file by using first:
conda env create -f test.yml -n test_pip
then
conda env update -f test.yml -n test_pip
with the following .yml file (for test only):
channels:
- defaults
- conda-forge
dependencies:
- python=3.5
- numpy
- scipy
- scikit-learn
- jupyter
- ipykernel
- requests
- pandas
- seaborn
- click
- openpyxl
- matplotlib
- pip:
- watermark
- "-e git+https://github.com/slundberg/shap#egg=shap"
- pytest
- sklearn
- autopep8
It works fine but the egg file is install in the current dir "src/shap/" while I would like to have it install with all other python packages installed by conda or pip:
/xxx/anaconda/envs/test_pip
I took this test github directory (I know I can install it with pip install directly) but I would like to use later my own git directory.
Why is the egg not installed here?
/xxx/anaconda/envs/test_pip/lib/python3.5/site-packages/
It is the place where I fin the other packages installed by pip and conda.
Any reason for that ? How can I changed that ?
I am using:
anaconda 4.2.0
conda 4.5.1
pip 9.0.3