-
Notifications
You must be signed in to change notification settings - Fork 74.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: run() got an unexpected keyword argument 'argv' #5643
Comments
The |
I'm having the same problem. And i'm really using new example with old TF because the pip installation is not placing the examples files, so i've manually copied from sources and placed inside the pip installation. I'm using the fallowing: what should i use to get TF with examples? thanks in advance. |
I've meet the same problem with lastest TF, does sb know how to fix this problem?Is there a new tutorial docuement that i can follow, thanks a lot ! Traceback (most recent call last): |
Checkout the r0.11 branch instead of the master branch. |
Thanks a lot, i git the r0.11 banch eventually, and it works ! |
Thanks, it worked. =D |
How to checkout the r0.11branch? my system is Ubuntu 16.04 LTS. Thanks. |
Use "-b r0.11" with Git clone! |
@marteiro Thanks,it worked. |
@girving |
@ttytt1978 |
I have the same error running the example in the on latest version 0.12: https://github.com/tensorflow/tensorflow/blob/r0.12/tensorflow/examples/learn/text_classification.py
|
@loretoparisi You are not running 0.12 tensorflow: https://github.com/tensorflow/tensorflow/blob/r0.12/tensorflow/python/platform/app.py |
@girving sorry, didn't get. I'm using the |
@loretoparisi You are running |
@girving ok this makes sense, in fact my
Thanks going to move to 0.12 nightly, if there is one? |
I am also getting the same error, how can I upgrade my tensorflow? |
@loretoparisi I recompiled my code using |
Prior to 1.0, always make sure the tensorflow example code you run is from the same branch as the binary version you have installed. So your options are:
Mixing and matching source code and binary install will likely cause you pain. |
I got it and it works,thanks! |
@ttytt1978 how you achieved that? |
@loretoparisi |
Please Dude, read the topic: git clone https://github.com/tensorflow/tensorflow -b r0.11 |
Thx a lot every one, it works! |
THX all! It helps a lot |
@girving Hi, im running tensorflow wheel version 0.10.0 with gpu support (cuda-7.5) and getting the same error. When I tried to branch to r11.0, it successfully installs wheel version 0.11.0 but prompts errors saying that it requires cuda-8.0 libraries. Whereas 0.10.0 only requires cuda-7.5. Do you know if there's another way to fix this error with cuda-7.5 libraries? Thanks! |
Thanks, i try "-b r0.11" with Git clone and it works |
where to clone it |
Is this problem relevant to version 1.7.0? I installed tensorflow through pycharm and according to print(tf.version) my version is 1.7.0. However I faced the same problem |
When I followed the TensorFlow Mechanics 101 tutorial
python fully_connected_feed.py
inexamples/tutorials/mnist
directory, I came across this problem:I am using tensorflow 0.11 version in Anaconda environment.
The text was updated successfully, but these errors were encountered: