Closed jjnesbitt closed 1 year ago
Hi Jacob. I have never seen this behavior. Some questions:
How did you install Python 3.10?
Is that the only Python interpreter on your system? If not, provide details about others.
How exactly did you install VirtualFish?
What version of Virtualenv do you have installed?
If you use Virtualenv to manually create a new virtual environment, do you also see […]/local/bin
instead of […]/bin
?
3.8.10
and 3.9.14
installed, both also through APT.20.8.1
I'd also like to note that I followed these steps, and it appears to have fixed my issue (there is now a bin
folder at the venv root level). However the local/bin
folder still exists (and contains what it did before), so I think it's still fair to check that.
I am also having this issue Ubuntu 22.04
$ virtualenv --version
virtualenv 20.16.5 from /home/myhomedirectory/.local/lib/python3.10/site-packages/virtualenv/__init__.py
$ vf --help
VirtualFish 2.5.5
...
I am also having the same issue after installing it on pop-os 22.04 with python3.10
I was able to resolve as well with this https://github.com/justinmayer/virtualfish/issues/232#issuecomment-1251261914 Thank you @AlmightyYakob
As seen above, I have posted a comment asking Bernát, maintainer of Virtualenv, if he knows why this situation occurs. I have examined several ways of handling this, and all of them are messier than I would like — particularly when it is not clear why this seemingly-odd state happens in the first place.
Assuming we are able to collect more information regarding why this occurs, then perhaps it will make sense to consider handling this state within VirtualFish.
According to the maintainer of Virtualenv, this situation could be caused by an old/corrupted cache folder and isn't something that should happen under normal circumstances. Ergo, I don't think it makes much sense to handle this odd state-of-affairs explicitly in VirtualFish.
Issue
When creating a venv with python3.10 (in my case
3.10.7
), the bin folder is located under<venv>/local/bin/
, not simply<venv>/bin
. I've looked at the virtualfish source code a bit and it seems this is never explicitly handled, it's just assumed thatbin
. This is also evidenced by the fact that echoing$PATH
showsbin
instead oflocal/bin
. And yes,python3.10
is in my path.To reproduce: