First time here? Check out the FAQ!
0

Using envvars in Project Properties → Python Path does not seem to work

Wing Pro 6.1.0-1 (rev 7089881dae36)

I have a couple of environment variables that I want to use as my custom Python Path. I chose Custom under Project Properties → Python Path and set its value to:

$FIRST_VAR:$SECOND_VAR

Each one of these variables has a colon-separated list of paths (all valid).  However, when I click Apply, I get an error message:

Some property warnings were encountered:
- PYTHONPATH entry 'path1:path2:path3' does not exist or cannot be found
- PYTHONPATH entry 'path4:path5' does not exist or cannot be found

What could be causing this and how do I fix it?

UPDATE:  This used to work in Wing Pro 5.x

Arkady's avatar
1
Arkady
asked 2018-09-03 22:47:00 -0500
Wingware Support's avatar
4.1k
Wingware Support
updated 2020-01-22 19:55:38 -0500
edit flag offensive 0 remove flag close merge delete

Comments

I've confirmed that this is a bug and we'll try to fix it soon.

Wingware Support's avatar Wingware Support (2018-09-04 04:33:00 -0500) edit
add a comment see more comments

1 Answer

0

There is a now patch available for this, for Wing 6.1.0.  You can use Check for Updates in the Help menu to obtain it, and then restart Wing when prompted.  Thanks for reporting this problem!

Wingware Support's avatar
4.1k
Wingware Support
answered 2018-09-04 14:35:00 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer