I am using this weird SuSE machine.
I need to install a python package in my python 2.7. I downloaded it from the site and then untar
it and cd to the directory..
Tried:
cd /python-package_Pyxnat/
python2.7 setup.py install
I am getting following output:
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
warnings.warn(msg)
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'summary'
warnings.warn(msg)
running install
running build
running build_py
running install_lib
running install_egg_info
Removing /usr/local/lib/python2.7/site-packages/pyxnat-1.0.0.0-py2.7.egg-info
Writing /usr/local/lib/python2.7/site-packages/pyxnat-1.0.0.0-py2.7.egg-info
Error after importing pyxnat package:
>>> import pyxnat
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pyxnat/__init__.py", line 13, in <module>
from .core import Interface
File "pyxnat/core/__init__.py", line 4, in <module>
from .interfaces import Interface
File "pyxnat/core/interfaces.py", line 8, in <module>
import requests
ImportError: No module named requests
Why am I not able to import python package even after installing it?
zypper
for SUSE. Maybe it's now something else. – Faheem Mitha Jan 11 '16 at 15:45