Uninstalling through PIP
When I try to uninstall virtual-node:
pip uninstall virtual-node
I still got node installed in my virtualenv.
Unfortunately, the short answer is that it isn't possible to uninstall virtual-node using pip. The reason for that is that virtual-node is basically a python script in setup.py that downloads nodejs and compiles it using shell commands. As such setuptools and pip don't know anything about installed files and can't remove them. I am not quite sure if there is a way to work around this using yet another hack in setup.py.
For the time being you'll have to manually remove the files installed into your virtualenv which should usually by these two directories:
-
<envdir>/lib/node -
<envdir>/lib/node_modules
as well as the executables of node packages you've installed that are in <envdir>/bin which will be at least node and npm.
I hope that helps and if you have any suggestions or ideas how to make uninstalls work as well, I'm happy to hear about them.