FrancisTse8 commented on issue #7852: Trouble installing MXNet on Raspberry Pi 3
URL: 
https://github.com/apache/incubator-mxnet/issues/7852#issuecomment-330285714
 
 
   When I was running the make file, I was able to generate a libmxnet.so file. 
Is this the .so file you are referring to?
   
   Since I seem to have the libmxnet.so file on the Raspberry Pi with stretch 
Raspbian Pi, I tried to continue following the instructions to install python 
bindings. However, I got the following OSerror:
   ```bash
   pi@raspberrypi:~/mxnet $ cd python
   pi@raspberrypi:~/mxnet/python $ pip install --upgrade pip
   Collecting pip
     Downloading pip-9.0.1-py2.py3-none-any.whl (1.3MB)
       100% |????????????????????????????????| 1.3MB 193kB/s 
   Installing collected packages: pip
   Successfully installed pip-9.0.1
   pi@raspberrypi:~/mxnet/python $ pip install -e .
   Obtaining file:///home/pi/mxnet/python
   Collecting graphviz (from mxnet==0.11.1)
     Downloading graphviz-0.8-py2.py3-none-any.whl
   Requirement already satisfied: numpy in /usr/lib/python2.7/dist-packages 
(from mxnet==0.11.1)
   Requirement already satisfied: requests in /usr/lib/python2.7/dist-packages 
(from mxnet==0.11.1)
   Installing collected packages: graphviz, mxnet
   Exception:
   Traceback (most recent call last):
     File "/home/pi/.local/lib/python2.7/site-packages/pip/basecommand.py", 
line 215, in main
       status = self.run(options, args)
     File 
"/home/pi/.local/lib/python2.7/site-packages/pip/commands/install.py", line 
342, in run
       prefix=options.prefix_path,
     File "/home/pi/.local/lib/python2.7/site-packages/pip/req/req_set.py", 
line 784, in install
       **kwargs
     File "/home/pi/.local/lib/python2.7/site-packages/pip/req/req_install.py", 
line 851, in install
       self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
     File "/home/pi/.local/lib/python2.7/site-packages/pip/req/req_install.py", 
line 1064, in move_wheel_files
       isolated=self.isolated,
     File "/home/pi/.local/lib/python2.7/site-packages/pip/wheel.py", line 345, 
in move_wheel_files
       clobber(source, lib_dir, True)
     File "/home/pi/.local/lib/python2.7/site-packages/pip/wheel.py", line 316, 
in clobber
       ensure_dir(destdir)
     File "/home/pi/.local/lib/python2.7/site-packages/pip/utils/__init__.py", 
line 83, in ensure_dir
       os.makedirs(path)
     File "/usr/lib/python2.7/os.py", line 157, in makedirs
       mkdir(name, mode)
   OSError: [Errno 13] Permission denied: 
'/usr/local/lib/python2.7/dist-packages/graphviz'
   ```
   Maybe I need something else from the make process besides generating the 
libmxnet.so file?
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to