Path: csiph.com!goblin1!goblin.stu.neva.ru!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'url:pypi': 0.03; 'repository': 0.05; 'executable': 0.07; 'main()': 0.07; 'prefix': 0.07; 'sys,': 0.07; 'https': 0.09; 'ignoring': 0.09; 'path.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:create': 0.09; 'subject:virtualenv': 0.09; 'python': 0.10; 'output': 0.13; 'interpreter': 0.15; 'module?': 0.16; 'oserror:': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'setuptools': 0.16; 'setuptools,': 0.16; 'skip:3 30': 0.16; 'wrote:': 0.16; 'windows': 0.20; '64-bit': 0.22; 'ignored.': 0.23; 'matching': 0.23; 'tried': 0.24; '(most': 0.24; 'downloaded': 0.24; 'skip:- 40': 0.25; 'install': 0.25; 'header:User-Agent:1': 0.26; 'command': 0.26; 'installed': 0.26; 'header:X-Complaints-To:1': 0.26; 'error': 0.27; 'collecting': 0.27; 'host': 0.28; "skip:' 10": 0.28; 'silence': 0.29; 'code': 0.30; 'skip:. 10': 0.32; 'url:python': 0.33; 'instead,': 0.33; 'machine.': 0.33; 'traceback': 0.33; 'recommended': 0.34; 'file': 0.34; 'worked': 0.34; 'running': 0.34; 'add': 0.34; 'skip:3 10': 0.35; 'could': 0.35; 'installing': 0.35; 'but': 0.36; 'skip:i 20': 0.36; 'located': 0.36; 'url:org': 0.36; 'url:library': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'being': 0.37; 'received:org': 0.37; 'requirement': 0.37; 'skip:v 20': 0.38; 'version': 0.38; 'to:addr:python.org': 0.40; 'url:3': 0.60; 'secure': 0.60; 'email addr:gmail.com': 0.62; 'complete': 0.63; 'trusted': 0.64; 'header:Reply-To:1': 0.67; 'reply-to:no real name:2**0': 0.71; 'reply-to:addr:gmail.com': 0.76; '910,': 0.84; 'pip': 0.84; 'wheel': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Kev Dwyer Subject: Re: Cannot create a virtualenv Date: Mon, 14 Sep 2015 18:55:59 +0100 References: Reply-To: kevin.p.dwyer@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Gmane-NNTP-Posting-Host: cpc5-hari13-2-0-cust222.20-2.cable.virginm.net Mail-Copies-To: kevin.p.dwyer@gmail.com User-Agent: KNode/4.14.9 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 92 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1442253376 news.xs4all.nl 23759 [2001:888:2000:d::a6]:43668 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:96581 paul.hermeneutic@gmail.com wrote: > - I downloaded and installed Python 3.5 64-bit onto a Windows 7 64-bit > machine. - Using `pip install virtualenv` worked fine. > - Now, it is time to create a virtualenv, but it is not working fine. > - I had to add Python 3.5 to the PATH. > - Any suggestions? > > C:\ve>virtualenv -p "\Program Files\Python 3.5\python.exe" ve33 > Running virtualenv with interpreter C:\Program Files\Python 3.5\python.exe > Using base prefix 'C:\\Program Files\\Python 3.5' > New python executable in ve33\Scripts\python.exe > Installing setuptools, pip, wheel... > Complete output from command C:\ve\ve33\Scripts\python.exe -c > "import sys, pip; sys...d\"] + sys.argv[1:]))" setuptools pip wheel: > Ignoring indexes: https://pypi.python.org/simple > Collecting setuptools > The repository located at None is not a trusted or secure host and > is being ignored. If this repository is available via HTTPS it is > recommended to use HTTPS instead, otherwis > e you may silence this warning and allow it anyways with '--trusted-host > None'. > The repository located at None is not a trusted or secure host and > is being ignored. If this repository is available via HTTPS it is > recommended to use HTTPS instead, otherwis > e you may silence this warning and allow it anyways with '--trusted-host > None'. > The repository located at None is not a trusted or secure host and > is being ignored. If this repository is available via HTTPS it is > recommended to use HTTPS instead, otherwis > e you may silence this warning and allow it anyways with '--trusted-host > None'. > The repository located at None is not a trusted or secure host and > is being ignored. If this repository is available via HTTPS it is > recommended to use HTTPS instead, otherwis > e you may silence this warning and allow it anyways with '--trusted-host > None'. > The repository located at None is not a trusted or secure host and > is being ignored. If this repository is available via HTTPS it is > recommended to use HTTPS instead, otherwis > e you may silence this warning and allow it anyways with '--trusted-host > None'. > The repository located at None is not a trusted or secure host and > is being ignored. If this repository is available via HTTPS it is > recommended to use HTTPS instead, otherwis > e you may silence this warning and allow it anyways with '--trusted-host > None'. > The repository located at None is not a trusted or secure host and > is being ignored. If this repository is available via HTTPS it is > recommended to use HTTPS instead, otherwis > e you may silence this warning and allow it anyways with '--trusted-host > None'. > The repository located at None is not a trusted or secure host and > is being ignored. If this repository is available via HTTPS it is > recommended to use HTTPS instead, otherwis > e you may silence this warning and allow it anyways with '--trusted-host > None'. > The repository located at None is not a trusted or secure host and > is being ignored. If this repository is available via HTTPS it is > recommended to use HTTPS instead, otherwis > e you may silence this warning and allow it anyways with '--trusted-host > None'. > Could not find a version that satisfies the requirement setuptools > (from versions: ) > No matching distribution found for setuptools > ---------------------------------------- > ...Installing setuptools, pip, wheel...done. > Traceback (most recent call last): > File "c:\program files\python 3.5\lib\site-packages\virtualenv.py", > line 2363, in > main() > File "c:\program files\python 3.5\lib\site-packages\virtualenv.py", > line 832, in main > symlink=options.symlink) > File "c:\program files\python 3.5\lib\site-packages\virtualenv.py", > line 1004, in create_environment > install_wheel(to_install, py_executable, search_dirs) > File "c:\program files\python 3.5\lib\site-packages\virtualenv.py", > line 969, in install_wheel > 'PIP_NO_INDEX': '1' > File "c:\program files\python 3.5\lib\site-packages\virtualenv.py", > line 910, in call_subprocess > % (cmd_desc, proc.returncode)) > OSError: Command C:\ve\ve33\Scripts\python.exe -c "import sys, pip; > sys...d\"] + sys.argv[1:]))" setuptools pip wheel failed with error > code 1 Have you tried using the venv module? https://docs.python.org/3/library/venv.html