Jessime / Excision

Python 201. Applied Bioinformatics and Computational Biology
MIT License
2 stars 1 forks source link

Cannot run ExcisionApp.py #12

Closed rmeganck1 closed 7 years ago

rmeganck1 commented 7 years ago

I just installed the bash on Ubuntu on Windows shell, and tried to use it to open the app. I got the following error:

File "ExcisionApp.py", line 14, in from flask import Flask, render_template, redirect, request, jsonify ModuleNotFoundError: No module named 'flask'

Then I tried to run it from Windows command prompt, as I have been doing all along. Then I got the following error:

File "ExcisionApp.py", line 17, in from play_levels import State File "C:\Users\Rita\Documents\GitHub\Excision\src\play_levels.py", line 17, in class State(): File "C\Users\Rita\Documents\GitHub\Excision\src\play_levels.py", line 69, in State lvl_data=load(open('levels.pkl', 'rb')) ModuleNotFoundError: No module named 'pandas.core.indexes'

Jessime commented 7 years ago

Ubuntu for Windows

The app hasn't been tested on this platform at all. I would be surprised if you could get this to work, and wouldn't recommend spending the time to figure it out (unless you're ready to make a project out of the endeavor).

Windows

At the command line, do:

conda upgrade --all

You need a slightly newer version of pandas.

rmeganck1 commented 7 years ago

Thanks, the Windows is working again now. By the way, I was able to get the code to execute on Ubuntu for Windows, but the app won't accept answers.