This repository was archived by the owner on Sep 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 39
This repository was archived by the owner on Sep 27, 2021. It is now read-only.
Install error #53
Copy link
Copy link
Open
Description
When trying to install nnpy via pip3 or pip, we ran into this error:
Installed /private/var/folders/3b/h9c7nf7x6_xgvy9yqb7xj8rh0000gn/T/pip-build-r14uxj7z/nnpy/.eggs/pycparser-2.18-py3.6.egg
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/3b/h9c7nf7x6_xgvy9yqb7xj8rh0000gn/T/pip-build-r14uxj7z/nnpy/setup.py", line 28, in <module>
install_requires=['cffi'],
File "/usr/local/lib/python3.6/site-packages/setuptools/__init__.py", line 129, in setup
return distutils.core.setup(**attrs)
File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/core.py", line 108, in setup
_setup_distribution = dist = klass(attrs)
File "/usr/local/lib/python3.6/site-packages/setuptools/dist.py", line 372, in __init__
_Distribution.__init__(self, attrs)
File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py", line 281, in __init__
self.finalize_options()
File "/usr/local/lib/python3.6/site-packages/setuptools/dist.py", line 528, in finalize_options
ep.load()(self, ep.name, value)
File "/private/var/folders/3b/h9c7nf7x6_xgvy9yqb7xj8rh0000gn/T/pip-build-r14uxj7z/nnpy/.eggs/cffi-1.11.5-py3.6-macosx-10.13-x86_64.egg/cffi/setuptools_ext.py", line 204, in cffi_modules
add_cffi_module(dist, cffi_module)
File "/private/var/folders/3b/h9c7nf7x6_xgvy9yqb7xj8rh0000gn/T/pip-build-r14uxj7z/nnpy/.eggs/cffi-1.11.5-py3.6-macosx-10.13-x86_64.egg/cffi/setuptools_ext.py", line 49, in add_cffi_module
execfile(build_file_name, mod_vars)
File "/private/var/folders/3b/h9c7nf7x6_xgvy9yqb7xj8rh0000gn/T/pip-build-r14uxj7z/nnpy/.eggs/cffi-1.11.5-py3.6-macosx-10.13-x86_64.egg/cffi/setuptools_ext.py", line 25, in execfile
exec(code, glob, glob)
File "generate.py", line 120, in <module>
ffi = create_module()
File "generate.py", line 103, in create_module
hfiles = header_files(set_source_args['include_dirs'])
File "generate.py", line 28, in header_files
return {fn: os.path.join(dir, fn) for fn in os.listdir(dir)
FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/include/nanomsg'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/3b/h9c7nf7x6_xgvy9yqb7xj8rh0000gn/T/pip-build-r14uxj7z/nnpy/
We saw issue #52, which has a similar error, except we have tried to install on macOS, Ubuntu, and Windows 10. Each time we received this same error.
Any help would be appreciated.
Metadata
Metadata
Assignees
Labels
No labels