Comments (4)
Hi @winnk23 ,
thanks for reaching me out
one solution i can suggest is, replace line 158 with below line
plt.manager.set_window_title("Plot for Image")
then check and reach out to me if error comes.
from real-time-human-detection-counting.
Hi Sir,
Thanks for your reply, but still get error. The error shows:
return self.func(*args)
File "E:\FYP\Real-Time-Human-Detection-Counting-main\main.py", line 158, in img_enumeration_plot
plt.manager.set_window_title("Plot for Image")
AttributeError: module 'matplotlib.pyplot' has no attribute 'manager'
After that I tried to import manager' on the top of the code and try to install manager with 'pip install manager', but get this error:
Defaulting to user installation because normal site-packages is not writeable
Collecting manager
Downloading Manager-2.0.5.tar.gz (751 kB)
---------------------------------------- 751.8/751.8 kB 2.1 MB/s eta 0:00:00
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [8 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\MY HP\AppData\Local\Temp\pip-install-_9spgwkm\manager_52c2594075714fd49ef7efe47873f077\setup.py", line 35, in
_setEncoding()
File "C:\Users\MY HP\AppData\Local\Temp\pip-install-_9spgwkm\manager_52c2594075714fd49ef7efe47873f077\setup.py", line 31, in _setEncoding
reload(sys)
NameError: name 'reload' is not defined
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
from real-time-human-detection-counting.
Try to update the matplotlib library to its latest version
then try to run
from real-time-human-detection-counting.
Hi, i've upgrade the matplotlib version
C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python39_64\Scripts>pip install --upgrade matplotlib
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: matplotlib in c:\users\my hp\appdata\roaming\python\python39\site-packages (3.6.0)
Requirement already satisfied: python-dateutil>=2.7 in c:\users\my hp\appdata\roaming\python\python39\site-packages (from matplotlib) (2.8.2)
Requirement already satisfied: numpy>=1.19 in c:\users\my hp\appdata\roaming\python\python39\site-packages (from matplotlib) (1.23.3)
Requirement already satisfied: pillow>=6.2.0 in c:\users\my hp\appdata\roaming\python\python39\site-packages (from matplotlib) (9.2.0)
Requirement already satisfied: cycler>=0.10 in c:\users\my hp\appdata\roaming\python\python39\site-packages (from matplotlib) (0.11.0)
Requirement already satisfied: fonttools>=4.22.0 in c:\users\my hp\appdata\roaming\python\python39\site-packages (from matplotlib) (4.37.3)
Requirement already satisfied: packaging>=20.0 in c:\users\my hp\appdata\roaming\python\python39\site-packages (from matplotlib) (21.3)
Requirement already satisfied: kiwisolver>=1.0.1 in c:\users\my hp\appdata\roaming\python\python39\site-packages (from matplotlib) (1.4.4)
Requirement already satisfied: contourpy>=1.0.1 in c:\users\my hp\appdata\roaming\python\python39\site-packages (from matplotlib) (1.0.5)
Requirement already satisfied: pyparsing>=2.2.1 in c:\users\my hp\appdata\roaming\python\python39\site-packages (from matplotlib) (3.0.9)
Requirement already satisfied: six>=1.5 in c:\users\my hp\appdata\roaming\python\python39\site-packages (from python-dateutil>=2.7->matplotlib) (1.16.0)
but still get the same error:
return self.func(*args)
File "E:\FYP\Real-Time-Human-Detection-Counting-main\main.py", line 158, in img_enumeration_plot
plt.manager.set_window_title("Plot for Image")
AttributeError: module 'matplotlib.pyplot' has no attribute 'manager'
from real-time-human-detection-counting.
Related Issues (11)
- Questions about processing delays HOT 2
- Tensorflow HOT 2
- LICENSE for this project HOT 7
- Model used in frozen_inference_graph.pb HOT 1
- how is the detection happening? HOT 1
- from fpdf import FPDF : missing HOT 7
- Video replayed again and again even after closing. HOT 1
- 3 information HOT 2
- COMPARISION
- persondetection HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from real-time-human-detection-counting.