Coder Social home page Coder Social logo

Comments (11)

pankon avatar pankon commented on August 29, 2024 1

from memory_profiler.

fabianp avatar fabianp commented on August 29, 2024

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.

Agrisolum avatar Agrisolum commented on August 29, 2024

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.

Tset-Noitamotua avatar Tset-Noitamotua commented on August 29, 2024

@Agrisolum : do I understand you right?

  1. I have to rename the file mprof (which is in Scripts folder of Python after installation) to mprof.py?
  2. I have to put a mprof.bat with above mentioned content into the same folder?

Cheers
Tset

from memory_profiler.

Tset-Noitamotua avatar Tset-Noitamotua commented on August 29, 2024

I did it as stated above and it works! Thanks a lot!

from memory_profiler.

pankon avatar pankon commented on August 29, 2024

Agrisolum, it works! Thanks

from memory_profiler.

pankon avatar pankon commented on August 29, 2024

Might have to add the python folder to the batch file path though to run it from cmd

from memory_profiler.

vi3mool avatar vi3mool commented on August 29, 2024

@pankon what do you mean? could you give an example please?

from memory_profiler.

astrojuanlu avatar astrojuanlu commented on August 29, 2024

This can probably be closed.

from memory_profiler.

carlodri avatar carlodri commented on August 29, 2024

Switching to using python entry points should help, I'll try to submit a PR

from memory_profiler.

astrojuanlu avatar astrojuanlu commented on August 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.