Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • dariober
    Senior Member
    • May 2010
    • 311

    HTSeq: Problem with installation

    Hi there,

    I just discovered the existence of the pyhton package HTSeq (thanks to the developers!). I tried to install it but I get the error below.

    I'm working on Windows XP (...sorry about that!), pyhton 2.6.4, numpy 1.4.1-win32, HTseq installed by HTSeq-0.4.0.win32-py2.6.exe

    Any help much appreciated!

    Dario

    ## ---------------------------[ Here's the problem ]-----------------------

    PythonWin 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit (Intel)] on win32.
    Portions Copyright 1994-2008 Mark Hammond - see 'Help/About PythonWin' for further copyright information.

    >>> import numpy
    >>> import HTSeq
    Traceback (most recent call last):
    File "<interactive input>", line 1, in <module>
    File "C:\Python26\lib\site-packages\HTSeq\__init__.py", line 10, in <module>
    from _HTSeq import *
    File "numpy.pxd", line 43, in _HTSeq (src/_HTSeq.c:20523)
    ValueError: numpy.dtype does not appear to be the correct type object
    >>>
    ## ----------------------------------------------------------------------
  • dariober
    Senior Member
    • May 2010
    • 311

    #2
    ...Oops, problem solved: Downgrade numpy 1.4.1 to 1.3.0

    Dario

    Comment

    • Simon Anders
      Senior Member
      • Feb 2010
      • 995

      #3
      Hi

      Originally posted by dariober View Post
      HTSeq-0.4.0.win32-py2.6.exe
      I've made quite some changed since this version. Try the newest one: 0.4.4.

      I've just built a Windows installer for that one, and it now takes NumPy 1.4.1.

      I also added a section to the installation instructions page on how to compile from source on Windows.

      Simon

      Comment

      • dariober
        Senior Member
        • May 2010
        • 311

        #4
        Many thanks for the update, Simon!

        Dario

        Comment

        • gen2prot
          Member
          • Apr 2010
          • 68

          #5
          Hi Simon,

          I am having difficulty in running the htseq-qa script. I think I have installed HTSeq correctly since I get no error message for "import HTSeq" command. Then on giving the "htseq-qa -t sam accepted.sam" command, I get a Syntax error. I have given the following export command in Unix

          export PYTHONPATH=$PYTHONPATH:/Library/Python/2.6/

          Is this wrong? On giving the command "whereis python", I get /usr/local/python. I am confused.

          Thank you
          Abhijit

          Comment

          • Simon Anders
            Senior Member
            • Feb 2010
            • 995

            #6
            Originally posted by gen2prot View Post
            I am having difficulty in running the htseq-qa script. I think I have installed HTSeq correctly since I get no error message for "import HTSeq" command. Then on giving the "htseq-qa -t sam accepted.sam" command, I get a Syntax error.
            This sounds as if you typed "htseq-qa -t sam accepted.sam" into the Python shell. However, this is not a Python command. It is meant to be used in the operating system's shell.

            You can either type it as above, but if this gives you a error that the command 'htseq-qa' cannot be found, try instead "python -m HTSeq.scripts.qa -t sam accepted.sam".

            HTSeq is primarily meant as a framework for developers familiar with Python who want to develop their own scripts. htseq-count and htseq-qa are two such scripts which are provided to be used by non-developers, too, and consequently, you don't need to start Python to use them; rather, Python gets started internally on invocation of the script.

            Cheers
            Simon

            Comment

            • James
              Member
              • Mar 2010
              • 23

              #7
              I'm trying to build HTseq (0.4.5p6) from source on mac OSX 10.5.8.

              - Using python 2.6.6, GCC 4.01.

              when I try to build the package i get this:

              Code:
              
              python setup.py build
              
              Traceback (most recent call last):
                File "setup.py", line 3, in <module>
                  from setuptools import setup, Extension
              ImportError: No module named setuptools
              any help is appreciated. Thanks James
              Last edited by James; 11-15-2010, 06:21 PM. Reason: add version number

              Comment

              • dariober
                Senior Member
                • May 2010
                • 311

                #8
                Hi James,

                As the error message says, I think you need first to install the package setuptools (http://pypi.python.org/pypi/setuptools/0.6c11) in order to run setup.py.

                Good luck!
                Dario

                Originally posted by James View Post
                I'm trying to build HTseq (0.4.5p6) from source on mac OSX 10.5.8.

                - Using python 2.6.6, GCC 4.01.

                when I try to build the package i get this:

                Code:
                
                python setup.py build
                
                Traceback (most recent call last):
                  File "setup.py", line 3, in <module>
                    from setuptools import setup, Extension
                ImportError: No module named setuptools
                any help is appreciated. Thanks James

                Comment

                • Simon Anders
                  Senior Member
                  • Feb 2010
                  • 995

                  #9
                  I've just uploaded a new version, 0.4.5p7, which should install without requiring 'setuptools'. (They were unnecessary before, only the error was not properly supressed.)

                  Comment

                  Latest Articles

                  Collapse

                  • SEQadmin2
                    Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                    by SEQadmin2



                    Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
                    ...
                    07-09-2026, 11:10 AM
                  • SEQadmin2
                    Cancer Drug Resistance: The Lingering Barrier to Rising Survival
                    by SEQadmin2



                    Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

                    There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
                    07-08-2026, 05:17 AM
                  • GATTACAT
                    Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
                    by GATTACAT
                    Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
                    07-01-2026, 11:43 AM

                  ad_right_rmr

                  Collapse

                  News

                  Collapse

                  Topics Statistics Last Post
                  Started by SEQadmin2, Today, 10:26 AM
                  0 responses
                  10 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 07-09-2026, 10:04 AM
                  0 responses
                  24 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 07-08-2026, 10:08 AM
                  0 responses
                  16 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 07-07-2026, 11:05 AM
                  0 responses
                  33 views
                  0 reactions
                  Last Post SEQadmin2  
                  Working...