Comments (3)
Hi, I have tried again from a clean environment, and I successfully installed it, somehow all the errors are not there anymore. Thank you for your help!
from singa.
Hi @agnesnatasya , thank you for raising the issue, it seems that your conda is not configured properly. Would you like to follow this tutorial on conda website to configure your conda environment? https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html
I have just tested on a clean environment, it works at my side:
root@1e5cfb0a87dd:~# conda search -c nusdbsystem singa-gpu=3.0.0
Loading channels: done
# Name Version Build Channel
singa-gpu 3.0.0 py37 nusdbsystem
root@1e5cfb0a87dd:~# conda install -c nusdbsystem singa-gpu=3.0.0
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: done
## Package Plan ##
environment location: /root/miniconda
added / updated specs:
- singa-gpu=3.0.0
The following packages will be downloaded:
...
...
...
Downloading and Extracting Packages
llvm-openmp-10.0.0 | 2.8 MB | ################################################################################################################################################################### | 100%
libprotobuf-3.9.2 | 4.7 MB | ################################################################################################################################################################### | 100%
_libgcc_mutex-0.1 | 3 KB | ################################################################################################################################################################### | 100%
dnnl-1.1 | 3.6 MB | ################################################################################################################################################################### | 100%
wrapt-1.12.1 | 46 KB | ################################################################################################################################################################### | 100%
singa-gpu-3.0.0 | 4 KB | ################################################################################################################################################################### | 100%
protobuf-3.9.2 | 688 KB | ################################################################################################################################################################### | 100%
singa-3.0.0 | 26.8 MB | ################################################################################################################################################################### | 100%
libopenblas-0.3.9 | 7.8 MB | ################################################################################################################################################################### | 100%
deprecated-1.2.7 | 10 KB | ################################################################################################################################################################### | 100%
libgcc-ng-9.2.0 | 8.2 MB | ################################################################################################################################################################### | 100%
_openmp_mutex-4.5 | 5 KB | ################################################################################################################################################################### | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
root@1e5cfb0a87dd:~# python3
Python 3.7.6 (default, Jan 8 2020, 19:59:22)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import singa
Kindly let me know if further info is required.
from singa.
Hi @dcslin thank you so much for replying to my issue. Yes, I did not create the virtual environment properly. Now, I have created the virtual environment using
conda create -n singa python=3.6
and I entered this command afterwards
conda install -c nusdbsystem -c conda-forge singa=3.0.0
I do not use singa-gpu=3.0.0 like you because if gave me a PackageNotFoundError as it is not listed in my channel, singa=3.0.0 works for me though.
However, it still gave me a compatibility error.
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Package libcxx conflicts for:
python=3.6 -> libcxx[version='>=4.0.1']
singa=3.0.0 -> libcxx[version='>=9.0.1']
Package libopenblas conflicts for:
singa=3.0.0 -> libopenblas=0.3.9
Package numpy conflicts for:
singa=3.0.0 -> numpy[version='>=1.16,<1.17.0a0']
Package tk conflicts for:
python=3.6 -> tk[version='8.6.*|>=8.6.7,<8.7.0a0|>=8.6.8,<8.7.0a0']
Package zlib conflicts for:
python=3.6 -> zlib[version='>=1.2.11,<1.3.0a0']
Package glog conflicts for:
singa=3.0.0 -> glog[version='>=0.3.5,<0.4.0a0']
Package libprotobuf conflicts for:
singa=3.0.0 -> libprotobuf=3.10.0
Package python_abi conflicts for:
singa=3.0.0 -> python_abi[version='3.6.*|3.7.*',build='*_cp37m|*_cp36m']
Package tqdm conflicts for:
singa=3.0.0 -> tqdm
Package pip conflicts for:
python=3.6 -> pip
Package deprecated conflicts for:
singa=3.0.0 -> deprecated=1.2.7
Package sqlite conflicts for:
python=3.6 -> sqlite[version='>=3.20.1,<4.0a0|>=3.22.0,<4.0a0|>=3.23.1,<4.0a0|>=3.24.0,<4.0a0|>=3.25.2,<4.0a0|>=3.26.0,<4.0a0|>=3.29.0,<4.0a0|>=3.30.1,<4.0a0|>=3.31.1,<4.0a0']
Package xz conflicts for:
python=3.6 -> xz[version='>=5.2.3,<6.0a0|>=5.2.4,<6.0a0|>=5.2.5,<6.0a0']
Package readline conflicts for:
python=3.6 -> readline[version='7.*|>=7.0,<8.0a0|>=8.0,<9.0a0']
Package libffi conflicts for:
python=3.6 -> libffi[version='3.2.*|>=3.2.1,<3.3a0|>=3.3,<3.4.0a0']
Package future conflicts for:
singa=3.0.0 -> future
Package ncurses conflicts for:
python=3.6 -> ncurses[version='>=6.0,<7.0a0|>=6.1,<7.0a0|>=6.2,<7.0a0']
Package onnx conflicts for:
singa=3.0.0 -> onnx=1.6.0
Package dnnl conflicts for:
singa=3.0.0 -> dnnl[version='>=1.1,<1.2.0a0']
Package openssl conflicts for:
python=3.6 -> openssl[version='1.0.*|1.0.*,>=1.0.2l,<1.0.3a|>=1.0.2m,<1.0.3a|>=1.0.2n,<1.0.3a|>=1.0.2o,<1.0.3a|>=1.1.1a,<1.1.2a|>=1.1.1c,<1.1.2a|>=1.1.1d,<1.1.2a|>=1.1.1e,<1.1.2a|>=1.1.1g,<1.1.2a']
Package pillow conflicts for:
singa=3.0.0 -> pillow
I received similar long error message when I configure the python version of the virtual environment to be 3.7.
Thus, I tried to create the virtual environment using package version according to what singa wants, such as
conda install -n singa python=3.6 libcxx=9.0.1 libopenblas=0.3.9 numpy=1.16 tk=8.6.7 zlib=1.2.11 glog=0.3.5 tqdm pip deprecated=1.2.7 sqlite=3.20.1 xz=5.2.3 readline=7.0 libffi=3.2.1 future ncurses=6.1 openssl=1.0.2 pillow
It then give me some other incompatibility error like this
UnsatisfiableError: The following specifications were found to be incompatible with a past
explicit spec that is not an explicit spec in this operation (libopenblas):
- libopenblas=0.3.9
- numpy=1.16 -> mkl_random[version='>=1.0.2,<2.0a0'] -> numpy-base[version='>=1.0.2,<2.0a0,>=1.0.4,<2.0a0'] -> libopenblas[version='>=0.3.3,<1.0a0']
The following specifications were found to be incompatible with each other:
Package libgfortran conflicts for:
libgfortran
numpy=1.16 -> mkl_random[version='>=1.0.2,<2.0a0'] -> numpy-base[version='>=1.0.2,<2.0a0,>=1.0.4,<2.0a0'] -> libopenblas[version='>=0.3.3,<1.0a0'] -> libgfortran[version='>=3.0.1,<4.0.0.a0']
libopenblas=0.3.9 -> libgfortran[version='>=4.0.0,<5.0.0.a0']
Really apologise for the trouble, do you have any idea why this is happening?
from singa.
Related Issues (20)
- Switch between CPU and GPU devices for cnn example HOT 4
- Save the downloaded datasets to local directory HOT 2
- Add running scripts for cnn and cifar_distributed_cnn examples HOT 4
- Intermediate information printing HOT 3
- Adding arguments for weight decay and momentum HOT 2
- Increase max epoch for cnn example for better convergence HOT 2
- Update CMakeLists.txt for release 4.0.0 HOT 1
- Check Apache license header for release 4.0.0
- OpenCL Compilation Fails
- Upload Release 4.0.0 Package to SVN HOT 1
- Update the NOTICE file for images HOT 1
- gitignore and gitmodules should be removed from the release tar file HOT 2
- Create a new branch dev-postgresql HOT 2
- Create the SumError New Loss Function HOT 1
- Dynamic Creation of Models HOT 2
- Need to return the gradients from optimizer HOT 4
- Maximum recursion depth exceeded in comparison for string HOT 1
- can sparse all-reduce keep efficiency with large number of gpu workers?
- Update bloodmnist example by refining inline comments HOT 2
- Update documentation for distributed training HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from singa.