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
import tensorflow problem #32171
Comments
| |
江民
邮箱:18810558570@163.com
|
签名由 网易邮箱大师 定制
On 09/03/2019 18:12, RZz96 wrote:
OS Platform and Distribution (windows 64):
TensorFlow version (use command below): 1.14.0
Python version:3.6.8
Hi
When i import tensorflow , it just quit the code without any error .
appreciate any help in advance
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Can you provide all the details needed for a bug, see the template? Can you provide a demo of the behavior you're seeing? |
C:\>python
Python 3.6.8 |Anaconda, Inc.| (default, Dec 30 2018, 18:50:55) [MSC v.1915 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow
C:\> Hi thanks for the reply |
As per my understanding you are able to install tensorflow successfully but while importing tensorflow it is going to quit from command prompt. Please, let me know my understanding is correct? Thanks! |
yes exactly . i think i have to install another version of python . may be 3.7 . |
Can you try |
I did , the result is the same , just this time it printed all the modules and processes in details. |
Yes, but printing them might hide away the crash. That's why I suggested sharing the output |
Hi here i have attached the output. |
Ok, so there's a segfault coming from a dependency. what version of |
it is 2.9.0 |
Can you try with |
Another option is to try having a file |
|
And the third option (although you might want this first) is to run python in a debugger. For example, here's what I'd do if (3) mihaimaruseac@ankh:/tmp/gh/3$ gdb -q python
Reading symbols from python...(no debugging symbols found)...done.
(gdb) r
Starting program: /tmp/gh/3/bin/python
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Python 2.7.16 (default, Apr 6 2019, 01:42:57)
[GCC 7.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
[New Thread 0x7ffff3ae9700 (LWP 142370)]
[New Thread 0x7ffff32e8700 (LWP 142371)]
....
>>> print(tf.__version__)
2.0.0-dev20190905
>>>
[Inferior 1 (process 142358) exited normally]
(gdb) quit |
the new installation didnt work . |
working with gdb in windows needs a lots of set up which i dont want to go trough . |
See also #31431. Some people have had troubles installing tensorflow on python3.7 There should be other debuggers on Windows which can be used. |
Thanks i will check it |
Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks! |
Hi
When i import tensorflow , it just quit the code without any error .
appreciate any help in advance
The text was updated successfully, but these errors were encountered: