question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Missing maxentpy.maxent dependency for MaxEnt/3prime model

See original GitHub issue

kipoi$get_model("MaxEntScan/3prime")

Error in py_call_impl(callable, dots$args, dots$keywords): ImportError: No module named maxentpy.maxent

Detailed traceback: 
  File "/users/annashch/kipoi/kipoi/model.py", line 77, in get_model
    Mod = load_model_custom(**md.args)
  File "/users/annashch/kipoi/kipoi/model.py", line 129, in load_model_custom
    return getattr(load_module(file), object)
  File "/users/annashch/kipoi/kipoi/utils.py", line 37, in load_module
    module = imp.load_source(module_name, path)
  File "model.py", line 12, in <module>
  File "/users/annashch/.kipoi/models/MaxEntScan/3prime/../template/model_template.py", line 3, in <module>
    from maxentpy.maxent import score5, score3, load_matrix5, load_matrix3

Traceback:

1. kipoi$get_model("MaxEntScan/3prime")
2. py_call_impl(callable, dots$args, dots$keywords)

(I don’t have permissions to assign issues to people, but I believe this model was contributed by @s6juncheng )

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:13 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
annashcherbinacommented, Mar 5, 2018

Ah, that makes sense.

In response to the other suggestions: annashch@nandi:/users/annashch/kipoi$ conda install --help | grep override [–override-channels] [-n ENVIRONMENT | -p PATH] [-q] –override-channels is given). You can use ‘defaults’ –override-channels Do not search default or .condarc channels. Requires

And running on the command line conda install -y --channel=bioconda --override-channels maxentpy (after doing a conda uninstall of maxentpy) works.

0reactions
Avseczcommented, Mar 6, 2018
Read more comments on GitHub >

github_iconTop Results From Across the Web

Predictor complexity and feature selection affect Maxent ...
Predictor complexity and feature selection affect Maxent model ... remains highly dependent on the initial set of starting variables.
Read more >
Maxent - Biodiversity Informatics
Use this site to download Maxent software for modeling species niches and distributions by applying a machine-learning technique called maximum entropy ...
Read more >
missing environmental data - Google Groups
I am running maxent model for some plant species using bioclimatic global data. In each model run, I receive the warning message "Sample...
Read more >
Species-Distribution Modeling: Advantages and Limitations of ...
Merow et al., 2013; Guillera-Arroita et al., 2015). In February 2019, a request “species distribution. modeling MaxEnt” in the Google Academy ...
Read more >
Maxent in dismo: Species Distribution Modeling - Rdrr.io
Build a "MaxEnt" (Maximum Entropy) species distribution model (see references ... S4 method for signature 'missing,missing' maxent(x, p, silent=FALSE, ...) ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found