I'm trying to convert a frozen model graph file (.pb file) to tensorflowjs model file using tensorflowjs-convertor.
As mentioned in their documentation , I've installed tensorflowjs package with below command :
pip install tensorflowjs
While running the command to convert , it throws this error :
zsh: command not found: tensorflowjs_converter
Looks like that command is still not available after installing the package. I couldn't find any useful workaround regarding this. Can anyone help fixing this please ?
Make sure your pip install tensorflowjs completes successfully, before trying to use tensorflowjs_converter.
It doesn't work on Ubuntu either (Tensorflow 2.0.0, Dec. 2019). Running pip with sudo doesn't help.
Related
Been trying to download PathmL on Mac , and i followed the documentation instructions (https://github.com/Dana-Farber-AIOS/pathml#installation). including downloading OpenSlide, however I keep on. receiving this error, ''Couldn't locate OpenSlide dylib''
Any advice ?
All as per doucmentation instructions. I am expecting it to launch in jupyter lab
All good, I fixed the error by doing this.
was to use conda command from a Docker terminal using this command, <<conda install -c conda-forge openslide>> followed by Pip install openslide-python. Thank you for everything :) :) :)
Just started using docker.
I want to install numphy, scipy etc from bash
i.e
PS H:> docker run -it python:3.4 bash
then
....:/# install requests
....:/# pip install numphy
I'd expect this to work but for some reason I get the error:
Could not find a version that satisfies the requirement numphy (from versions: )
No matching distribution found for numphy
Not really sure what to do from here - any help would be most appreciated.
Are you trying to install numpy? You need to use:
pip install numpy
Not:
pip install numphy
That package (numphy) isn't found because it doesn't exist. You either misspelled it as noted or you don't have the files (if it's a package you'r developing locally) inside the container to install it.
While using pip install I am getting the following error:
Error while finding spec for 'pip__main__' <: No module named 'urllib.request'; 'urllib' is not a package>; 'pip' is a package and cannot be directly executed
Any advice on this one?
I thought maybe it was related to the requests module itself but I tried to download other modules and had the same problem.
I've just upgraded from Python 3.3 to v3.5.1 on Windows and hit the same error message. I understand it's not the same as your problem.
It seems that the instructions from the docs to use:
python -m pip install SomePackage
are wrong, at least for Windows because I get the error message quoted by the OP.
I forgot to add the Scripts directory to my path, the same as previous releases. When I add it the problem is fixed. My path now has (for a default install of Python 3.5):
PATH=<blah>;%USERPROFILE%\AppData\Local\Programs\Python\Python35;%USERPROFILE%\AppData\Local\Programs\Python\Python35\Scripts
The pip executable is located in Scripts, so pip commands can now be executed directly, the same as always:
pip install urllib
I am following the instructions for installing TensorFlow in a virtual environment on Mac, however I am not sure what this instruction means:
(tensor flow)$ pip install --upgrade <$url_to_binary.whl>
Specifically the url_to_binary.whl bit.
Installation has progressed fine so far. I tried using that exact command but it printed an error:
-bash: syntax error near unexpected token `newline'
I assume that everything between the <> is a placeholder and refers to some location, not sure what though.
Solved.
It's now installed and up and running.
<$url_to_binary.whl> should be replaced by https://storage.googleapis.com/tensorflow/mac/tensorflow-0.5.0-py2-none-any.whl
I assume that was the file they meant.
They meant the binary they told about previously in the binary installation section for MacOS
Only CPU-version is available at the moment.
$ pip install https://storage.googleapis.com/tensorflow/mac/tensorflow-0.5.0-py2-none-any.whl
So the path to binary is https://storage.googleapis.com/tensorflow/mac/tensorflow-0.5.0-py2-none-any.whl
In my opinion,you may try like this:
(tensorflow)$ pip install --upgrade
https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp27-none-linux_x86_64.whl
I am trying to install KDE Desktop using command : sudo apt-get install kde-plasma-desktop. However, I keep getting error 'apt-get' Command not found. I tried installing flink and checked if it works. But I still get the same error. Can anyone help me with this please ?
Many Thanks.
It looks like you're on a Mac. apt-get is a Debian command for Debians package manager.
If you want a Linux-like package manager on your Mac, you can try Homebrew.
Try using brew install. This seems to work for me to replace apt-get.