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

run-TestSet.sh: 25: ./panX.py: Permission denied #56

Open
Dimpledavray287 opened this issue Aug 19, 2022 · 1 comment
Open

run-TestSet.sh: 25: ./panX.py: Permission denied #56

Dimpledavray287 opened this issue Aug 19, 2022 · 1 comment

Comments

@Dimpledavray287
Copy link

I have installed it as mentioned in the given link https://github.com/neherlab/pan-genome-analysis/blob/master/README.md

step 1
Installed:- git clone https://github.com/neherlab/pan-genome-analysis.git
unzip
step 2 wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh
bash Miniconda2-latest-Linux-x86_64.sh
export PATH=~/miniconda2/bin:$PATH
conda env create -f panX-environment.yml
source activate panX

Step 3
**dimple@DESKTOP-6JV15RL:~/pan-genome-analysis-master/pan-genome-analysis-master$ sudo sh run-TestSet.sh

Given the below error
run-TestSet.sh: 25: ./panX.py: Permission denied

@Dimpledavray287
Copy link
Author

**Will running : - bash Miniconda2-latest-Linux-x86_64.sh. Got given the below error
Preparing transaction: done
Executing transaction: done
installation finished.
Do you wish the installer to initialize Miniconda2
by running conda init? [yes|no]
[no] >>> yes

EncodingError: A unicode encoding or decoding error has occurred.
Python 2 is the interpreter under which conda is running in your base environment.
Replacing your base environment with one having Python 3 may help resolve this issue.
If you still have a need for Python 2 environments, consider using 'conda create'
and 'conda activate'. For example:

$ conda create -n py2 python=2
$ conda activate py2

Error details: UnicodeDecodeError('utf8', '# ~/.bashrc: executed by bash(1) for non-login shells.\n# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)\n# for examples\n\n# If not running interactively, don't do anything\ncase $- in\n i) ;;\n *) return;;\nesac\n\n# don't put duplicate lines or lines starting with space in the history.\n# See bash(1) for more options\nHISTCONTROL=ignoreboth\n\n# append to the history file, don't overwrite it\nshopt -s histappend\n\n# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)\nHISTSIZE=1000\nHISTFILESIZE=2000\n\n# check the window size after each command and, if necessary,\n# update the values of LINES and COLUMNS.\nshopt -s checkwinsize\n\n# If set, the pattern "**" used in a pathname expansion context will\n# match all files and zero or more directories and subdirectories.\n#shopt -s glo

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