[pythonvis] Re: Odd problem with PyLinter

  • From: <reynoldsdavid46@xxxxxxxxx>
  • To: <pythonvis@xxxxxxxxxxxxx>
  • Date: Wed, 1 Jul 2020 21:32:32 +0100

Dzhovani,

I activated the environment using the activate script, then pip install 
wxpython works, however, I still get the same errors as shown below:
[Code begins]
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
#
# generated by wxGlade 0.9.9pre on Sun Jun 28 22:31:47 2020
#

import wx

# begin wxGlade: dependencies
# end wxGlade

# begin wxGlade: extracode
# end wxGlade


class MyFrame(wx.Frame):

[Code ends]
{
        "resource": "/c:/mexplore/mexplore.py",
        "owner": "python",
        "code": "no-member",
        "severity": 8,
        "message": "Module 'wx' has no 'Frame' member",
        "source": "pylint",
        "startLineNumber": 16,
        "startColumn": 15,
        "endLineNumber": 16,
        "endColumn": 15
}

David.
-----Original Message-----
From: pythonvis-bounce@xxxxxxxxxxxxx <pythonvis-bounce@xxxxxxxxxxxxx> On Behalf 
Of Dzhovani Chemishanov
Sent: 01 July 2020 16:56
To: pythonvis@xxxxxxxxxxxxx
Subject: [pythonvis] Re: Odd problem with PyLinter

Try with:
python -m pip install wxpython

currently, pip is installed as a stand alone tool that is not dependent on your 
python path.

On 7/1/20, reynoldsdavid46@xxxxxxxxx <reynoldsdavid46@xxxxxxxxx> wrote:

Dzhovani,
I used my main python environment, but in an attempt to set up an 
environment for this project, I've set up a virtual environment, but 
when I
type:
Pip install wxpython
I get a requirement already satisfied message.
Once this is fixed, I'll copy the kind of error I'm getting, although, 
it may be cured by then,

David.

-----Original Message-----
From: pythonvis-bounce@xxxxxxxxxxxxx <pythonvis-bounce@xxxxxxxxxxxxx> 
On Behalf Of Dzhovani Chemishanov
Sent: 01 July 2020 11:37
To: pythonvis@xxxxxxxxxxxxx
Subject: [pythonvis] Re: Odd problem with PyLinter

If you can confirm for sure that the envs are the same, can you share 
what kinds of errors it is reporting?

On 7/1/20, reynoldsdavid46@xxxxxxxxx <reynoldsdavid46@xxxxxxxxx> wrote:
All very odd. WXPython is installed in this environment,

David.

-----Original Message-----
From: pythonvis-bounce@xxxxxxxxxxxxx <pythonvis-bounce@xxxxxxxxxxxxx> 
On Behalf Of Dzhovani Chemishanov
Sent: 01 July 2020 09:17
To: pythonvis@xxxxxxxxxxxxx
Subject: [pythonvis] Re: Odd problem with PyLinter

Depends on your vs code settings. Is the Vs code using the 
environment that you are using in the cli? If you have different 
envs, then the pylint is not seeing your wxglade installation for 
example and can not affirm its validity.

On 6/30/20, reynoldsdavid46@xxxxxxxxx <reynoldsdavid46@xxxxxxxxx> wrote:
Hi,



I generated some code using WXGlade. Having generated the code, I 
ran the program from the command prompt with no problem.

However, when I open it in VSCode, there are 36 errors.

Have I configured the linter wrongly?



Thanks,



David.


List web page is
//www.freelists.org/webpage/pythonvis

To unsubscribe, send email to
pythonvis-request@xxxxxxxxxxxxx with "unsubscribe" in the Subject field.

List web page is
//www.freelists.org/webpage/pythonvis

To unsubscribe, send email to
pythonvis-request@xxxxxxxxxxxxx with "unsubscribe" in the Subject field.

List web page is
//www.freelists.org/webpage/pythonvis

To unsubscribe, send email to
pythonvis-request@xxxxxxxxxxxxx with "unsubscribe" in the Subject field.

List web page is
//www.freelists.org/webpage/pythonvis

To unsubscribe, send email to
pythonvis-request@xxxxxxxxxxxxx with "unsubscribe" in the Subject field.

List web page is
//www.freelists.org/webpage/pythonvis

To unsubscribe, send email to
pythonvis-request@xxxxxxxxxxxxx with "unsubscribe" in the Subject field.

List web page is
//www.freelists.org/webpage/pythonvis

To unsubscribe, send email to
pythonvis-request@xxxxxxxxxxxxx with "unsubscribe" in the Subject field.

Other related posts: