Skip to content

【Installation Instructions】 #4

@xiucz

Description

@xiucz

Hello,

Here is a simplified installation guide in case you encounter some issues.

conda or mamba mode.

First of all, check your citup Python version, v2.7.8.

$ ~/miniconda3/envs/citup/bin/python
Python 2.7.18 |Anaconda, Inc.| (default, Nov 25 2022, 06:27:37)
[GCC 11.2.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
# 1. 添加channels
conda config --add channels http://conda.anaconda.org/dranew
conda config --add channels https://conda.anaconda.org/IBMDecisionOptimization/linux-64

# 2.创建环境,然后安装
conda create -n citup
conda activate citup
#一定要是有如下版本否则会报错!!!
# The versions of dependency packages matter — lock them!
conda install -y citup h5py numpy==1.16.3 pandas==0.24.2 scikit-learn==0.20.3 decorator==4.4.0

# 3. 安装完成后可以调用软件的帮助文档
run_citup_iter.py -h
run_citup_qip.py -h

^_^
Best,
xiucz

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions