Spaces:
Running
Running
Make PyCall debug dockerfile test local version of PySR
Browse files- pycall_debug.dockerfile +10 -4
pycall_debug.dockerfile
CHANGED
|
@@ -27,7 +27,14 @@ RUN pyenv install 3.9.2 && pyenv global 3.9.2
|
|
| 27 |
RUN python3 -m pip install --upgrade pip
|
| 28 |
|
| 29 |
# Try to install pysr:
|
| 30 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
RUN python3 -m pysr install
|
| 32 |
|
| 33 |
# Change Python version:
|
|
@@ -35,7 +42,6 @@ RUN pyenv install 3.10 && pyenv global 3.10 && pyenv uninstall -f 3.9.2
|
|
| 35 |
RUN python3 -m pip install --upgrade pip
|
| 36 |
|
| 37 |
# Try to use PySR:
|
| 38 |
-
RUN python3 -m pip install
|
| 39 |
RUN rm -r ~/.julia/environments/pysr-0.14.2
|
| 40 |
-
|
| 41 |
-
# RUN python3 -m pysr install
|
|
|
|
| 27 |
RUN python3 -m pip install --upgrade pip
|
| 28 |
|
| 29 |
# Try to install pysr:
|
| 30 |
+
WORKDIR /pysr
|
| 31 |
+
ADD ./requirements.txt /pysr/requirements.txt
|
| 32 |
+
RUN python3 -m pip install -r /pysr/requirements.txt
|
| 33 |
+
|
| 34 |
+
ADD ./setup.py /pysr/setup.py
|
| 35 |
+
ADD ./pysr/ /pysr/pysr/
|
| 36 |
+
RUN python3 -m pip install .
|
| 37 |
+
|
| 38 |
RUN python3 -m pysr install
|
| 39 |
|
| 40 |
# Change Python version:
|
|
|
|
| 42 |
RUN python3 -m pip install --upgrade pip
|
| 43 |
|
| 44 |
# Try to use PySR:
|
| 45 |
+
RUN python3 -m pip install .
|
| 46 |
RUN rm -r ~/.julia/environments/pysr-0.14.2
|
| 47 |
+
RUN python3 -m pysr install
|
|
|