This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Johano
Recipients Johano, eryksun, paul.moore, steve.dower, tim.golden, zach.ware
Date 2016-01-12.08:57:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <5694C001.4020402@mail.dk>
In-reply-to <1452553064.74.0.230830068722.issue26086@psf.upfronthosting.co.za>
Content
I thank you much for thisse answer!
I Python is in "C:\Python35\" in the root of C-Drive (OS)
=-O
Den 11-01-2016 kl. 23:57 skrev Eryk Sun:
> Eryk Sun added the comment:
>
> The "yield from" syntax was added in Python 3.3, so somehow you're using the 3.5 standard library with either an old 3.x or 2.x version. The older version shouldn't use 3.5's standard library, unless you have either PYTHONHOME or PYTHONPATH defined. Generally neither of these variables should be defined, especially not PYTHONHOME. In the command prompt run "set PYTHON" to list all environment variables that start with "PYTHON".
>
> You also appear to be running with the 3.5 site-packages as the working directory. Even without the other problems, I recommend against this since the current directory has precedence in sys.path. You're moving site-packages to the head of the list, in front of the standard library. For example:
>
>      C:\Program Files\Python35\Lib\site-packages>type subprocess.py
>      print("This isn't the subprocess you're looking for.")
>
>      C:\Program Files\Python35\Lib\site-packages>py -3 -c "import subprocess"
>      This isn't the subprocess you're looking for.
>
> Save your scripts in the top-level Scripts directory or a directory in your user profile. Generally leave everything under Lib alone, to be managed by pip and other installers.
>
> ----------
> nosy: +eryksun
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue26086>
> _______________________________________
>
History
Date User Action Args
2016-01-12 08:57:38Johanosetrecipients: + Johano, paul.moore, tim.golden, zach.ware, eryksun, steve.dower
2016-01-12 08:57:38Johanolinkissue26086 messages
2016-01-12 08:57:38Johanocreate