Comments (5)
You need to install scikit-learn, which was listed as one of the dependencies in the conda environment yaml file
from 2020plus.
After installing scikit-learn, I run the code again. But, another mistake occurs.
AN ERROR HAS OCCURRED: check the log file
Type: <class 'ImportError'>
Exception: cannot import name 'cross_validation'
Traceback:
File "/home/kjf/2020plus-1.2.2/2020plus.py", line 263, in
import src.classify.python.classifier
File "/home/kjf/2020plus-1.2.2/src/classify/python/classifier.py", line 2, in
from src.classify.python.dummy_clf import DummyClf
File "/home/kjf/2020plus-1.2.2/src/classify/python/dummy_clf.py", line 2, in
from src.classify.python.generic_classifier import GenericClassifier
File "/home/kjf/2020plus-1.2.2/src/classify/python/generic_classifier.py", line 9, in
from sklearn import cross_validation
[Fri Apr 5 21:37:49 2019]
Error in rule features:
jobid: 2
output: output/features.txt
RuleException:
CalledProcessError in line 282 of /home/kjf/2020plus-1.2.2/Snakefile:
Command 'set -euo pipefail; python which 2020plus.py
features -s output/summary.txt --tsg-test output/tsg.txt -og-test output/oncogene.txt -o output/features.txt' returned non-zero exit status 1.
File "/home/kjf/2020plus-1.2.2/Snakefile", line 282, in __rule_features
File "/home/kjf/anaconda3/envs/2020plus/lib/python3.6/concurrent/futures/thread.py", line 56, in run
Could you please help with this problem? Thanks.
from 2020plus.
You need to install the correct version of scikit learn, which is already specified in the conda environment file (scikit-learn<0.20.0).
from 2020plus.
Thanks.
I think that there are a lot of problem with my environment and required packages.
So I try the command:
$ pip install -r requirements.txt
success
but fail with
$ pip install -r requirements_dev.txt
It warns that
Fail building wheel for probabilistic2020
and I check the packages by "$ conda list"
most of the packages required are in wrong version.
I am wondering how to turn each packages into correct version.
from 2020plus.
@MarkKJF Create a new conda environment, activate it and install the dependencies inside the conda environment.
from 2020plus.
Related Issues (20)
- Error in rule simMaf HOT 16
- Error in job simMAf : Called processor error : HOT 7
- rpy2 may need a specified version HOT 4
- Can't open file 'features': [Errno 2] No such file or directory HOT 2
- error while executing 2020plus.py command " python 2020plus.py" HOT 1
- Is grch38 supported? HOT 1
- Error in rule SimSummary: /bin/bash: mut_annotate: command not found HOT 5
- No such file or directory in 'feature file' HOT 10
- Should I train a new model ? HOT 1
- CalledProcessorError in Line 342
- Not enough Mutated Oncogenes or TSGs Found in Your Data HOT 5
- Error in load("data/2020plus_10k.Rdata") : error reading from connection HOT 1
- Errors: libicuuc.so.54 not found HOT 1
- Require snvboxGenes.fa file HOT 1
- Dependencies problem HOT 3
- Regarding input file HOT 2
- pandas.errors.EmptyDataError: No columns to parse from file HOT 5
- OSError: file `data//snvboxGenes.fa` not found HOT 5
- Keep getting error : Error in job simMaf while creating output file 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 2020plus.