amazon ec2 - EC2: permissions are denied -
am developer have no knowledge on how setup server on aws ec2
instance trying setup thumbor
server on ec2
thumbor
built python
and, follwing steps , running setup thumbor. however, when try install following package using user of the ec2
ec2-user
:
pip install numpy
i got error:
running install_lib creating /usr/local/lib64/python2.7/site-packages/numpy error: not create '/usr/local/lib64/python2.7/site-packages/numpy': permission denied ---------------------------------------- command "/usr/bin/python2.7 -c "import setuptools, tokenize;__file__='/tmp/pip-build-ibmsr4/numpy/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-afbrus-record/install-record.txt --single-version-externally-managed --compile" failed error code 1 in /tmp/pip-build-ibmsr4/numpy
i switched roor user , triedn install same package got error:
traceback (most recent call last): file "/usr/bin/pip", line 5, in <module> pkg_resources import load_entry_point file "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3020, in <module> working_set = workingset._build_master() file "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 616, in _build_master return cls._build_from_requirements(__requires__) file "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 629, in _build_from_requirements dists = ws.resolve(reqs, environment()) file "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 807, in resolve raise distributionnotfound(req) pkg_resources.distributionnotfound: pip==6.1.1
my question cause problem , how install package can continue proccess of seting server ! note: using putty on windows successed install many packages can tell creation ec2 correct.
Comments
Post a Comment