Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'scripts': 0.03; 'error:': 0.07; 'subject:missing': 0.07; 'suppose': 0.07; 'exit': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'scripts,': 0.09; 'python': 0.11; 'bug': 0.12; 'windows': 0.15; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'scripts.': 0.16; 'extensions': 0.16; 'wrote:': 0.18; 'library': 0.18; 'trying': 0.19; 'seems': 0.21; 'command': 0.22; 'header :User-Agent:1': 0.23; 'error': 0.23; 'fairly': 0.24; 'environment': 0.24; 'header:X-Complaints-To:1': 0.27; 'header:In- Reply-To:1': 0.27; "doesn't": 0.30; "i'm": 0.30; "skip:' 10": 0.31; 'file': 0.32; 'open': 0.33; 'but': 0.35; 'should': 0.36; 'half': 0.37; 'virtual': 0.37; 'ends': 0.38; 'to:addr:python- list': 0.38; 'files': 0.38; 'fact': 0.38; 'environment.': 0.39; 'visual': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'even': 0.60; 'name': 0.63; 'skip:1 20': 0.65; 'received:109': 0.72; 'hand': 0.80; 'trial': 0.83; '..........': 0.84; 'environment;': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Robin Becker Subject: Re: python33.lib missing for build_ext in venv environment Date: Mon, 14 Oct 2013 16:28:26 +0100 References: <525C0B06.3030203@chamonix.reportlab.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: 109.174.168.73 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 In-Reply-To: <525C0B06.3030203@chamonix.reportlab.co.uk> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 27 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1381764512 news.xs4all.nl 15886 [2001:888:2000:d::a6]:34014 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:56811 On 14/10/2013 16:17, Robin Becker wrote: > I'm trying to port reportlab extensions to Python 3.3. On windows I get a > missing library error when trying to build/install the trial reportlab in a > virtual environment eg > >> C:\code\hg-repos\reportlab>\python33\python -m venv tpy33 .........ns\rl_accel\_rl_accel.lib >> /MANI >> FESTFILE:build\temp.win32-3.3\Release\code\hg-repos\reportlab\src\rl_addons\rl_accel\_rl_accel.pyd.manifest >> >> LINK : fatal error LNK1104: cannot open file 'python33.lib' >> error: command '"C:\Program Files\Microsoft Visual Studio >> 10.0\VC\BIN\link.exe"' failed with exit status 1104 >> >> (tpy33) C:\code\hg-repos\reportlab> ......... > > is this a bug or some misconfiguration; should I be using virtualenv? seems that venv doesn't copy the standard Libs directory into the virtual environment; if I do that by hand then I get a proper working virtual environment. Also seems fairly half baked to change the name bin to Scripts, but perhaps there's some windows centric reason for that even though the Scripts dir ends up with a lot of dlls & pyds in it. I suppose that ps1 files are in fact scripts. -- Robin Becker