Question: cleanup_datasets with No module named galaxy.app error
0
gravatar for ishenweiyan
8 months ago by
China/Guangzhou
ishenweiyan0 wrote:

In running a local instance of galaxy release-17.09 on my Cenos-7,I got some errors when I want to cleanup datasets.

$ cd <GALAXY_ROOT> 

$ . .venv/bin/activate

(.venv)steven@ecs-steven-dev 15:53:23 /data/galaxy 
$ python ./scripts/cleanup_datasets/update_dataset_size.py 
Traceback (most recent call last):
  File "./scripts/cleanup_datasets/update_dataset_size.py", line 13, in <module>
    import galaxy.app
ImportError: No module named galaxy.app

(.venv)steven@ecs-steven-dev 16:13:56 /data/galaxy 
$ which python
/data/galaxy/.venv/bin/python

(.venv)steven@ecs-steven-dev 16:14:16 /data/galaxy 
$ python -V
Python 2.7.14

I got the same error with admin_cleanup_datasets.py,so does someone know what the peoblem is?

ADD COMMENTlink modified 8 months ago by Jennifer Hillman Jackson25k • written 8 months ago by ishenweiyan0
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 165 users visited in the last hour