4 ms·
pip install <package> works even on iPhone (for pure Python packages in Pythonista for iOS)
by d0mine 6y ago
pip install <package>
works even on iPhone (for pure Python packages in Pythonista for iOS)
- franciscop 6y agoDo you mean pip3 install <package>? Also tried that, didn't work. Had to learn about Python versions, pip vs pip3 versions, pipenv, conda, how an old python package doesn't work with a modern Python package, etc. All I was trying is to combine tensorflow lite with opencv IIRC. Just look at the installation instructions: - https://www.tensorflow.org/install/pip https://www.tensorflow.org/install/pip - https://www.tensorflow.org/lite/guide/python https://www.tensorflow.org/lite/guide/python - https://docs.opencv.org/3.4/d2/de6/tutorial_py_setup_in_ubuntu.html https://docs.opencv.org/3.4/d2/de6/tutorial_py_setup_in_ubun... vs https://stackoverflow.com/a/52880211/938236 https://stackoverflow.com/a/52880211/938236
- darkarmani 6y agoI'd love to see how npm would deal with tensorflow. It's a tough package to compile from scratch.
- d0mine 6y agoThe instructions that you've link use `pip install tensorflow`
- franciscop 6y agoYes, but those instructions did not work for me. I am not sure if they didn't work because the required previous libraries were wrong somehow (which would just be `dependencies` in package.json), a different version (non-issue with `dependencies`), my python version was wrong (non-issue with `engines`), etc.
- virusduck 6y agoDONT FORGET sudo pip