First time here? Check out the FAQ!
1

The editable mode installed package by pip cannot be completed by default.
 

It seems that the editable mode installed package by pip cannot be completed by default. In order to enable the completion for them, I must add the package directory into wing's python path, as shown below:

image description

However, this method becomes very inconvenient if I have many such installed packages. I wonder if there is a better solution to this problem.

Regards, Zhao

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
hongyi-zhao's avatar
557
hongyi-zhao
asked Jun 24
Wingware Support's avatar
4.2k
Wingware Support
updated Jul 3

Comments

see more comments

1 Answer

0

Using the compat mode for editable installs should fix this. The command line for installing the current directory is:

python -m pip install -e . --config-settings editable_mode=compat

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Wingware Support's avatar
4.2k
Wingware Support
answered Jun 24
link

Comments

Yes. It does the trick. See https://stackoverflow.com/questions/763… for the related discussion.

hongyi-zhao's avatar hongyi-zhao (Jun 25)
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

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)