Hi,
Trying to install nupic on my MAC but getting this error:
IOError: [Errno 13] Permission denied: ‘/Users/…/Library/Python/2.7/bin/pytest’
This is a copy of the terminal:
MacBook-Pro:~ AMZ$ pip install nupic --user
Collecting nupic
Using cached nupic-1.0.3-py2-none-any.whl
Requirement already satisfied: psutil==1.0.1 in /Library/Python/2.7/site-packages (from nupic)
Requirement already satisfied: DBUtils==1.1 in /Library/Python/2.7/site-packages (from nupic)
Requirement already satisfied: PyYAML==3.10 in /Library/Python/2.7/site-packages (from nupic)
Collecting nupic.bindings==1.0.0 (from nupic)
Using cached nupic.bindings-1.0.0-cp27-cp27m-macosx_10_11_intel.whl
Collecting python-dateutil==2.1 (from nupic)
Using cached python-dateutil-2.1.tar.gz
Collecting validictory==0.9.1 (from nupic)
Using cached validictory-0.9.1.tar.gz
Collecting unittest2==0.5.1 (from nupic)
Using cached unittest2-0.5.1.zip
Collecting numpy==1.12.1 (from nupic)
Using cached numpy-1.12.1-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Collecting asteval==0.9.1 (from nupic)
Using cached asteval-0.9.1.tar.gz
Requirement already satisfied: coverage==3.7.1 in ./Library/Python/2.7/lib/python/site-packages (from nupic)
Collecting pytest-xdist==1.16.0 (from nupic)
Using cached pytest-xdist-1.16.0.tar.gz
Collecting prettytable==0.7.2 (from nupic)
Using cached prettytable-0.7.2.zip
Collecting pycapnp==0.5.12; platform_system == “Linux” or platform_system == “Darwin” (from nupic)
Using cached pycapnp-0.5.12.tar.gz
Requirement already satisfied: pytest-cov==2.5.0 in ./Library/Python/2.7/lib/python/site-packages (from nupic)
Collecting pytest==3.0.7 (from nupic)
Using cached pytest-3.0.7-py2.py3-none-any.whl
Collecting pyproj==1.9.3 (from nupic)
Using cached pyproj-1.9.3.tar.gz
Collecting PyMySQL==0.6.2 (from nupic)
Using cached PyMySQL-0.6.2-py2.py3-none-any.whl
Collecting ordereddict==1.1 (from nupic)
Using cached ordereddict-1.1.tar.gz
Collecting mock==1.0.1 (from nupic)
Using cached mock-1.0.1.zip
Requirement already satisfied: six in ./Library/Python/2.7/lib/python/site-packages (from python-dateutil==2.1->nupic)
Requirement already satisfied: execnet>=1.1 in /Library/Python/2.7/site-packages (from pytest-xdist==1.16.0->nupic)
Requirement already satisfied: py>=1.4.22 in /Library/Python/2.7/site-packages (from pytest-xdist==1.16.0->nupic)
Requirement already satisfied: setuptools in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python (from pytest==3.0.7->nupic)
Requirement already satisfied: apipkg>=1.4 in /Library/Python/2.7/site-packages (from execnet>=1.1->pytest-xdist==1.16.0->nupic)
Installing collected packages: pytest, pytest-xdist, numpy, pycapnp, nupic.bindings, python-dateutil, validictory, unittest2, asteval, prettytable, pyproj, PyMySQL, ordereddict, mock, nupic
Exception:
Traceback (most recent call last):
File “/Library/Python/2.7/site-packages/pip/basecommand.py”, line 215, in main
status = self.run(options, args)
File “/Library/Python/2.7/site-packages/pip/commands/install.py”, line 342, in run
prefix=options.prefix_path,
File “/Library/Python/2.7/site-packages/pip/req/req_set.py”, line 784, in install
**kwargs
File “/Library/Python/2.7/site-packages/pip/req/req_install.py”, line 851, in install
self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
File “/Library/Python/2.7/site-packages/pip/req/req_install.py”, line 1064, in move_wheel_files
isolated=self.isolated,
File “/Library/Python/2.7/site-packages/pip/wheel.py”, line 492, in move_wheel_files
maker.make_multiple([’%s = %s’ % kv for kv in console.items()])
File “/Library/Python/2.7/site-packages/pip/_vendor/distlib/scripts.py”, line 383, in make_multiple
filenames.extend(self.make(specification, options))
File “/Library/Python/2.7/site-packages/pip/_vendor/distlib/scripts.py”, line 372, in make
self._make_script(entry, filenames, options=options)
File “/Library/Python/2.7/site-packages/pip/_vendor/distlib/scripts.py”, line 276, in _make_script
self._write_script(scriptnames, shebang, script, filenames, ext)
File “/Library/Python/2.7/site-packages/pip/_vendor/distlib/scripts.py”, line 250, in _write_script
self._fileop.write_binary_file(outname, script_bytes)
File “/Library/Python/2.7/site-packages/pip/_vendor/distlib/util.py”, line 407, in write_binary_file
with open(path, ‘wb’) as f:
IOError: [Errno 13] Permission denied: ‘/Users/…/Library/Python/2.7/bin/pytest’
Any help is really appreciated.