"torchvision/git@developer.sourcefind.cn:OpenDAS/vision.git" did not exist on "94c9417091ddf5b9a5105410a23e350a8dbb8997"
Commit 6a510ffc authored by Farhad Ramezanghorbani's avatar Farhad Ramezanghorbani Committed by Gao, Xiang
Browse files

ASE dropped python2 support (#265)

parent b37110e3
...@@ -2,4 +2,5 @@ ...@@ -2,4 +2,5 @@
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install torch_nightly -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html pip install torch_nightly -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
pip install tqdm ase pyyaml future pip install tqdm pyyaml future
pip install 'ase<=3.17'
\ No newline at end of file
#!/bin/bash
python -m pip install --upgrade pip
pip install torch_nightly -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
pip install tqdm pyyaml future
pip2 install 'ase<=3.17'
\ No newline at end of file
...@@ -19,7 +19,7 @@ steps: ...@@ -19,7 +19,7 @@ steps:
inputs: inputs:
versionSpec: '$(python.version)' versionSpec: '$(python.version)'
- script: 'azure/install_dependencies.sh && pip install .' - script: 'azure/install_dependencies_python2.sh && pip install .'
displayName: 'Install dependencies' displayName: 'Install dependencies'
- script: 'python2 examples/energy_force.py' - script: 'python2 examples/energy_force.py'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment