Skip to content

Commit

Permalink
fixed numpy install and github page
Browse files Browse the repository at this point in the history
  • Loading branch information
KrissiHub committed Jan 8, 2025
1 parent 9b35ab8 commit ba6f0b9
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Version 1.3.4

## Installation
- Numpy will be installed via conda instead of pip to fix linkage

# Version 1.3.3

## Converters
Expand Down
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ FLAKE8 ?= flake8
install:
$(PIP) install -e .

# Fix numpy as version 2.1.0 will drop support for Python 3.9
install-dev:
conda install -y numpy=2.0.1
$(PIP) install -e ".[dev]"
pre-commit install

Expand Down
3 changes: 3 additions & 0 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ If you want to contribute to DeepCAVE, you can clone it from GitHub and install
While it is generally expected to function correctly on MacOS, some issues may arise due to
compatibility with Swig. Specifically, users may encounter problems with the
Parallel Coordinates and Importance Plugin on MacOS.
NumPy currently needs to be installed with conda (as opposed to pip) to ensure it being linked to openblas
and not the Mac specific accelerate. The latter, if used, will result in a plugin failure for
Configuration Footprint.

Currently, DeepCAVE cannot be run on Windows due to its reliance on a bash script for
starting services such as Redis, workers, and the webserver.
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ setuptools==68.2.2
absl-py>=1.0.0
jsonlines>=3.0.0
pandas>=1.3.4
numpy==2.0.1 # Fix numpy as version 2.1.0 will drop support for Python 3.9
# numpy needs to be installed via conda instead of pip
matplotlib==3.9.0
seaborn>=0.13.0
pyyaml>=6.0.1
Expand All @@ -24,7 +24,7 @@ dash==2.0.0
dash-extensions==0.0.71
dash-bootstrap-components==1.0.3
redis>=4.1.4
rq>=1.10.1
rq==1.10.1
# Pinned due to https://github.com/plotly/dash/issues/1992
# Pinning might be removed for dash>2.3.0
werkzeug==2.0.3
Expand Down

0 comments on commit ba6f0b9

Please sign in to comment.