virtualenv-clone
virtualenv-clone copied to clipboard
assertion error on clone
I have a fairly heavy VE with several dozen packages installed. When I attempt to clone, the following assertion failure is shown, where remaining==[u'2.7']. Is this a show-stopper or can it be safely ignored?
kjacobs@0-compute:~/projects/locus-ve/0.0.1$ time bin/virtualenv-clone . ../clone3
Traceback (most recent call last):
File "bin/virtualenv-clone", line 9, in
hmm, /locus/home/kjacobs/projects/locus-ve/0.0.1/
is the location of the source virtualenv you're cloning from? it looks like there are items in the target virtualenv's sys.path still pointing to the original virtualenv, in fact it looks like it's running from the original location entirely. I would say that is a show-stopper!
if you run the python in the new, cloned virtualenv and print out sys.path
what does it print? ie: ../clone3/bin/python -c "import sys; print sys.path"
also, if you run virtualenv-clone with the -v
argument, what does it output?