SHARE
TWEET
Untitled
a guest
Jan 11th, 2017
85
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- colby@Linux-PC:~$ sudo apt-get install virtualenv git build-essential
- [sudo] password for colby:
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- build-essential is already the newest version (12.1ubuntu2).
- git is already the newest version (1:2.7.4-0ubuntu1).
- virtualenv is already the newest version (15.0.1+ds-3ubuntu1).
- 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
- colby@Linux-PC:~$ sudo apt-get upgrade virtualenv git build-essential
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- build-essential is already the newest version (12.1ubuntu2).
- git is already the newest version (1:2.7.4-0ubuntu1).
- virtualenv is already the newest version (15.0.1+ds-3ubuntu1).
- Calculating upgrade... Done
- The following packages have been kept back:
- gnome-software gnome-software-common snapd ubuntu-core-launcher
- 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
- colby@Linux-PC:~$ sudo apt-get install virtualenv git build-essential
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- build-essential is already the newest version (12.1ubuntu2).
- git is already the newest version (1:2.7.4-0ubuntu1).
- virtualenv is already the newest version (15.0.1+ds-3ubuntu1).
- 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
- colby@Linux-PC:~$ virtualenv --python=python3 --system-site-packages orange3venvAlready using interpreter /usr/bin/python3
- Using base prefix '/usr'
- New python executable in /home/colby/orange3venv/bin/python3
- Not overwriting existing python script /home/colby/orange3venv/bin/python (you must use /home/colby/orange3venv/bin/python3)
- Installing setuptools, pkg_resources, pip, wheel...done.
- colby@Linux-PC:~$ source orange3venv/bin/activate
- (orange3venv) colby@Linux-PC:~$ git clone https://github.com/biolab/orange3.git
- fatal: destination path 'orange3' already exists and is not an empty directory.
- (orange3venv) colby@Linux-PC:~$ cd orange3
- (orange3venv) colby@Linux-PC:~/orange3$ pip install -r requirements-core.txt
- Collecting numpy>=1.9.0 (from -r requirements-core.txt (line 1))
- Using cached numpy-1.11.3-cp35-cp35m-manylinux1_x86_64.whl
- Collecting scipy>=0.11.0 (from -r requirements-core.txt (line 2))
- Using cached scipy-0.18.1-cp35-cp35m-manylinux1_x86_64.whl
- Collecting scikit-learn>=0.18.1 (from -r requirements-core.txt (line 3))
- Using cached scikit_learn-0.18.1-cp35-cp35m-manylinux1_x86_64.whl
- Collecting bottleneck>=1.0.0 (from -r requirements-core.txt (line 4))
- Using cached Bottleneck-1.2.0.tar.gz
- Complete output from command python setup.py egg_info:
- /bin/sh: 1: svnversion: not found
- /bin/sh: 1: svnversion: not found
- non-existing path in 'numpy/distutils': 'site.cfg'
- Could not locate executable gfortran
- Could not locate executable f95
- Could not locate executable ifort
- Could not locate executable ifc
- Could not locate executable lf95
- Could not locate executable pgfortran
- Could not locate executable f90
- Could not locate executable f77
- Could not locate executable fort
- Could not locate executable efort
- Could not locate executable efc
- Could not locate executable g77
- Could not locate executable g95
- Could not locate executable pathf95
- don't know how to compile Fortran code on platform 'posix'
- _configtest.c:1:5: warning: conflicting types for built-in function ‘exp’
- int exp (void);
- ^
- _configtest.o: In function `main':
- /tmp/easy_install-xngq81fb/numpy-1.12.0rc2/_configtest.c:6: undefined reference to `exp'
- collect2: error: ld returned 1 exit status
- _configtest.c:1:5: warning: conflicting types for built-in function ‘exp’
- int exp (void);
- ^
- _configtest.c:1:20: fatal error: Python.h: No such file or directory
- compilation terminated.
- Running from numpy source directory.
- /tmp/easy_install-xngq81fb/numpy-1.12.0rc2/setup.py:366: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
- run_build = parse_setuppy_commands()
- /tmp/easy_install-xngq81fb/numpy-1.12.0rc2/numpy/distutils/system_info.py:572: UserWarning:
- Atlas (http://math-atlas.sourceforge.net/) libraries not found.
- Directories to search for the libraries can be specified in the
- numpy/distutils/site.cfg file (section [atlas]) or by setting
- the ATLAS environment variable.
- self.calc_info()
- /tmp/easy_install-xngq81fb/numpy-1.12.0rc2/numpy/distutils/system_info.py:572: UserWarning:
- Blas (http://www.netlib.org/blas/) libraries not found.
- Directories to search for the libraries can be specified in the
- numpy/distutils/site.cfg file (section [blas]) or by setting
- the BLAS environment variable.
- self.calc_info()
- /tmp/easy_install-xngq81fb/numpy-1.12.0rc2/numpy/distutils/system_info.py:572: UserWarning:
- Blas (http://www.netlib.org/blas/) sources not found.
- Directories to search for the sources can be specified in the
- numpy/distutils/site.cfg file (section [blas_src]) or by setting
- the BLAS_SRC environment variable.
- self.calc_info()
- /tmp/easy_install-xngq81fb/numpy-1.12.0rc2/numpy/distutils/system_info.py:572: UserWarning:
- Lapack (http://www.netlib.org/lapack/) libraries not found.
- Directories to search for the libraries can be specified in the
- numpy/distutils/site.cfg file (section [lapack]) or by setting
- the LAPACK environment variable.
- self.calc_info()
- /tmp/easy_install-xngq81fb/numpy-1.12.0rc2/numpy/distutils/system_info.py:572: UserWarning:
- Lapack (http://www.netlib.org/lapack/) sources not found.
- Directories to search for the sources can be specified in the
- numpy/distutils/site.cfg file (section [lapack_src]) or by setting
- the LAPACK_SRC environment variable.
- self.calc_info()
- /usr/lib/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'define_macros'
- warnings.warn(msg)
- Traceback (most recent call last):
- File "/home/colby/orange3venv/lib/python3.5/site-packages/setuptools/sandbox.py", line 157, in save_modules
- yield saved
- File "/home/colby/orange3venv/lib/python3.5/site-packages/setuptools/sandbox.py", line 198, in setup_context
- yield
- File "/home/colby/orange3venv/lib/python3.5/site-packages/setuptools/sandbox.py", line 255, in run_setup
- DirectorySandbox(setup_dir).run(runner)
- File "/home/colby/orange3venv/lib/python3.5/site-packages/setuptools/sandbox.py", line 285, in run
- return func()
- File "/home/colby/orange3venv/lib/python3.5/site-packages/setuptools/sandbox.py", line 253, in runner
- _execfile(setup_script, ns)
- File "/home/colby/orange3venv/lib/python3.5/site-packages/setuptools/sandbox.py", line 47, in _execfile
- exec(code, globals, locals)
- File "/tmp/easy_install-xngq81fb/numpy-1.12.0rc2/setup.py", line 391, in <module>
- File "/tmp/easy_install-xngq81fb/numpy-1.12.0rc2/setup.py", line 383, in setup_package
- File "/tmp/easy_install-xngq81fb/numpy-1.12.0rc2/numpy/distutils/core.py", line 169, in setup
- File "/usr/lib/python3.5/distutils/core.py", line 148, in setup
- dist.run_commands()
- File "/usr/lib/python3.5/distutils/dist.py", line 955, in run_commands
- self.run_command(cmd)
- File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
- cmd_obj.run()
- File "/home/colby/orange3venv/lib/python3.5/site-packages/setuptools/command/bdist_egg.py", line 152, in run
- self.run_command("egg_info")
- File "/usr/lib/python3.5/distutils/cmd.py", line 313, in run_command
- self.distribution.run_command(command)
- File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
- cmd_obj.run()
- File "/tmp/easy_install-xngq81fb/numpy-1.12.0rc2/numpy/distutils/command/egg_info.py", line 18, in run
- File "/usr/lib/python3.5/distutils/cmd.py", line 313, in run_command
- self.distribution.run_command(command)
- File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
- cmd_obj.run()
- File "/tmp/easy_install-xngq81fb/numpy-1.12.0rc2/numpy/distutils/command/build_src.py", line 148, in run
- File "/tmp/easy_install-xngq81fb/numpy-1.12.0rc2/numpy/distutils/command/build_src.py", line 165, in build_sources
- File "/tmp/easy_install-xngq81fb/numpy-1.12.0rc2/numpy/distutils/command/build_src.py", line 324, in build_extension_sources
- File "/tmp/easy_install-xngq81fb/numpy-1.12.0rc2/numpy/distutils/command/build_src.py", line 377, in generate_sources
- File "numpy/core/setup.py", line 416, in generate_config_h
- File "numpy/core/setup.py", line 40, in check_types
- sources=["bottleneck/src/nonreduce.c"],
- File "numpy/core/setup.py", line 275, in check_types
- SystemError: Cannot compile 'Python.h'. Perhaps you need to install python-dev|python-devel.
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "<string>", line 1, in <module>
- File "/tmp/pip-build-ickhb0l1/bottleneck/setup.py", line 109, in <module>
- setup(**metadata)
- File "/usr/lib/python3.5/distutils/core.py", line 108, in setup
- _setup_distribution = dist = klass(attrs)
- File "/home/colby/orange3venv/lib/python3.5/site-packages/setuptools/dist.py", line 317, in __init__
- self.fetch_build_eggs(attrs['setup_requires'])
- File "/home/colby/orange3venv/lib/python3.5/site-packages/setuptools/dist.py", line 372, in fetch_build_eggs
- replace_conflicting=True,
- File "/home/colby/orange3venv/lib/python3.5/site-packages/pkg_resources/__init__.py", line 826, in resolve
- dist = best[req.key] = env.best_match(req, ws, installer)
- File "/home/colby/orange3venv/lib/python3.5/site-packages/pkg_resources/__init__.py", line 1092, in best_match
- return self.obtain(req, installer)
- File "/home/colby/orange3venv/lib/python3.5/site-packages/pkg_resources/__init__.py", line 1104, in obtain
- return installer(requirement)
- File "/home/colby/orange3venv/lib/python3.5/site-packages/setuptools/dist.py", line 440, in fetch_build_egg
- return cmd.easy_install(req)
- File "/home/colby/orange3venv/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 674, in easy_install
- return self.install_item(spec, dist.location, tmpdir, deps)
- File "/home/colby/orange3venv/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 700, in install_item
- dists = self.install_eggs(spec, download, tmpdir)
- File "/home/colby/orange3venv/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 881, in install_eggs
- return self.build_and_install(setup_script, setup_base)
- File "/home/colby/orange3venv/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 1120, in build_and_install
- self.run_setup(setup_script, setup_base, args)
- File "/home/colby/orange3venv/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 1106, in run_setup
- run_setup(setup_script, args)
- File "/home/colby/orange3venv/lib/python3.5/site-packages/setuptools/sandbox.py", line 258, in run_setup
- raise
- File "/usr/lib/python3.5/contextlib.py", line 77, in __exit__
- self.gen.throw(type, value, traceback)
- File "/home/colby/orange3venv/lib/python3.5/site-packages/setuptools/sandbox.py", line 198, in setup_context
- yield
- File "/usr/lib/python3.5/contextlib.py", line 77, in __exit__
- self.gen.throw(type, value, traceback)
- File "/home/colby/orange3venv/lib/python3.5/site-packages/setuptools/sandbox.py", line 169, in save_modules
- saved_exc.resume()
- File "/home/colby/orange3venv/lib/python3.5/site-packages/setuptools/sandbox.py", line 144, in resume
- six.reraise(type, exc, self._tb)
- File "/home/colby/orange3venv/lib/python3.5/site-packages/pkg_resources/_vendor/six.py", line 685, in reraise
- raise value.with_traceback(tb)
- File "/home/colby/orange3venv/lib/python3.5/site-packages/setuptools/sandbox.py", line 157, in save_modules
- yield saved
- File "/home/colby/orange3venv/lib/python3.5/site-packages/setuptools/sandbox.py", line 198, in setup_context
- yield
- File "/home/colby/orange3venv/lib/python3.5/site-packages/setuptools/sandbox.py", line 255, in run_setup
- DirectorySandbox(setup_dir).run(runner)
- File "/home/colby/orange3venv/lib/python3.5/site-packages/setuptools/sandbox.py", line 285, in run
- return func()
- File "/home/colby/orange3venv/lib/python3.5/site-packages/setuptools/sandbox.py", line 253, in runner
- _execfile(setup_script, ns)
- File "/home/colby/orange3venv/lib/python3.5/site-packages/setuptools/sandbox.py", line 47, in _execfile
- exec(code, globals, locals)
- File "/tmp/easy_install-xngq81fb/numpy-1.12.0rc2/setup.py", line 391, in <module>
- File "/tmp/easy_install-xngq81fb/numpy-1.12.0rc2/setup.py", line 383, in setup_package
- File "/tmp/easy_install-xngq81fb/numpy-1.12.0rc2/numpy/distutils/core.py", line 169, in setup
- File "/usr/lib/python3.5/distutils/core.py", line 148, in setup
- dist.run_commands()
- File "/usr/lib/python3.5/distutils/dist.py", line 955, in run_commands
- self.run_command(cmd)
- File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
- cmd_obj.run()
- File "/home/colby/orange3venv/lib/python3.5/site-packages/setuptools/command/bdist_egg.py", line 152, in run
- self.run_command("egg_info")
- File "/usr/lib/python3.5/distutils/cmd.py", line 313, in run_command
- self.distribution.run_command(command)
- File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
- cmd_obj.run()
- File "/tmp/easy_install-xngq81fb/numpy-1.12.0rc2/numpy/distutils/command/egg_info.py", line 18, in run
- File "/usr/lib/python3.5/distutils/cmd.py", line 313, in run_command
- self.distribution.run_command(command)
- File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
- cmd_obj.run()
- File "/tmp/easy_install-xngq81fb/numpy-1.12.0rc2/numpy/distutils/command/build_src.py", line 148, in run
- File "/tmp/easy_install-xngq81fb/numpy-1.12.0rc2/numpy/distutils/command/build_src.py", line 165, in build_sources
- File "/tmp/easy_install-xngq81fb/numpy-1.12.0rc2/numpy/distutils/command/build_src.py", line 324, in build_extension_sources
- File "/tmp/easy_install-xngq81fb/numpy-1.12.0rc2/numpy/distutils/command/build_src.py", line 377, in generate_sources
- File "numpy/core/setup.py", line 416, in generate_config_h
- File "numpy/core/setup.py", line 40, in check_types
- sources=["bottleneck/src/nonreduce.c"],
- File "numpy/core/setup.py", line 275, in check_types
- SystemError: Cannot compile 'Python.h'. Perhaps you need to install python-dev|python-devel.
- _configtest.o: In function `main':
- /tmp/easy_install-xngq81fb/numpy-1.12.0rc2/_configtest.c:6: undefined reference to `exp'
- collect2: error: ld returned 1 exit status
- _configtest.c:1:20: fatal error: Python.h: No such file or directory
- compilation terminated.
- ----------------------------------------
- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-ickhb0l1/bottleneck/
- (orange3venv) colby@Linux-PC:~/orange3$
RAW Paste Data
