Skip to content

Two issues (and their fixes) when installing on Debian 11 #5

Description

@max-hill

Hi,

I ran into two issues installing Simplot on Debian 11 when following the install instructions. I am recording here the issues I had and the solutions I found, in hopes that it might be helpful.

When following the install instructions, I had no problems running Steps 1-4. Then in Step 5, when running the line

python3 -m pip install -r requirements.txt

the code failed and returned a very long message. The error message terminated with

ERROR: Failed building wheel for pandas 
Failed to build pandas
ERROR: Could not build wheels for pandas which use PEP 517 and cannot be installed directly

To get around this, I manually installed the dependencies with the following code

SimPlot++_env/bin/pip install PyQt5 cogent3 pandas matplotlib tabulate psutil Bio networkx bokeh colorcet

Then, having installed the dependencies, I ran

SimPlot++_env/bin/python3 main.py

But this gave another error:

ImportError: cannot import name 'Panel' from 'bokeh.models'

This appears to be due to a recent name change of "Panel" to "TabPanel" (see bokeh/bokeh#12728 (comment)). I resolved this error by manually editing the file /lib/SimPlot/quality_report.py where I replaced the line from bokeh.models import Panel with from bokeh.models import TabPanel

Having done this, I can now start SimPlot by running

SimPlot++_env/bin/python3 main.py

I haven't tried running SimPlot yet with my data, but will update if I run into further issues.

Best,
Max

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions