Re: wxPython installation fails - solved

Charles McKnight <[email protected]>
Newsgroups gmane.comp.python.wxpython
Message-ID <[email protected]>
Hi Phil,

Virtual environments are easy. I usually put them in my project directory and then update my .gitignore file to, well, ignore them. 😂

The syntax to create the virtual environment is:

python3 -m venv <directory>

To activate the virtual environment:

Linux / OS X command line

source <directory>/bin/activate

Windows command line (or you can set up a special terminal to launch the batch file)

<directory>Scripts/activate.bat

From this point I usually do:

pip install —upgrade pip setuptools wheel

then I use pip to install any other packages I need.

To deactivate the virtual environment just go to the command line where the virtual environment was launched and enter:

deactivate (Linux/OS X)

	or

deactivate.bat (Windows)


> On May 8, 2020, at 6:00 PM, Phil <[email protected]> wrote:
> 
> On 9/5/20 4:33 am, johnf wrote:
>>> 
>>> or used the binary wheels
>>> 
> Thank you John, that's exactly how I installed wxPython previously. All is good now and I've added the procedure to my notes. The old memory is failing quickly.
> 
> Regarding a virtual environment, that's something that I should research. Any pointers?
> 
> -- 
> 
> Regards,
> Phil
> 
> -- 
> You received this message because you are subscribed to the Google Groups "wxPython-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/0e2eafb8-2a33-df4b-db1a-e1459fe241d4%40gmail.com.

-- 
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/73F6DDBB-325F-4A3F-BEE1-3FBB32F5769D%40gmail.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.