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

orange installation with anaconda pip #16

Open
jackjackk opened this issue Mar 13, 2015 · 0 comments
Open

orange installation with anaconda pip #16

jackjackk opened this issue Mar 13, 2015 · 0 comments

Comments

@jackjackk
Copy link

Running:

pip install --global-option="build_pyqt_ext" orange

(where pip belongs to a local user anaconda distribution)
I get the following:

Collecting orange
  Downloading Orange-2.7.8.tar.gz (15.0MB)
    100% |################################| 15.0MB 25kB/s 
Requirement already satisfied (use --upgrade to upgrade): setuptools in ./anaconda/lib/python2.7/site-packages/setuptools-14.0-py2.7.egg (from orange)
Requirement already satisfied (use --upgrade to upgrade): numpy in ./anaconda/lib/python2.7/site-packages (from orange)
Requirement already satisfied (use --upgrade to upgrade): scipy in ./anaconda/lib/python2.7/site-packages (from orange)
Installing collected packages: orange
  Running setup.py install for orange
    moc -o build/temp.linux-x86_64-2.7/point.moc source/orangeqt/point.h
    moc -o build/temp.linux-x86_64-2.7/multicurve.moc source/orangeqt/multicurve.h
    source/orangeqt/multicurve.h:0: Note: No relevant classes found. No output generated.
    moc -o build/temp.linux-x86_64-2.7/curve.moc source/orangeqt/curve.h
    moc -o build/temp.linux-x86_64-2.7/plot.moc source/orangeqt/plot.h
    moc -o build/temp.linux-x86_64-2.7/networkcurve.moc source/orangeqt/networkcurve.h
    source/orangeqt/networkcurve.h:0: Note: No relevant classes found. No output generated.
    moc -o build/temp.linux-x86_64-2.7/unconnectedlinescurve.moc source/orangeqt/unconnectedlinescurve.h
    moc -o build/temp.linux-x86_64-2.7/plotitem.moc source/orangeqt/plotitem.h
    building 'Orange.orangeqt' extension
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-cxRjYV/orange/setup.py", line 876, in <module>
        setup_package()
      File "/tmp/pip-build-cxRjYV/orange/setup.py", line 872, in setup_package
        ext_modules = ext_modules,
      File "/home/jack/anaconda/lib/python2.7/distutils/core.py", line 151, in setup
        dist.run_commands()
      File "/home/jack/anaconda/lib/python2.7/distutils/dist.py", line 953, in run_commands
        self.run_command(cmd)
      File "/home/jack/anaconda/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/home/jack/anaconda/lib/python2.7/distutils/command/build_ext.py", line 337, in run
        self.build_extensions()
      File "/home/jack/anaconda/lib/python2.7/distutils/command/build_ext.py", line 446, in build_extensions
        self.build_extension(ext)
      File "/tmp/pip-build-cxRjYV/orange/source/orangeqt/setup.py", line 228, in build_extension
        sipdistutils.build_ext.build_extension(self, ext)
      File "/home/jack/anaconda/lib/python2.7/site-packages/sipdistutils.py", line 111, in build_extension
        build_ext_base.build_extension(self, ext)
      File "/home/jack/anaconda/lib/python2.7/distutils/command/build_ext.py", line 468, in build_extension
        sources = self.swig_sources(sources, ext)
      File "/home/jack/anaconda/lib/python2.7/site-packages/sipdistutils.py", line 155, in swig_sources
        self._sip_compile(sip_bin, sip, sbf)
      File "/home/jack/anaconda/lib/python2.7/site-packages/sipdistutils.py", line 166, in _sip_compile
        "-I", self._sip_sipfiles_dir(),
      File "/tmp/pip-build-cxRjYV/orange/source/orangeqt/setup.py", line 256, in _sip_sipfiles_dir
        if os.path.isdir(pyqt_sip_dir):
      File "/home/jack/anaconda/lib/python2.7/genericpath.py", line 41, in isdir
        st = os.stat(s)
    TypeError: coercing to Unicode: need string or buffer, NoneType found
    Complete output from command /home/jack/anaconda/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-cxRjYV/orange/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" build_pyqt_ext install --record /tmp/pip-60mW8g-record/install-record.txt --single-version-externally-managed --compile:
    running build_pyqt_ext

    creating build

    creating build/temp.linux-x86_64-2.7

    moc -o build/temp.linux-x86_64-2.7/point.moc source/orangeqt/point.h

    moc -o build/temp.linux-x86_64-2.7/multicurve.moc source/orangeqt/multicurve.h

    source/orangeqt/multicurve.h:0: Note: No relevant classes found. No output generated.

    moc -o build/temp.linux-x86_64-2.7/curve.moc source/orangeqt/curve.h

    moc -o build/temp.linux-x86_64-2.7/plot.moc source/orangeqt/plot.h

    moc -o build/temp.linux-x86_64-2.7/networkcurve.moc source/orangeqt/networkcurve.h

    source/orangeqt/networkcurve.h:0: Note: No relevant classes found. No output generated.

    moc -o build/temp.linux-x86_64-2.7/unconnectedlinescurve.moc source/orangeqt/unconnectedlinescurve.h

    moc -o build/temp.linux-x86_64-2.7/plotitem.moc source/orangeqt/plotitem.h

    building 'Orange.orangeqt' extension

    Traceback (most recent call last):

      File "<string>", line 1, in <module>

      File "/tmp/pip-build-cxRjYV/orange/setup.py", line 876, in <module>

        setup_package()

      File "/tmp/pip-build-cxRjYV/orange/setup.py", line 872, in setup_package

        ext_modules = ext_modules,

      File "/home/jack/anaconda/lib/python2.7/distutils/core.py", line 151, in setup

        dist.run_commands()

      File "/home/jack/anaconda/lib/python2.7/distutils/dist.py", line 953, in run_commands

        self.run_command(cmd)

      File "/home/jack/anaconda/lib/python2.7/distutils/dist.py", line 972, in run_command

        cmd_obj.run()

      File "/home/jack/anaconda/lib/python2.7/distutils/command/build_ext.py", line 337, in run

        self.build_extensions()

      File "/home/jack/anaconda/lib/python2.7/distutils/command/build_ext.py", line 446, in build_extensions

        self.build_extension(ext)

      File "/tmp/pip-build-cxRjYV/orange/source/orangeqt/setup.py", line 228, in build_extension

        sipdistutils.build_ext.build_extension(self, ext)

      File "/home/jack/anaconda/lib/python2.7/site-packages/sipdistutils.py", line 111, in build_extension

        build_ext_base.build_extension(self, ext)

      File "/home/jack/anaconda/lib/python2.7/distutils/command/build_ext.py", line 468, in build_extension

        sources = self.swig_sources(sources, ext)

      File "/home/jack/anaconda/lib/python2.7/site-packages/sipdistutils.py", line 155, in swig_sources

        self._sip_compile(sip_bin, sip, sbf)

      File "/home/jack/anaconda/lib/python2.7/site-packages/sipdistutils.py", line 166, in _sip_compile

        "-I", self._sip_sipfiles_dir(),

      File "/tmp/pip-build-cxRjYV/orange/source/orangeqt/setup.py", line 256, in _sip_sipfiles_dir

        if os.path.isdir(pyqt_sip_dir):

      File "/home/jack/anaconda/lib/python2.7/genericpath.py", line 41, in isdir

        st = os.stat(s)

    TypeError: coercing to Unicode: need string or buffer, NoneType found

    ----------------------------------------
    Command "/home/jack/anaconda/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-cxRjYV/orange/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" build_pyqt_ext install --record /tmp/pip-60mW8g-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-cxRjYV/orange
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