Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save antnieszka/3074ed92d62b7756b6e6f85a2c961e3f to your computer and use it in GitHub Desktop.
Save antnieszka/3074ed92d62b7756b6e6f85a2c961e3f to your computer and use it in GitHub Desktop.
(beprof3){16-07-02 18:49} ~/Downloads ant6% ➜ rm -fr beprof
(beprof3){16-07-02 18:49} ~/Downloads ant6% ➜ git clone https://github.com/ant6/beprof.git
Cloning into 'beprof'...
remote: Counting objects: 654, done.
remote: Total 654 (delta 0), reused 0 (delta 0), pack-reused 654
Receiving objects: 100% (654/654), 155.03 KiB | 174.00 KiB/s, done.
Resolving deltas: 100% (366/366), done.
Checking connectivity... done.
(beprof3){16-07-02 18:49} ~/Downloads ant6% ➜ cd beprof
(beprof3){16-07-02 18:49} ~/Downloads/beprof@master ant6% ➜ python setup.py develop
You are using pip version 7.1.2, however version 8.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Traceback (most recent call last):
File "setup.py", line 32, in setup_versioneer
import versioneer
ImportError: No module named 'versioneer'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "setup.py", line 41, in setup_versioneer
subprocess.check_output(["versioneer", "install"])
File "/usr/lib64/python3.4/subprocess.py", line 607, in check_output
with Popen(*popenargs, stdout=PIPE, **kwargs) as process:
File "/usr/lib64/python3.4/subprocess.py", line 858, in __init__
restore_signals, start_new_session)
File "/usr/lib64/python3.4/subprocess.py", line 1456, in _execute_child
raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'versioneer'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "setup.py", line 116, in <module>
version=get_version(),
File "setup.py", line 89, in get_version
setup_versioneer()
File "setup.py", line 56, in setup_versioneer
if x.startswith("Location")][0]
IndexError: list index out of range
(beprof3){16-07-02 18:49} ~/Downloads/beprof@master ant6% ➜ pip install veriosneer
Collecting veriosneer
Could not find a version that satisfies the requirement veriosneer (from versions: )
No matching distribution found for veriosneer
You are using pip version 7.1.2, however version 8.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
(beprof3){16-07-02 18:50} ~/Downloads/beprof@master ant6% ➜ pip install versioneer
Collecting versioneer
Downloading versioneer-0.16-py2.py3-none-any.whl
Installing collected packages: versioneer
Successfully installed versioneer-0.16
You are using pip version 7.1.2, however version 8.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
(beprof3){16-07-02 18:50} ~/Downloads/beprof@master ant6% ➜ python setup.py develop
/home/ant6/.virtualenvs/beprof3/lib/python3.4/site-packages/pkg_resources/__init__.py:203: RuntimeWarning: You have iterated over the result of pkg_resources.parse_version. This is a legacy behavior which is inconsistent with the new version class introduced in setuptools 8.0. In most cases, conversion to a tuple is unnecessary. For comparison of versions, sort the Version instances directly. If you have another use case requiring the tuple, please file a bug with the setuptools project describing that need.
stacklevel=1,
/home/ant6/.virtualenvs/beprof3/lib/python3.4/site-packages/setuptools/dist.py:285: UserWarning: Normalizing '0.post.dev1651467478212' to '0.post0.dev1651467478212'
normalized_version,
running develop
running egg_info
creating beprof.egg-info
writing beprof.egg-info/PKG-INFO
writing dependency_links to beprof.egg-info/dependency_links.txt
writing requirements to beprof.egg-info/requires.txt
writing top-level names to beprof.egg-info/top_level.txt
writing manifest file 'beprof.egg-info/SOURCES.txt'
reading manifest file 'beprof.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files found matching '.gitkeep'
warning: no previously-included files found matching '.gitconfig'
warning: no previously-included files found matching 'tox.ini'
warning: no previously-included files found matching '.travis.yml'
warning: no previously-included files found matching 'appveyor.yml'
no previously-included directories found matching '.travis'
no previously-included directories found matching 'install_deps.sh'
writing manifest file 'beprof.egg-info/SOURCES.txt'
running build_ext
Creating /home/ant6/.virtualenvs/beprof3/lib/python3.4/site-packages/beprof.egg-link (link to .)
Adding beprof 0.post0.dev1651467478212 to easy-install.pth file
Installed /home/ant6/Downloads/beprof
Processing dependencies for beprof==0.post0.dev1651467478212
Searching for numpy>=1.10.4
Reading https://pypi.python.org/simple/numpy/
Best match: numpy 1.11.1
Downloading https://pypi.python.org/packages/e0/4c/515d7c4ac424ff38cc919f7099bf293dd064ba9a600e1e3835b3edefdb18/numpy-1.11.1.tar.gz#md5=2f44a895a8104ffac140c3a70edbd450
Processing numpy-1.11.1.tar.gz
Writing /tmp/easy_install-g0wc1u7r/numpy-1.11.1/setup.cfg
Running numpy-1.11.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-g0wc1u7r/numpy-1.11.1/egg-dist-tmp-ojhwhuhl
Running from numpy source directory.
/tmp/easy_install-g0wc1u7r/numpy-1.11.1/setup.py:327: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
warnings.warn("Unrecognized setuptools command, proceeding with "
/tmp/easy_install-g0wc1u7r/numpy-1.11.1/numpy/distutils/system_info.py:1646: 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.
warnings.warn(AtlasNotFoundError.__doc__)
/tmp/easy_install-g0wc1u7r/numpy-1.11.1/numpy/distutils/system_info.py:1655: 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.
warnings.warn(BlasNotFoundError.__doc__)
/tmp/easy_install-g0wc1u7r/numpy-1.11.1/numpy/distutils/system_info.py:1658: 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.
warnings.warn(BlasSrcNotFoundError.__doc__)
non-existing path in 'numpy/distutils': 'site.cfg'
/tmp/easy_install-g0wc1u7r/numpy-1.11.1/numpy/distutils/system_info.py:1548: 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.
warnings.warn(AtlasNotFoundError.__doc__)
/tmp/easy_install-g0wc1u7r/numpy-1.11.1/numpy/distutils/system_info.py:1559: 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.
warnings.warn(LapackNotFoundError.__doc__)
/tmp/easy_install-g0wc1u7r/numpy-1.11.1/numpy/distutils/system_info.py:1562: 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.
warnings.warn(LapackSrcNotFoundError.__doc__)
/usr/lib64/python3.4/distutils/dist.py:260: UserWarning: Unknown distribution option: 'define_macros'
warnings.warn(msg)
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’ [enabled by default]
int exp (void);
^
_configtest.o: In function `main':
/tmp/easy_install-g0wc1u7r/numpy-1.11.1/_configtest.c:6: undefined reference to `exp'
collect2: error: ld returned 1 exit status
_configtest.o: In function `main':
/tmp/easy_install-g0wc1u7r/numpy-1.11.1/_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’ [enabled by default]
int exp (void);
^
_configtest.c:1:20: fatal error: Python.h: No such file or directory
#include <Python.h>
^
compilation terminated.
_configtest.c:1:20: fatal error: Python.h: No such file or directory
#include <Python.h>
^
compilation terminated.
Traceback (most recent call last):
File "/home/ant6/.virtualenvs/beprof3/lib/python3.4/site-packages/setuptools/sandbox.py", line 152, in save_modules
yield saved
File "/home/ant6/.virtualenvs/beprof3/lib/python3.4/site-packages/setuptools/sandbox.py", line 193, in setup_context
yield
File "/home/ant6/.virtualenvs/beprof3/lib/python3.4/site-packages/setuptools/sandbox.py", line 237, in run_setup
DirectorySandbox(setup_dir).run(runner)
File "/home/ant6/.virtualenvs/beprof3/lib/python3.4/site-packages/setuptools/sandbox.py", line 267, in run
return func()
File "/home/ant6/.virtualenvs/beprof3/lib/python3.4/site-packages/setuptools/sandbox.py", line 236, in runner
_execfile(setup_script, ns)
File "/home/ant6/.virtualenvs/beprof3/lib/python3.4/site-packages/setuptools/sandbox.py", line 46, in _execfile
exec(code, globals, locals)
File "/tmp/easy_install-g0wc1u7r/numpy-1.11.1/setup.py", line 386, in <module>
File "/tmp/easy_install-g0wc1u7r/numpy-1.11.1/setup.py", line 378, in setup_package
File "/tmp/easy_install-g0wc1u7r/numpy-1.11.1/numpy/distutils/core.py", line 169, in setup
File "/usr/lib64/python3.4/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib64/python3.4/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/lib64/python3.4/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/ant6/.virtualenvs/beprof3/lib/python3.4/site-packages/setuptools/command/bdist_egg.py", line 151, in run
self.run_command("egg_info")
File "/usr/lib64/python3.4/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib64/python3.4/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/tmp/easy_install-g0wc1u7r/numpy-1.11.1/numpy/distutils/command/egg_info.py", line 18, in run
File "/usr/lib64/python3.4/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib64/python3.4/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/tmp/easy_install-g0wc1u7r/numpy-1.11.1/numpy/distutils/command/build_src.py", line 147, in run
File "/tmp/easy_install-g0wc1u7r/numpy-1.11.1/numpy/distutils/command/build_src.py", line 164, in build_sources
File "/tmp/easy_install-g0wc1u7r/numpy-1.11.1/numpy/distutils/command/build_src.py", line 323, in build_extension_sources
File "/tmp/easy_install-g0wc1u7r/numpy-1.11.1/numpy/distutils/command/build_src.py", line 376, in generate_sources
File "numpy/core/setup.py", line 408, in generate_config_h
File "numpy/core/setup.py", line 40, in check_types
# call versioneer install to generate versioneer.py
File "numpy/core/setup.py", line 269, 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 "setup.py", line 150, in <module>
cmdclass=get_cmdclass()
File "/usr/lib64/python3.4/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib64/python3.4/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/lib64/python3.4/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/ant6/.virtualenvs/beprof3/lib/python3.4/site-packages/setuptools/command/develop.py", line 32, in run
self.install_for_development()
File "/home/ant6/.virtualenvs/beprof3/lib/python3.4/site-packages/setuptools/command/develop.py", line 132, in install_for_development
self.process_distribution(None, self.dist, not self.no_deps)
File "/home/ant6/.virtualenvs/beprof3/lib/python3.4/site-packages/setuptools/command/easy_install.py", line 709, in process_distribution
[requirement], self.local_index, self.easy_install
File "/home/ant6/.virtualenvs/beprof3/lib/python3.4/site-packages/pkg_resources/__init__.py", line 836, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File "/home/ant6/.virtualenvs/beprof3/lib/python3.4/site-packages/pkg_resources/__init__.py", line 1081, in best_match
return self.obtain(req, installer)
File "/home/ant6/.virtualenvs/beprof3/lib/python3.4/site-packages/pkg_resources/__init__.py", line 1093, in obtain
return installer(requirement)
File "/home/ant6/.virtualenvs/beprof3/lib/python3.4/site-packages/setuptools/command/easy_install.py", line 629, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/home/ant6/.virtualenvs/beprof3/lib/python3.4/site-packages/setuptools/command/easy_install.py", line 659, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/home/ant6/.virtualenvs/beprof3/lib/python3.4/site-packages/setuptools/command/easy_install.py", line 842, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/home/ant6/.virtualenvs/beprof3/lib/python3.4/site-packages/setuptools/command/easy_install.py", line 1070, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/home/ant6/.virtualenvs/beprof3/lib/python3.4/site-packages/setuptools/command/easy_install.py", line 1056, in run_setup
run_setup(setup_script, args)
File "/home/ant6/.virtualenvs/beprof3/lib/python3.4/site-packages/setuptools/sandbox.py", line 240, in run_setup
raise
File "/usr/lib64/python3.4/contextlib.py", line 77, in __exit__
self.gen.throw(type, value, traceback)
File "/home/ant6/.virtualenvs/beprof3/lib/python3.4/site-packages/setuptools/sandbox.py", line 193, in setup_context
yield
File "/usr/lib64/python3.4/contextlib.py", line 77, in __exit__
self.gen.throw(type, value, traceback)
File "/home/ant6/.virtualenvs/beprof3/lib/python3.4/site-packages/setuptools/sandbox.py", line 164, in save_modules
saved_exc.resume()
File "/home/ant6/.virtualenvs/beprof3/lib/python3.4/site-packages/setuptools/sandbox.py", line 139, in resume
compat.reraise(type, exc, self._tb)
File "/home/ant6/.virtualenvs/beprof3/lib/python3.4/site-packages/setuptools/compat.py", line 65, in reraise
raise value.with_traceback(tb)
File "/home/ant6/.virtualenvs/beprof3/lib/python3.4/site-packages/setuptools/sandbox.py", line 152, in save_modules
yield saved
File "/home/ant6/.virtualenvs/beprof3/lib/python3.4/site-packages/setuptools/sandbox.py", line 193, in setup_context
yield
File "/home/ant6/.virtualenvs/beprof3/lib/python3.4/site-packages/setuptools/sandbox.py", line 237, in run_setup
DirectorySandbox(setup_dir).run(runner)
File "/home/ant6/.virtualenvs/beprof3/lib/python3.4/site-packages/setuptools/sandbox.py", line 267, in run
return func()
File "/home/ant6/.virtualenvs/beprof3/lib/python3.4/site-packages/setuptools/sandbox.py", line 236, in runner
_execfile(setup_script, ns)
File "/home/ant6/.virtualenvs/beprof3/lib/python3.4/site-packages/setuptools/sandbox.py", line 46, in _execfile
exec(code, globals, locals)
File "/tmp/easy_install-g0wc1u7r/numpy-1.11.1/setup.py", line 386, in <module>
File "/tmp/easy_install-g0wc1u7r/numpy-1.11.1/setup.py", line 378, in setup_package
File "/tmp/easy_install-g0wc1u7r/numpy-1.11.1/numpy/distutils/core.py", line 169, in setup
File "/usr/lib64/python3.4/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib64/python3.4/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/lib64/python3.4/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/ant6/.virtualenvs/beprof3/lib/python3.4/site-packages/setuptools/command/bdist_egg.py", line 151, in run
self.run_command("egg_info")
File "/usr/lib64/python3.4/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib64/python3.4/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/tmp/easy_install-g0wc1u7r/numpy-1.11.1/numpy/distutils/command/egg_info.py", line 18, in run
File "/usr/lib64/python3.4/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib64/python3.4/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/tmp/easy_install-g0wc1u7r/numpy-1.11.1/numpy/distutils/command/build_src.py", line 147, in run
File "/tmp/easy_install-g0wc1u7r/numpy-1.11.1/numpy/distutils/command/build_src.py", line 164, in build_sources
File "/tmp/easy_install-g0wc1u7r/numpy-1.11.1/numpy/distutils/command/build_src.py", line 323, in build_extension_sources
File "/tmp/easy_install-g0wc1u7r/numpy-1.11.1/numpy/distutils/command/build_src.py", line 376, in generate_sources
File "numpy/core/setup.py", line 408, in generate_config_h
File "numpy/core/setup.py", line 40, in check_types
# call versioneer install to generate versioneer.py
File "numpy/core/setup.py", line 269, in check_types
SystemError: Cannot compile 'Python.h'. Perhaps you need to install python-dev|python-devel.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment