View Single Post
  #8   Spotlight this post!  
Unread 07-01-2017, 01:48
cad321 cad321 is offline
Jack of all trades, Master of none
AKA: Brian Wagg
FRC #2386 (Trojans)
Team Role: Alumni
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Burlington, Ontario
Posts: 321
cad321 is just really nicecad321 is just really nicecad321 is just really nicecad321 is just really nice
Re: GRIP code gen on RPI3

Ok. So upon trying to run the wheel command using the following:

Code:
sudo python3 -m wheel install ~/GRIP-code-generation/python/libs/opencv_python_rpi3-3.1.0+39f5a48-cp34-cp34m-linux_armv7l.whl
I receive the following error:

Code:
Traceback (most recent call last):
  File "/usr/lib/python3.4/runpy.py", line 170, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.4/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/local/lib/python3.4/dist-packages/wheel/__main__.py", line 17, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.4/dist-packages/wheel/__main__.py", line 14, in main
    sys.exit(wheel.tool.main())
  File "/usr/local/lib/python3.4/dist-packages/wheel/tool/__init__.py", line 356, in main
    args.func(args)
  File "/usr/local/lib/python3.4/dist-packages/wheel/tool/__init__.py", line 299, in install_f
    args.wheel_dirs, args.force, args.list_files)
  File "/usr/local/lib/python3.4/dist-packages/wheel/tool/__init__.py", line 221, in install
    wf.install(force=force)
  File "/usr/local/lib/python3.4/dist-packages/wheel/install.py", line 326, in install
    raise ValueError("Wheel file {0} would overwrite {1}. Use force if this is intended".format(k, dest))
ValueError: Wheel file opencv_python_rpi3-3.1.0+39f5a48.dist-info/metadata.json would overwrite /usr/local/lib/python3.4/dist-packages/opencv_python_rpi3-3.1.0+39f5a48.dist-info/metadata.json. Use force if this is intended
I am running Jessie Lite on an RPI3. The only things I have done on the Pi (in said order) are:

Code:
sudo Apt-get install python3
sudo Apt-get install python3-pip
sudo Pip3 install wheel
sudo Apt-get install git
sudo Git clone https://github.com/WPIRoboticsProjects/GRIP-code-generation.git
sudo python3 -m wheel install ~/GRIP-code-generation/python/libs/opencv_python_rpi3-3.1.0+39f5a48-cp34-cp34m-linux_armv7l.whl
Any suggestions?
Reply With Quote