Ask Your Question
0

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

asked 2018-09-03 22:47:00 -0500

Arkady's avatar

updated 2020-01-22 19:55:38 -0500

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

edit retag flag offensive 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

1 Answer

Sort by » oldest newest most voted
0

answered 2018-09-04 14:35:00 -0500

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!

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2018-09-03 22:47:00 -0500

Seen: 755 times

Last updated: Mar 06 '19