Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ecdd204

Browse files
committed
Add note about conda and typos
1 parent ec7c157 commit ecdd204

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

doc/faq/virtualenv_faq.rst

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,37 +47,38 @@ least two possible ways to get access to these in a virtual environment.
4747
One often suggested solution is to use the ``--system-site-packages`` option
4848
to virtualenv when creating an environment. This adds all system wide packages
4949
to the virtual environment. However, this breaks the isolation between the
50-
virtual environment and the system install. Among other issues it result in
51-
hard to debug problems with system packages shadowing the enviroment packages.
50+
virtual environment and the system install. Among other issues it results in
51+
hard to debug problems with system packages shadowing the environment packages.
5252
If you use `virtualenvwrapper <https://virtualenvwrapper.readthedocs.org/>`_
5353
this can be toggled with the ``toggleglobalsitepackages`` command.
5454

55-
Alternatively you can manually symlink the GUI frameworks into the environment.
56-
I.e. to use PyQt5 you should symlink ``PyQt5`` and ``sip`` from your system
55+
Alternatively, you can manually symlink the GUI frameworks into the environment.
56+
I.e. to use PyQt5, you should symlink ``PyQt5`` and ``sip`` from your system
5757
site packages directory into the environment taking care that the environment
5858
and the systemwide install use the same python version.
5959

6060
OSX
6161
===
6262

63-
On OSX two different types of Python Builds exists: a regular build and a
63+
On OSX, two different types of Python Builds exist: a regular build and a
6464
framework build. In order to interact correctly with OSX through some
65-
gui frameworks you need a framework build of Python.
65+
GUI frameworks you need a framework build of Python.
6666
At the time of writing the ``macosx``, ``WX`` and ``WXAgg`` backends require a
6767
framework build to function correctly. Unfortunately virtualenv creates a non
68-
framework build even if created from a framework build of Python. From
68+
framework build even if created from a framework build of Python. Conda
69+
environments are framework builds. From
6970
Matplotlib 1.5 onwards the ``macosx`` backend checks that a framework build is
7071
available and fails if a non framework build is found.
71-
WX has a similar check build-in.
72+
WX has a similar check build in.
7273

7374
The issue has been reported on the virtualenv bug tracker `here
7475
<https://github.com/pypa/virtualenv/issues/54>`__ and `here
7576
<https://github.com/pypa/virtualenv/issues/609>`__
7677

77-
Until this is fixed a workaround is needed. The best known workaround,
78+
Until this is fixed, a workaround is needed. The best known workaround,
7879
borrowed from the `WX wiki
7980
<http://wiki.wxpython.org/wxPythonVirtualenvOnMac>`_, is to use the non
80-
virtualenv python along with the PYTHONHOME environmental variable. This can be
81+
virtualenv python along with the PYTHONHOME environment variable. This can be
8182
implemented in a script as below. To use this modify ``PYVER`` and
8283
``PATHTOPYTHON`` and put the script in the virtualenv bin directory i.e.
8384
``PATHTOVENV/bin/frameworkpython``

0 commit comments

Comments
 (0)