Skip to content

Commit b54c201

Browse files
ras44rolandrmgservicesjeongyoonlee
authored
Dev/ras44 remove envs 780 (#782)
* resolves #780, remove support for env files * add nudge to export env, remove reference to env files --------- Co-authored-by: Roland Stevenson <[email protected]> Co-authored-by: Jeong-Yoon Lee <[email protected]>
1 parent 0179acf commit b54c201

8 files changed

+2
-934
lines changed

.github/workflows/test-conda-venv-install.yml

-68
This file was deleted.

docs/installation.rst

+2-27
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
Installation
33
============
44

5-
Installation with ``conda`` is recommended.
5+
Installation with ``conda`` or ``pip`` is recommended. Developers can follow the **Install from source** instructions below. If building from source, consider doing so within a conda environment and then exporting the environment for reproducibility.
66

7-
``conda`` environment files for Python 3.7, 3.8 and 3.9 are available in the repository. To use models under the ``inference.tf`` module (e.g. ``DragonNet``), additional dependency of ``tensorflow`` is required. For detailed instructions, see below.
7+
To use models under the ``inference.tf`` module (e.g. ``DragonNet``), additional dependency of ``tensorflow`` is required. For detailed instructions, see below.
88

99
Install using ``conda``
1010
-----------------------
@@ -29,31 +29,6 @@ Directly install from the ``conda-forge`` channel using ``conda``.
2929
3030
conda install -c conda-forge causalml
3131
32-
Install from the ``conda`` virtual environment
33-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
34-
35-
This will create a new ``conda`` virtual environment named ``causalml-[tf-]py3x``, where ``x`` is in ``[7, 8, 9]``. e.g. ``causalml-py37`` or ``causalml-tf-py38``. If you want to change the name of the environment, update the relevant YAML file in ``envs/``.
36-
37-
Note: if you do not have the base cxx-compiler libraries installed, follow the ``Install from source`` instructions below to install them first.
38-
39-
.. code-block:: bash
40-
41-
git clone https://github.com/uber/causalml.git
42-
cd causalml/envs/
43-
conda env create -f environment-py38.yml # for the virtual environment with Python 3.8 and CausalML
44-
conda activate causalml-py38
45-
46-
Install ``causalml`` with ``tensorflow``
47-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
48-
49-
.. code-block:: bash
50-
51-
git clone https://github.com/uber/causalml.git
52-
cd causalml/envs/
53-
conda env create -f environment-tf-py38.yml # for the virtual environment with Python 3.8 and CausalML
54-
conda activate causalml-tf-py38
55-
pip install -U numpy # this step is necessary to fix [#338](https://github.com/uber/causalml/issues/338)
56-
5732
Install from ``PyPI``
5833
---------------------
5934

envs/environment-py37.yml

-137
This file was deleted.

envs/environment-py38.yml

-136
This file was deleted.

0 commit comments

Comments
 (0)