pythonprofilers / memory_profiler

Monitor Memory usage of Python code
http://pypi.python.org/pypi/memory_profiler
Other
4.39k stars 380 forks source link

Python script not found #356

Open gummz opened 2 years ago

gummz commented 2 years ago

Upon running

python3 -m memory_profiler ../src/data/script.py

gives me the error message

ERROR: Could not find file ../src/data/script.py

(I have double checked it was there)

kahlun commented 2 years ago

Did you change the directory in your python script.py? for example, os.chdir('../../')