Closed oushujun closed 6 years ago
Hello,
I tried different versions of python and numpy and found that the error was due to limited write permission. Because pip install tensorflow and keras require root privilege, so after installation, packages modifying these contents will also need root privilege. So what I did was:
$ sudo pip install tensorflow $ sudo pip install keras $ git clone https://github.com/kern-lab/diploSHIC.git $ cd diploSHIC $ which python ~/bin/anaconda3/bin/python $ sudo ~/bin/anaconda3/bin/python setup.py install $ sudo ~/bin/anaconda3/bin/python diploSHIC.py train training/ testing/ fooModel --epochs 10 $ sudo ~/bin/anaconda3/bin/python diploSHIC.py predict fooModel.json fooModel.weights.hdf5 testEmpirical.fvec testEmpirical.preds
I have't not tested on my real data, so not sure if sudo privilige is necessary for my actual analyses.
I'll close this thread and hopfully it would be useful to others.
Shujun
Hello,
I was trying to compile diploSHIC and received similar warnings for the numpy (ref #1), but I was using the numpy-1.11.2-py2.7-linux-x86_64 version.
However, I could not pass the test:
I wonder if this is due to the use of python 2.7?
Thanks! Shujun