-
Notifications
You must be signed in to change notification settings - Fork 1
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
cffi not in rquirements list #6
Comments
Hi, "cffi" is in the list of required modules, can you check that you have libffi or similar installed? |
You may also need something like libffi-dev. |
I just had to manually install cfffi (pip install cffi) and after that I On 28/09/16 11:20, Andrew Mundy wrote:
|
OK, could you let me know what distribution you're using them I can have a look? Thanks |
I am operating Ubuntu Gnome 16.04 On 28/09/16 11:44, Andrew Mundy wrote:
|
Thank you :) |
Please add the cffi package in the req list to not get the following error message:
Collecting rig_c_sa
Downloading rig_c_sa-0.4.0.tar.gz
Complete output from command python setup.py egg_info:
c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory
compilation terminated.
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-build-UU_GqE/rig-c-sa/setup.py", line 49, in
install_requires=["cffi>=1.0.0"],
File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
_setup_distribution = dist = klass(attrs)
File "/home/moritz/.local/lib/python2.7/site-packages/setuptools/dist.py", line 315, in init
self.fetch_build_eggs(attrs['setup_requires'])
File "/home/moritz/.local/lib/python2.7/site-packages/setuptools/dist.py", line 361, in fetch_build_eggs
replace_conflicting=True,
File "/home/moritz/.local/lib/python2.7/site-packages/pkg_resources/init.py", line 851, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File "/home/moritz/.local/lib/python2.7/site-packages/pkg_resources/init.py", line 1123, in best_match
return self.obtain(req, installer)
File "/home/moritz/.local/lib/python2.7/site-packages/pkg_resources/init.py", line 1135, in obtain
return installer(requirement)
File "/home/moritz/.local/lib/python2.7/site-packages/setuptools/dist.py", line 429, in fetch_build_egg
return cmd.easy_install(req)
File "/home/moritz/.local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 665, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/home/moritz/.local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 695, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/home/moritz/.local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 876, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/home/moritz/.local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1115, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/home/moritz/.local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1103, in run_setup
raise DistutilsError("Setup script exited with %s" % (v.args[0],))
distutils.errors.DistutilsError: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
The text was updated successfully, but these errors were encountered: