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

pkg_resources.ResolutionError: No script named 'seroba' #22

Open
tseemann opened this issue Sep 12, 2017 · 3 comments
Open

pkg_resources.ResolutionError: No script named 'seroba' #22

tseemann opened this issue Sep 12, 2017 · 3 comments
Assignees
Labels

Comments

@tseemann
Copy link

I reinstalled from git (git clone seroba && cd seroba && python3 setup.py install):

% seroba

Traceback (most recent call last):
  File "/home/linuxbrew/.linuxbrew/bin/seroba", line 4, in <module>
    __import__('pkg_resources').run_script('seroba==0.1.5', 'seroba')
  File "/home/linuxbrew/.linuxbrew/opt/python3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 748, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/home/linuxbrew/.linuxbrew/opt/python3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1509, in run_script
    raise ResolutionError("No script named %r" % script_name)
pkg_resources.ResolutionError: No script named 'seroba'
@eppinglen eppinglen self-assigned this Sep 12, 2017
@andrewjpage
Copy link
Member

Starting from a blank linuxbrew system, these are the commands I ran which got seroba running:

docker pull linuxbrew/linuxbrew
docker run --rm -it linuxbrew/linuxbrew bash

brew tap homebrew/science
brew install python3 python 

echo 'PATH="/home/linuxbrew/.linuxbrew/opt/python/libexec/bin:$PATH"' >>~/.bash_profile
export PATH="/home/linuxbrew/.linuxbrew/opt/python/libexec/bin:$PATH"
echo 'import site; site.addsitedir("/home/linuxbrew/.linuxbrew/lib/python2.7/site-packages")' >> homebrew.pth

brew install bowtie2 kmc mummer cd-hit

git clone https://github.com/sanger-pathogens/ariba.git
cd ariba
export MPLBACKEND="agg"
pip3 install .

cd ~
git clone https://github.com/sanger-pathogens/seroba.git
cd seroba
pip3 install .
seroba

Its probably not the cleanest, but hope this helps.

@tseemann
Copy link
Author

Why do I need ariba ?
And what is this magic MPLBACKED="agg" ?

@andrewjpage
Copy link
Member

andrewjpage commented Sep 16, 2017 via email

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

No branches or pull requests

3 participants