evilsocket / evilsocket/pwnagotchi

[BUG] ImportError: cannot import name 'monitoring' from 'Tensorflow.python.eager'

Open
#388 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
9.2k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Attempting to use the v1.0.1 code on a generic debian platform:

After downloading and attempting to install with "sudo pip3 install ." I get an error regarding the tensorflow python libraries after it states that it was successfully build pwnagotchi:

"tensorflow 1.13.1 has requirement tensorflow-estimator<1.14.0rc0,>=1.13.0, but you'll havee tensorflow-estimator 1.14.0 which is incompatible.

When pwnagotchi is then started it throws an error on startup:

"Unhandled exception in thread started by <bound metehod AsyncTrainer._ai_worker of <pwnagotchi.agent.Agent object at 0x7f226628bda0>"

And an ImportError: cannot import name 'monitoring' from 'tensorflow.python.eager'

I thought it was maybe a conflict with other software so I attempted to remove and re-install the python libraries with pip unsuccessfully.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is identified in the report. Start by reproducing the v1.0.1 installation on Debian with the reported TensorFlow and tensorflow-estimator versions, then trace startup through AsyncTrainer._ai_worker; done means installation succeeds with compatible dependencies and startup no longer raises the monitoring ImportError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, tensorflow
Domain
build-system, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.