diff --git a/README.md b/README.md index 43e932b..ba5b43c 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,8 @@ git clone git@github.com:yunshengtian/RobotAssembly.git ### 2. Python environment +#### Step 1: + ``` conda env create -f environment.yml conda activate asap @@ -37,7 +39,15 @@ conda activate asap or ``` -pip install numpy networkx matplotlib scipy pyglet rtree sortedcontainers scipy tqdm trimesh torch torch_geometric torch_sparse torch_scatter seaborn ikpy pyquaternion +pip install numpy networkx matplotlib scipy pyglet rtree sortedcontainers scipy tqdm trimesh torch torch_geometric seaborn ikpy pyquaternion +``` + +#### Step 2: + +Due to dependency issues, the libraries below must be installed after the above step is complete. + +``` +pip install torch_sparse torch_scatter ``` ### 3. Python binding of simulation diff --git a/environment.yml b/environment.yml index 698b2e6..0b3f9ad 100644 --- a/environment.yml +++ b/environment.yml @@ -50,8 +50,6 @@ dependencies: - sortedcontainers==2.4.0 - torch==1.13.1 - torch-geometric==2.2.0 - - torch-sparse==0.6.18 - - torch-scatter==2.1.2 - tqdm==4.62.3 - traitlets==5.1.1 - trimesh==3.10.8