weiyx16 / Active-Perception

Deep Reinforcement Learning for Robotic Pushing and Picking in Cluttered Environment
https://weiyx16.github.io/RobotGrasping
MIT License
13 stars 7 forks source link

No module named tensorflow #7

Closed vRicardo98 closed 3 years ago

vRicardo98 commented 3 years ago

Greatings!

I am trying to run your code for a university project, however i am facing the fact that it says "No module named tensorflow" even tough i have it installed as you can see in the prints below. What can I do to solve this problem?

tensorflow tensorflow-error

weiyx16 commented 3 years ago

Have you tested with python in command line and try to import tensorflow as tf?

vRicardo98 commented 3 years ago

Well, gotta say I just tried in with Python3 (3.6.9) and it doesn't recognize it. I then installed Python2 (2.7.17) and the respective Pip. Proceed to install tensorflow and tensorflow gpu (1.4.0) and It did recognize. Gotta try run your code with python2 then.

Many thanks!!

weiyx16 commented 3 years ago

You are welcome. The total code was only tested on python3. So, I think you need to solve the problem of using tensorflow under python3, which actually has no dependency on what the repo is. You can search on google to find some solution.