Comments (11)
from memory_profiler.
Thanks for the report. I don't have a Windows OS at the moment, could you tell me what is the error it gives ?
from memory_profiler.
The file is not runnable under windows since there is no extension. If .py extension is added, and also a .bat file added with the following contents then the installation will work as intended under windows.
@echo off
python "%~dpn0.py" %*
Regards,
from memory_profiler.
@Agrisolum : do I understand you right?
- I have to rename the file
mprof
(which is inScripts
folder of Python after installation) tomprof.py
? - I have to put a
mprof.bat
with above mentioned content into the same folder?
Cheers
Tset
from memory_profiler.
I did it as stated above and it works! Thanks a lot!
from memory_profiler.
Agrisolum, it works! Thanks
from memory_profiler.
Might have to add the python folder to the batch file path though to run it from cmd
from memory_profiler.
@pankon what do you mean? could you give an example please?
from memory_profiler.
This can probably be closed.
from memory_profiler.
Switching to using python entry points should help, I'll try to submit a PR
from memory_profiler.
For anybody subscribing to this issue, latest development version of memory_profiler gained better support on Windows. Please check it out and tell us what you think.
from memory_profiler.
Related Issues (20)
- How to test memory usage for a time-loop function?
- Inconsistent result between line profiler and plot
- The @profile decorator will profile another decorator when chaining multiple decorators into a function. HOT 1
- include-children in decorator
- do not work in python 3.11 HOT 3
- Is maintained or not? HOT 4
- [BUG] invalid non-printable character U+FEFF HOT 6
- After delete the snapshot file, the function cannot be used when the memory profiler is opened again
- mprof: error: unrecognized arguments: --backend
- AttributeError: module 'pylab' has no attribute 'ioff' (Python 3.9) HOT 2
- Adding "--" to argment list may change the argument of the program started by `mprof run`. HOT 2
- non-ascii source characters misprocessed (maybe through 8859?) HOT 3
- mem usage and increment print is missing HOT 2
- I'm a beginner in the world of developing, I just finished learning python and html and css what's the next step please?I need a help with that. HOT 1
- Is it possible to compare two plots? HOT 1
- negative memory increment
- Is there a specific reason memory_usage return None when stream=True ? HOT 1
- Inconsistent documentation of units
- not sure how to interpret these results
- `tracemalloc` `backend` broken for `memory_usage`
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 memory_profiler.