Giter VIP home page Giter VIP logo

Comments (4)

yakshiUPR avatar yakshiUPR commented on August 22, 2024 1

Hi Gavin,

I forgot to run the pip install --editable .. Sorry to bother you with this.

Thanks a lot!

Yakshi

from picrust2.

gavinmdouglas avatar gavinmdouglas commented on August 22, 2024

Did you install PICRUSt2 based on the instructions here: https://github.com/picrust/picrust2/wiki/Installation?

If so then just to double-check, did you run pip install --editable .? It seems like the scripts aren't installed correctly.

Gavin

from picrust2.

Beta-INC avatar Beta-INC commented on August 22, 2024

Hi

When running pytest it indicates the following errors:

_________________________________________________________________________________ ERROR collecting tests/test_workflow.py __________________________________________________________________________________
import file mismatch:
imported module 'tests.test_workflow' has this file attribute:
/home/dell/picrust2-2.4.1/picrust2-2.4.1/tests/test_workflow.py
which is not the same as the test file we want to collect:
/home/dell/picrust2-2.4.1/tests/test_workflow.py
HINT: remove pycache / .pyc files and/or use a unique basename for your test file modules
========================================================================================= short test summary info ==========================================================================================
ERROR tests/test_hsp.py
ERROR tests/test_metagenome_pipeline.py
ERROR tests/test_pathway_pipeline.py
ERROR tests/test_place_seqs.py
ERROR tests/test_util.py
ERROR tests/test_workflow.py
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 6 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

How can i fix this?

Thanks!

from picrust2.

gavinmdouglas avatar gavinmdouglas commented on August 22, 2024

Hi @Beta-INC,

The first thing I would try is to re-download the the source repository as perhaps something was corrupted. Otherwise you can make sure there aren't any pycache or .pyc files in the test directory.

Cheers,

Gavin

from picrust2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.