-
Notifications
You must be signed in to change notification settings - Fork 7
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
Problem with installing Katuali #13
Comments
Hi @Sham397243,
Then attach the install.log here? |
Hi,
Thank you very much. I will save the error messages to a file and send you on Wednesday.
Regards,
@Sham397243<https://github.com/Sham397243>
From: mwykes <notifications@github.com>
Sent: Monday, 19 October 2020 8:03 PM
To: nanoporetech/katuali <katuali@noreply.github.com>
Cc: Abeynayake, Shamila <Shamila.Abeynayake@agriculture.gov.au>; Mention <mention@noreply.github.com>
Subject: Re: [nanoporetech/katuali] Problem with installing Katuali (#13) [Marketing Mail] [SEC=UNCLASSIFIED]
Hi @Sham397243<https://github.com/Sham397243>,
I just tried installing katuali on a new ubuntu16.04 docker image and it worked fine.
Could try installing again and save all the error messages to a file:
cd katuali
rm -rf venv
make install &>install.log
Then attach the install.log here?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#13 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ARMFW7HXFHVBYA6A3Z3PITDSLP6FJANCNFSM4SRMKEBQ>.
…------
IMPORTANT - This email and any attachments have been issued by the Australian Government Department of Agriculture, Water and the Environment. The material transmitted is for the use of the intended recipient only and may contain confidential, legally privileged, copyright or personal information. You should not copy, use or disclose it without authorisation from the Department. It is your responsibility to check any attachments for viruses and defects before opening or forwarding them.
If you are not an intended recipient, please contact the sender of this email at once by return email and then delete both messages. Unintended recipients must not copy, use, disclose, rely on or publish this email or attachments. The Department of Agriculture, Water and the Environment is not liable for any loss or damage resulting from unauthorised use or dissemination of, or any reliance on, this email or attachments.
If you have received this e-mail as part of a valid mailing list and no longer want to receive a message such as this one, advise the sender by return e-mail accordingly. This notice should not be deleted or altered
------
|
Hi,
Please find the attached install.log file.
Regards,
@Sham397243<https://github.com/Sham397243>
From: Abeynayake, Shamila
Sent: Tuesday, 20 October 2020 7:34 AM
To: nanoporetech/katuali <reply@reply.github.com>; nanoporetech/katuali <katuali@noreply.github.com>
Cc: Mention <mention@noreply.github.com>
Subject: RE: [nanoporetech/katuali] Problem with installing Katuali (#13) [Marketing Mail] [SEC=UNCLASSIFIED]
Hi,
Thank you very much. I will save the error messages to a file and send you on Wednesday.
Regards,
@Sham397243<https://github.com/Sham397243>
From: mwykes <notifications@github.com<mailto:notifications@github.com>>
Sent: Monday, 19 October 2020 8:03 PM
To: nanoporetech/katuali <katuali@noreply.github.com<mailto:katuali@noreply.github.com>>
Cc: Abeynayake, Shamila <Shamila.Abeynayake@agriculture.gov.au<mailto:Shamila.Abeynayake@agriculture.gov.au>>; Mention <mention@noreply.github.com<mailto:mention@noreply.github.com>>
Subject: Re: [nanoporetech/katuali] Problem with installing Katuali (#13) [Marketing Mail] [SEC=UNCLASSIFIED]
Hi @Sham397243<https://github.com/Sham397243>,
I just tried installing katuali on a new ubuntu16.04 docker image and it worked fine.
Could try installing again and save all the error messages to a file:
cd katuali
rm -rf venv
make install &>install.log
Then attach the install.log here?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#13 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ARMFW7HXFHVBYA6A3Z3PITDSLP6FJANCNFSM4SRMKEBQ>.
…------
IMPORTANT - This email and any attachments have been issued by the Australian Government Department of Agriculture, Water and the Environment. The material transmitted is for the use of the intended recipient only and may contain confidential, legally privileged, copyright or personal information. You should not copy, use or disclose it without authorisation from the Department. It is your responsibility to check any attachments for viruses and defects before opening or forwarding them.
If you are not an intended recipient, please contact the sender of this email at once by return email and then delete both messages. Unintended recipients must not copy, use, disclose, rely on or publish this email or attachments. The Department of Agriculture, Water and the Environment is not liable for any loss or damage resulting from unauthorised use or dissemination of, or any reliance on, this email or attachments.
If you have received this e-mail as part of a valid mailing list and no longer want to receive a message such as this one, advise the sender by return e-mail accordingly. This notice should not be deleted or altered
------
|
Hi @Sham397243, I can't see the file - could you try attaching the file (or copying it's contents) directly on github? |
Hi mwykes content of the saved file. test -d venv || virtualenv venv --prompt '(katuali) ' --python=python3
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. |
Hi mwykes,
I have copied and pasted the content directly on github. Can you see the content now? Please let me know if you want me to attached the file again.
Regards,
Shamila.
From: mwykes <notifications@github.com>
Sent: Thursday, 22 October 2020 2:04 AM
To: nanoporetech/katuali <katuali@noreply.github.com>
Cc: Abeynayake, Shamila <Shamila.Abeynayake@agriculture.gov.au>; Mention <mention@noreply.github.com>
Subject: Re: [nanoporetech/katuali] Problem with installing Katuali (#13) [Marketing Mail] [SEC=UNCLASSIFIED]
Hi @Sham397243<https://github.com/Sham397243>, I can't see the file - could you try attaching the file (or copying it's contents) directly on github?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#13 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ARMFW7FCCVMXRWELHGYDQGTSL3Z5HANCNFSM4SRMKEBQ>.
…------
IMPORTANT - This email and any attachments have been issued by the Australian Government Department of Agriculture, Water and the Environment. The material transmitted is for the use of the intended recipient only and may contain confidential, legally privileged, copyright or personal information. You should not copy, use or disclose it without authorisation from the Department. It is your responsibility to check any attachments for viruses and defects before opening or forwarding them.
If you are not an intended recipient, please contact the sender of this email at once by return email and then delete both messages. Unintended recipients must not copy, use, disclose, rely on or publish this email or attachments. The Department of Agriculture, Water and the Environment is not liable for any loss or damage resulting from unauthorised use or dissemination of, or any reliance on, this email or attachments.
If you have received this e-mail as part of a valid mailing list and no longer want to receive a message such as this one, advise the sender by return e-mail accordingly. This notice should not be deleted or altered
------
|
Hi @Sham397243, The log file suggests that the error is occuring when pysam is being installed. For some reason, pip is trying to compile pysam from source, and then complains that some of the required libraries are missing. Can you try installing pysam before running
|
Hi mwykes, shamila@shamila-VirtualBox:
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. Installed /home/shamila/katuali Installed /home/shamila/katuali/venv/lib/python3.5/site-packages/snakemake-5.9.1-py3.5.egg pysam: no cython available - using pre-compiled Cpysam: htslib mode is sharedpysam: HTSLIB_CONFIGURE_OPTIONS=Nonechecking for gcc... gcc HTSlib uses compression routines from the zlib library http://zlib.net. FAILED. This error must be resolved in order to build HTSlib successfully. HTSlib uses compression routines from the zlib library http://zlib.net. FAILED. This error must be resolved in order to build HTSlib successfully. pysam: htslib configure options: Nonemake[1]: ./version.sh: Command not found During handling of the above exception, another exception occurred: Traceback (most recent call last): |
It looks like you are using the i686 32bit version of Ubuntu. As there are no i686 wheels for Pysam, pip resorts to building from source. We have never installed or tested Katuali on a 32bit OS, and as such we cannot support this. If you can install the x86 64-bit version of Ubuntu, this will make installing katuali and all of the katuali dependencies straightforward. |
Thank you very much. I will give a try with x86 64-bit version of Ubuntu. |
Hi mwykes,
Now I have installed the correct version of ubuntu. What is the command I should use to install correct version of python? Please see below. I would like to have your opinion from this point.
Regards,
Shamila.
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
shamila@shamila-VirtualBox:~$ git clone https://github.com/nanoporetech/katuali.git
The program 'git' is currently not installed. You can install it by typing:
sudo apt install git
shamila@shamila-VirtualBox:~$ sudo apt install git
[sudo] password for shamila:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
git-man liberror-perl
Suggested packages:
git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk
gitweb git-arch git-cvs git-mediawiki git-svn
The following NEW packages will be installed:
git git-man liberror-perl
0 to upgrade, 3 to newly install, 0 to remove and 119 not to upgrade.
Need to get 3,932 kB of archives.
After this operation, 25.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://au.archive.ubuntu.com/ubuntu xenial/main amd64 liberror-perl all 0.17-1.2 [19.6 kB]
Get:2 http://au.archive.ubuntu.com/ubuntu xenial-updates/main amd64 git-man all 1:2.7.4-0ubuntu1.9 [736 kB]
Get:3 http://au.archive.ubuntu.com/ubuntu xenial-updates/main amd64 git amd64 1:2.7.4-0ubuntu1.9 [3,176 kB]
Fetched 3,932 kB in 4s (850 kB/s)
Selecting previously unselected package liberror-perl.
(Reading database ... 178110 files and directories currently installed.)
Preparing to unpack .../liberror-perl_0.17-1.2_all.deb ...
Unpacking liberror-perl (0.17-1.2) ...
Selecting previously unselected package git-man.
Preparing to unpack .../git-man_1%3a2.7.4-0ubuntu1.9_all.deb ...
Unpacking git-man (1:2.7.4-0ubuntu1.9) ...
Selecting previously unselected package git.
Preparing to unpack .../git_1%3a2.7.4-0ubuntu1.9_amd64.deb ...
Unpacking git (1:2.7.4-0ubuntu1.9) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up liberror-perl (0.17-1.2) ...
Setting up git-man (1:2.7.4-0ubuntu1.9) ...
Setting up git (1:2.7.4-0ubuntu1.9) ...
shamila@shamila-VirtualBox:~$ git clone https://github.com/nanoporetech/katuali.git
Cloning into 'katuali'...
remote: Enumerating objects: 522, done.
remote: Counting objects: 100% (522/522), done.
remote: Compressing objects: 100% (268/268), done.
remote: Total 1172 (delta 276), reused 486 (delta 250), pack-reused 650
Receiving objects: 100% (1172/1172), 34.18 MiB | 1.74 MiB/s, done.
Resolving deltas: 100% (609/609), done.
Checking connectivity... done.
shamila@shamila-VirtualBox:~$ ls
Desktop Downloads katuali Pictures Templates
Documents examples.desktop Music Public Videos
shamila@shamila-VirtualBox:~$ cd katuali
shamila@shamila-VirtualBox:~/katuali$ make install
test -d venv || virtualenv venv --prompt '(katuali) ' --python=python3
/bin/sh: 1: virtualenv: not found
Makefile:16: recipe for target 'venv/bin/activate' failed
make: *** [venv/bin/activate] Error 127
shamila@shamila-VirtualBox:~/katuali$
From: mwykes <notifications@github.com>
Sent: Wednesday, 28 October 2020 7:09 PM
To: nanoporetech/katuali <katuali@noreply.github.com>
Cc: Abeynayake, Shamila <Shamila.Abeynayake@agriculture.gov.au>; Mention <mention@noreply.github.com>
Subject: Re: [nanoporetech/katuali] Problem with installing Katuali (#13) [Marketing Mail] [SEC=UNCLASSIFIED]
It looks like you are using the i686 32bit version of Ubuntu. As there are no i686 wheels for Pysam, pip resorts to building from source. We have never installed or tested Katuali on a 32bit OS, and as such we cannot support this. If you can install the x86 64-bit version of Ubuntu, this will make installing katuali and all of the katuali dependencies<https://nanoporetech.github.io/katuali/installation.html#dependencies> straightforward.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#13 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ARMFW7DXTEISO6VZJ7N2GBTSM7GQNANCNFSM4SRMKEBQ>.
…------
IMPORTANT - This email and any attachments have been issued by the Australian Government Department of Agriculture, Water and the Environment. The material transmitted is for the use of the intended recipient only and may contain confidential, legally privileged, copyright or personal information. You should not copy, use or disclose it without authorisation from the Department. It is your responsibility to check any attachments for viruses and defects before opening or forwarding them.
If you are not an intended recipient, please contact the sender of this email at once by return email and then delete both messages. Unintended recipients must not copy, use, disclose, rely on or publish this email or attachments. The Department of Agriculture, Water and the Environment is not liable for any loss or damage resulting from unauthorised use or dissemination of, or any reliance on, this email or attachments.
If you have received this e-mail as part of a valid mailing list and no longer want to receive a message such as this one, advise the sender by return e-mail accordingly. This notice should not be deleted or altered
------
|
Hi @Sham397243,
|
Hi mwykes,
I could install virtualenv without using the term ‘-user’, but still having trouble with ‘make install’. Please see below.
shamila@shamila-VirtualBox:~$ ls
Desktop Downloads katuali Pictures Templates
Documents examples.desktop Music Public Videos
shamila@shamila-VirtualBox:~$ cd katuali
shamila@shamila-VirtualBox:~/katuali$ python3 -m pip install –user virtualenv
Invalid requirement: '–user'
Traceback (most recent call last):
File "/usr/share/python-wheels/packaging-16.6-py2.py3-none-any.whl/packaging/requirements.py", line 90, in __init__
req = REQUIREMENT.parseString(requirement_string)
File "/usr/share/python-wheels/pyparsing-2.0.3-py2.py3-none-any.whl/pyparsing.py", line 1125, in parseString
raise exc
File "/usr/share/python-wheels/pyparsing-2.0.3-py2.py3-none-any.whl/pyparsing.py", line 1115, in parseString
loc, tokens = self._parse( instring, 0 )
File "/usr/share/python-wheels/pyparsing-2.0.3-py2.py3-none-any.whl/pyparsing.py", line 989, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/share/python-wheels/pyparsing-2.0.3-py2.py3-none-any.whl/pyparsing.py", line 2378, in parseImpl
loc, exprtokens = e._parse( instring, loc, doActions )
File "/usr/share/python-wheels/pyparsing-2.0.3-py2.py3-none-any.whl/pyparsing.py", line 989, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/share/python-wheels/pyparsing-2.0.3-py2.py3-none-any.whl/pyparsing.py", line 2624, in parseImpl
return self.expr._parse( instring, loc, doActions, callPreParse=False )
File "/usr/share/python-wheels/pyparsing-2.0.3-py2.py3-none-any.whl/pyparsing.py", line 989, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/share/python-wheels/pyparsing-2.0.3-py2.py3-none-any.whl/pyparsing.py", line 2361, in parseImpl
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False )
File "/usr/share/python-wheels/pyparsing-2.0.3-py2.py3-none-any.whl/pyparsing.py", line 993, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/share/python-wheels/pyparsing-2.0.3-py2.py3-none-any.whl/pyparsing.py", line 1753, in parseImpl
raise ParseException(instring, loc, self.errmsg, self)
pyparsing.ParseException: Expected W:(abcd...) (at char 0), (line:1, col:1)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pip/req/req_install.py", line 78, in __init__
req = Requirement(req)
File "/usr/share/python-wheels/packaging-16.6-py2.py3-none-any.whl/packaging/requirements.py", line 94, in __init__
requirement_string[e.loc:e.loc + 8]))
pip._vendor.packaging.requirements.InvalidRequirement: Invalid requirement, parse error at "'–user'"
You are using pip version 8.1.1, however version 20.2.4 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
shamila@shamila-VirtualBox:~/katuali$ python3 -m pip install virtualenv
Collecting virtualenv
Downloading https://files.pythonhosted.org/packages/97/f3/c064343ac58d1a54c393a3f66483a29500f644a5918deeb935d28673edd9/virtualenv-20.1.0-py2.py3-none-any.whl (4.9MB)
100% |████████████████████████████████| 4.9MB 295kB/s
Collecting appdirs<2,>=1.4.3 (from virtualenv)
Downloading https://files.pythonhosted.org/packages/3b/00/2344469e2084fb287c2e0b57b72910309874c3245463acd6cf5e3db69324/appdirs-1.4.4-py2.py3-none-any.whl
Collecting six<2,>=1.9.0 (from virtualenv)
Downloading https://files.pythonhosted.org/packages/ee/ff/48bde5c0f013094d729fe4b0316ba2a24774b3ff1c52d924a8a4cb04078a/six-1.15.0-py2.py3-none-any.whl
Collecting distlib<1,>=0.3.1 (from virtualenv)
Downloading https://files.pythonhosted.org/packages/f5/0a/490fa011d699bb5a5f3a0cf57de82237f52a6db9d40f33c53b2736c9a1f9/distlib-0.3.1-py2.py3-none-any.whl (335kB)
100% |████████████████████████████████| 337kB 2.1MB/s
Collecting importlib-resources>=1.0; python_version < "3.7" (from virtualenv)
Downloading https://files.pythonhosted.org/packages/c5/1f/ec86d2a5c48ac6490d4471b297885603cf0e8da89d5ffbf0bce6e57f4d64/importlib_resources-3.3.0-py2.py3-none-any.whl
Collecting filelock<4,>=3.0.0 (from virtualenv)
Downloading https://files.pythonhosted.org/packages/93/83/71a2ee6158bb9f39a90c0dea1637f81d5eef866e188e1971a1b1ab01a35a/filelock-3.0.12-py3-none-any.whl
Collecting importlib-metadata<3,>=0.12; python_version < "3.8" (from virtualenv)
Downloading https://files.pythonhosted.org/packages/6d/6d/f4bb28424bc677bce1210bc19f69a43efe823e294325606ead595211f93e/importlib_metadata-2.0.0-py2.py3-none-any.whl
Collecting zipp>=0.4; python_version < "3.8" (from importlib-resources>=1.0; python_version < "3.7"->virtualenv)
Downloading https://files.pythonhosted.org/packages/41/ad/6a4f1a124b325618a7fb758b885b68ff7b058eec47d9220a12ab38d90b1f/zipp-3.4.0-py3-none-any.whl
Installing collected packages: appdirs, six, distlib, zipp, importlib-resources, filelock, importlib-metadata, virtualenv
Successfully installed appdirs distlib filelock importlib-metadata importlib-resources six-1.10.0 virtualenv zipp
You are using pip version 8.1.1, however version 20.2.4 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
shamila@shamila-VirtualBox:~/katuali$ make install
test -d venv || virtualenv venv --prompt '(katuali) ' --python=python3
AttributeError: module 'os' has no attribute 'PathLike'
Makefile:16: recipe for target 'venv/bin/activate' failed
make: *** [venv/bin/activate] Error 1
shamila@shamila-VirtualBox:~/katuali$ source venv/bin/activate
bash: venv/bin/activate: No such file or directory
shamila@shamila-VirtualBox:~/katuali$
From: mwykes <notifications@github.com>
Sent: Thursday, 12 November 2020 8:03 PM
To: nanoporetech/katuali <katuali@noreply.github.com>
Cc: Abeynayake, Shamila <Shamila.Abeynayake@agriculture.gov.au>; Mention <mention@noreply.github.com>
Subject: Re: [nanoporetech/katuali] Problem with installing Katuali (#13) [Marketing Mail] [SEC=UNCLASSIFIED]
Hi @Sham397243<https://github.com/Sham397243>,
It looks like virtualenv is not installed. Could you run the commands you previously ran on 32-bit ubuntu to install virtualenv in your new 64-bit Ubuntu installation before running make install again?
cd katuali
sudo apt install python3-venv python3-pip
python3 -m pip install –user virtualenv
make install
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#13 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ARMFW7EJOZMHHLW7YBK5QG3SPOQF5ANCNFSM4SRMKEBQ>.
…------
IMPORTANT - This email and any attachments have been issued by the Australian Government Department of Agriculture, Water and the Environment. The material transmitted is for the use of the intended recipient only and may contain confidential, legally privileged, copyright or personal information. You should not copy, use or disclose it without authorisation from the Department. It is your responsibility to check any attachments for viruses and defects before opening or forwarding them.
If you are not an intended recipient, please contact the sender of this email at once by return email and then delete both messages. Unintended recipients must not copy, use, disclose, rely on or publish this email or attachments. The Department of Agriculture, Water and the Environment is not liable for any loss or damage resulting from unauthorised use or dissemination of, or any reliance on, this email or attachments.
If you have received this e-mail as part of a valid mailing list and no longer want to receive a message such as this one, advise the sender by return e-mail accordingly. This notice should not be deleted or altered
------
|
Hi @Sham397243, |
Hi,
I tried to install Katuali program in ubuntu (https://releases.ubuntu.com/16.04/?_ga=2.229415391.231427745.1601872308-250255130.1599689398). After running the following commands, I still get the following Error 1 message when I try to “make install”. Please see the commands lines I have used bellow. Is this because I am using a different version of python? It would be great if someone can help.
Sudo apt install git
git clone https://github.com/nanoporetech/katuali.git
cd katuali
sudo apt install python3-venv python3-pip
python3 -m pip install –user virtualenv
make install
The message at the end
Makefile:21: recipe for target ‘install’ failed
Make: *** [install] Error 1
The text was updated successfully, but these errors were encountered: