Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requirements for running FlaGs_linux.py in Ubuntu Windows subsystem #8

Open
mftorres opened this issue Feb 14, 2023 · 0 comments
Open

Comments

@mftorres
Copy link

mftorres commented Feb 14, 2023

Hi,

I am leaving this comment here in case someone else runs into the same issue. Nothing to do with FlaGs itself but more with installation requirements to run it in an Ubuntu windows 10 Linux subsystem (20.04.4 LTS, GNU/Linux 4.4.0-19041-Microsoft x86_64)

I created a new environment and installed the packages in the following order (to minimise conflict and time to solve the environment)

git clone <repo>
conda create -n flags etetoolkit ete3 ete_toolchain
conda activate flags
conda install -c conda-forge/label/gcc7 biopython
conda install -c biocore hmmer

Then, calling either FlaGs_linux.py or FlaGs.py produces the following error (the $DISPLAY variable is not set and DISPLAY cannot be reached - related to running GUIs or connecting to servers):

_tkinter.TclError: no display name and no $DISPLAY environment variable

The solution is:
1-Download and install the Xming X Server for Windows, initiate it (https://sourceforge.net/projects/xming/)
2-Initiate the flags environment and run [sudo] apt install ubuntu-desktop (you might need to update conda)
3. run export DISPLAY=localhost:0.0
4. Run FlaGs_linux.py normally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant