Closed alichaudry closed 8 years ago
Hi,
it should spinning until you launch profiler.run()
function. Then it will display obtained stats.
I will update README with clearer description and add more profiling examples.
Thanks for reporting!
Ah! Got it. I'll try again. The function I was testing takes 40 minutes to run (I know...) so I didn't want to wait for that to finish and find out the profiler isn't working. I'll give it another shot.
I have another two related questions:
npm
warnings I got? Are they okay? I haven't used npm
much so I'm unfamiliar with those warnings/errors.pip uninstall vprof
, does pip
also take care of the npm install and other dependencies?Cheers!
Hi, here are the answers: 1) I am not a big fan of npm, but it shouldn't give you any warnings (at least I have none when I am building it). 2) When you do pip install vprof , you don't need npm and other stuff, UI is already built and uploaded to PyPI. npm is needed when you want to build UI from sources. Also pip does not install npm and other Node packages.
I think I will clarify this in README.md.
Thanks for reporting! On May 20, 2016 6:47 PM, "alichaudry" notifications@github.com wrote:
Ah! Got it. I'll try again. The function I was testing takes 40 minutes to run (I know...) so I didn't want to wait for that to finish and find out the profiler isn't working. I'll give it another shot.
I have another two related questions:
- What about the tons of npm warnings I got? Are they okay? I haven't used npm much so I'm unfamiliar with those warnings/errors.
- If I want to uninstall via pip uninstall vprof, does pip also take care of the npm install and other dependencies?
Cheers!
— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/nvdv/vprof/issues/35#issuecomment-220642977
Yup, I wasn't doing pip install
because the version on pip
doesn't have the cool remote profiler as in v0.3. Actually, are you planning on updating the pip
repo/PyPI any time soon? Because if yes, then I'll just install via pip, which, IMO, is much cleaner. conda
might be even better, because it's binaries and I don't have to worry about compilation on the local machine!
The reason I ask is because when I do the local build, it runs npm and looks like it changes more stuff than pip does. I know when I install via pip
, it's easy enough to remove via pip uninstall
. But doing the local build is touching npm
and all this other stuff, so I wasn't sure how the uninstall process works when doing a local build outside of pip
.
TL;DR: When installing via pip
, uninstalling is super-easy pip uninstall
yada-yada. But when doing a local build from the repo, what are the uninstall instructions?
Sorry about that, current workaround is to explicitly specify vprof version: pip install vprof==0.3 Since I am on the road, I will update PyPI version as soon as I will get back to my laptop, which might happen in 2-3 days. On May 20, 2016 23:29, "alichaudry" notifications@github.com wrote:
Yup, I wasn't doing pip install because the version on pip doesn't have the cool remote profiler as in v0.3. Actually, are you planning on updating the pip repo/PyPI any time soon? Because if yes, then I'll just install via pip, which, IMO, is much cleaner. conda might be even better, because it's binaries and I don't have to worry about compilation on the local machine!
The reason I ask is because when I do the local build, it runs npm and looks like it changes more stuff than pip does. I know when I install via pip, it's easy enough to remove via pip uninstall. But doing the local build is touching npm and all this other stuff, so I wasn't sure how the uninstall process works when doing a local build outside of pip.
TL;DR: When installing via pip, uninstalling is super-easy pip uninstall yada-yada. But when doing a local build from the repo, what are the uninstall instructions?
— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/nvdv/vprof/issues/35#issuecomment-220710674
To uninstall local version you can uninstall it via pip and remove repository directory. npm puts stuff in .node_modules sub directory If you don't need npm, you can uninstall it manually.
Ah. That makes sense. Thanks!
Just to confirm, vprof 0.3
lives on PyPI but the version needs to be called explicitly (via pip install
). And the local build uninstall process is to remove the repo directory, uninstall via pip, and revert npm
changes. Cheers!
pip install vprof
should install most recent version now.
Great - I just got it. Thanks!
I'm not sure if it's/ shows a spinning circle that keeps on spinning forever.
deps_install
that's failing, but whenever I openvprof
in remote mode, http://localhost:build_ui
andinstall
throw no noticeable errors. Here's the output fromdeps_install
:My self-test outputs are as follows:
I'm sure it's something really straightforward I've missed, because I didn't see any issues like this in other open (or closed) issues.