wdecoster / NanoPlot

Plotting scripts for long read sequencing data
http://nanoplot.bioinf.be
MIT License
407 stars 48 forks source link

problem after conda installation #290

Closed matt-shenton closed 2 years ago

matt-shenton commented 2 years ago

Hi there I created an environment: conda create -n nanoplot -c bioconda nanoplot

conda activate nanoplot

(nanoplot) $ NanoPlot -h Traceback (most recent call last): File "/lustre/home/mshenton/anaconda3/envs/nanoplot/bin/NanoPlot", line 6, in <module> from nanoplot.NanoPlot import main File "/lustre/home/mshenton/anaconda3/envs/nanoplot/lib/python3.5/site-packages/nanoplot/NanoPlot.py", line 20, in <module> import nanoplot.report as report File "/lustre/home/mshenton/anaconda3/envs/nanoplot/lib/python3.5/site-packages/nanoplot/report.py", line 106 html_info.append(f"{k}:\t{settings[k]}<br>") ^ SyntaxError: invalid syntax Is this about my environment, or conda setup? Here's what's in the environment. Thanks for any help Cheers Matt

`name: nanoplot channels:

wdecoster commented 2 years ago

Hi,

NanoPlot requires minimally python 3.6, so that is most likely the cause of this error.

Best, Wouter

matt-shenton commented 2 years ago

Thanks for checking it out. I am not sure why my conda setup chose python 3.5 for this environment, the base one is 3.7. Anyway, I think this is a conda issue for me to investigate.

Thanks again for the tool and your help.

Best wishes Matt