Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Using virtualenv with Wing

I am looking to partition my projects by running virtualenv.  For those who don't know, virtualenv creates a clean copy of any chosen python on your system, within the folder of your project.   My thinking from here is that all I need to do is point wing at the project Python installed by virtualenv and all should work from there.I set the Python executable to custom and enter the path as .../Users/dgp/Library/Mobile Documents/com~apple~CloudDocs/02-Python Projects/02-PP02/BBH_MachineLearning/bin/Python3.6Just for good measure I set the Python Path to Custom and entered this .../Users/dgp/Library/Mobile Documents/com~apple~CloudDocs/02-Python Projects/02-PP02/BBH_MachineLearning/binWhen I clicked OK to move back to the project I get this...Some values are invalid:- Python executable '/Users/dgp/Library/Mobile Documents/com/Users/dgpapple/Users/dgpCloudDocs/02-Python Projects/02-PP02/BBH_MachineLearning/bin/Python3.6' was not found. It should be the name of a Python interpreter that is on your PATH (such as python, python3.4, python.exe) or the full path to the Python interpreter you wish to use.Some warnings were also encountered:- PYTHONPATH entry '/Users/dgp/Library/Mobile Documents/com/Users/dgpapple/Users/dgpCloudDocs/02-Python Projects/02-PP02/BBH_MachineLearning/bin' does not exist or cannot be foundPlease correct the values and try againIt looks like the tilda's in the apple cloud path are confusing wing.  Are there any escape codes I could use in the path that would enable what i am trying to do to work?Thanks in advance

Using virtualenv with Wing

I am looking to partition my projects by running virtualenv.  For those who don't know, virtualenv creates a clean copy of any chosen python on your system, within the folder of your project.   My thinking from here is that all I need to do is point wing at the project Python installed by virtualenv and all should work from there.I there.

I set the Python executable to custom and enter the path as .../Users/dgp/Library/Mobile Documents/com~apple~CloudDocs/02-Python Projects/02-PP02/BBH_MachineLearning/bin/Python3.6Just Projects/02-PP02/BBH_MachineLearning/bin/Python3.6

Just for good measure I set the Python Path to Custom and entered this .../Users/dgp/Library/Mobile Documents/com~apple~CloudDocs/02-Python Projects/02-PP02/BBH_MachineLearning/binWhen I clicked OK to move back to the project I get this...Some this...

Some values are invalid:- invalid:

  • Python executable '/Users/dgp/Library/Mobile Documents/com/Users/dgpapple/Users/dgpCloudDocs/02-Python Projects/02-PP02/BBH_MachineLearning/bin/Python3.6' was not found. It should be the name of a Python interpreter that is on your PATH (such as python, python3.4, python.exe) or the full path to the Python interpreter you wish to use.Some use.

Some warnings were also encountered:- encountered:

  • PYTHONPATH entry '/Users/dgp/Library/Mobile Documents/com/Users/dgpapple/Users/dgpCloudDocs/02-Python Projects/02-PP02/BBH_MachineLearning/bin' does not exist or cannot be foundPlease found

Please correct the values and try againIt again

It looks like the tilda's in the apple cloud path are confusing wing.  Are there any escape codes I could use in the path that would enable what i am trying to do to work?Thanks work?

Thanks in advance

Using virtualenv with Wing

I am looking to partition my projects by running virtualenv.  For those who don't know, virtualenv creates a clean copy of any chosen python on your system, within the folder of your project.   My thinking from here is that all I need to do is point wing at the project Python installed by virtualenv and all should work from there.

I set the Python executable to custom and enter the path as .../Users/dgp/Library/Mobile Documents/com~apple~CloudDocs/02-Python Projects/02-PP02/BBH_MachineLearning/bin/Python3.6

Just for good measure I set the Python Path to Custom and entered this .../Users/dgp/Library/Mobile Documents/com~apple~CloudDocs/02-Python Projects/02-PP02/BBH_MachineLearning/binWhen I clicked OK to move back to the project I get this...

Some values are invalid:

  • Python executable '/Users/dgp/Library/Mobile Documents/com/Users/dgpapple/Users/dgpCloudDocs/02-Python Projects/02-PP02/BBH_MachineLearning/bin/Python3.6' was not found. It should be the name of a Python interpreter that is on your PATH (such as python, python3.4, python.exe) or the full path to the Python interpreter you wish to use.

Some warnings were also encountered:

  • PYTHONPATH entry '/Users/dgp/Library/Mobile Documents/com/Users/dgpapple/Users/dgpCloudDocs/02-Python Projects/02-PP02/BBH_MachineLearning/bin' does not exist or cannot be found

Please correct the values and try again

It looks like the tilda's in the apple cloud path are confusing wing.  Are there any escape codes I could use in the path that would enable what i am trying to do to work?

Thanks in advance