[Pydev-code] Can't create additional virtual env interpreters in PyDev
Brought to you by:
fabioz
From: Joseph L. N. I. <jos...@gm...> - 2016-05-17 17:47:48
|
Hello everyone, first post. I’m a new user of pydev, and so far things are great. However I have run into a snag and don’t know if its a bug or ‘working as intended’. I’m on OSX, so I tend to prefer using Python 3.5 and virtual environments for my development rather than the ancient 2.7 system wide interpreter. I’ve figured out how to add the virtual environment python executable and site-packages to my interpreter definition in PyDev, which works, however I find I cannot add more than one virtual environment to PyDev. The issue at hand seems to be that since the virtual environment executable is a symbolic link and since that is turned into the actual destination in the Add an Interpreter dialog, I am prevented from specifying other virtual environments relying on the same Python 3.5 installation with the message ‘An interpreter is already configured with the path’, with the ok box is grayed out. I really cannot think of a single reason why someone should not be able to add an interpreter location multiple times with different names if they wanted, virtual environments or not, and the main effect of denying this seems to be disallowing multiple virtual environments, which kind of defeats the whole purpose of having virtual environments to begin with, which is you can have more than 1 system wide environment with different packages installed for each. I would humbly suggest that the user simply be trusted to safely create multiple interpreters definitions pointing to the same executable if they wanted. Thank you for reading! Joseph Nunn jos...@gm... jos...@uc... |