Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #56810 > unrolled thread
| Started by | Robin Becker <robin@reportlab.com> |
|---|---|
| First post | 2013-10-14 16:17 +0100 |
| Last post | 2013-10-14 17:35 +0100 |
| Articles | 3 — 2 participants |
Back to article view | Back to comp.lang.python
python33.lib missing for build_ext in venv environment Robin Becker <robin@reportlab.com> - 2013-10-14 16:17 +0100
Re: python33.lib missing for build_ext in venv environment Marco Buttu <marco.buttu@gmail.com> - 2013-10-14 18:01 +0200
Re: python33.lib missing for build_ext in venv environment Robin Becker <robin@reportlab.com> - 2013-10-14 17:35 +0100
| From | Robin Becker <robin@reportlab.com> |
|---|---|
| Date | 2013-10-14 16:17 +0100 |
| Subject | python33.lib missing for build_ext in venv environment |
| Message-ID | <mailman.1071.1381763861.18130.python-list@python.org> |
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 > C:\code\hg-repos\reportlab>tpy33\Scripts\activate > (tpy33) C:\code\hg-repos\reportlab>rm -r build > > (tpy33) C:\code\hg-repos\reportlab>python setup.py build_ext > ################################################ > #Attempting install of _rl_accel, sgmlop & pyHnj .......... > creating build\temp.win32-3.3\Release\code\hg-repos\reportlab\src\rl_addons\rl_accel > C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:\python33\include - > IC:\python33\include /TcC:\code\hg-repos\reportlab\src\rl_addons\rl_accel\_rl_accel.c /Fobuild\temp.win32-3.3\Release\co > de\hg-repos\reportlab\src\rl_addons\rl_accel\_rl_accel.obj > _rl_accel.c > creating build\lib.win32-3.3 > creating build\lib.win32-3.3\reportlab > creating build\lib.win32-3.3\reportlab\lib > C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:C:\code\hg-repos\rep > ortlab\tpy33\libs /LIBPATH:C:\python33 /LIBPATH:C:\code\hg-repos\reportlab\tpy33\PCbuild /EXPORT:PyInit__rl_accel build\ > temp.win32-3.3\Release\code\hg-repos\reportlab\src\rl_addons\rl_accel\_rl_accel.obj /OUT:build\lib.win32-3.3\reportlab\l > ib\_rl_accel.pyd /IMPLIB:build\temp.win32-3.3\Release\code\hg-repos\reportlab\src\rl_addons\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> this doesn't happen if I run the installed Python-3.3 directly eg > (tpy33) C:\code\hg-repos\reportlab>tpy33\Scripts\deactivate.bat > C:\code\hg-repos\reportlab>c:\python33\python setup.py build_ext > ################################################ ............ > Standard T1 font curves already downloaded > running build_ext > building 'reportlab.lib._rl_accel' extension > C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Ic:\python33\include - > Ic:\python33\include /TcC:\code\hg-repos\reportlab\src\rl_addons\rl_accel\_rl_accel.c /Fobuild\temp.win32-3.3\Release\co > de\hg-repos\reportlab\src\rl_addons\rl_accel\_rl_accel.obj > _rl_accel.c > C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:c:\python33\libs /LI > BPATH:c:\python33\PCbuild /EXPORT:PyInit__rl_accel build\temp.win32-3.3\Release\code\hg-repos\reportlab\src\rl_addons\rl > _accel\_rl_accel.obj /OUT:build\lib.win32-3.3\reportlab\lib\_rl_accel.pyd /IMPLIB:build\temp.win32-3.3\Release\code\hg-r > epos\reportlab\src\rl_addons\rl_accel\_rl_accel.lib /MANIFESTFILE:build\temp.win32-3.3\Release\code\hg-repos\reportlab\s > rc\rl_addons\rl_accel\_rl_accel.pyd.manifest > Creating library build\temp.win32-3.3\Release\code\hg-repos\reportlab\src\rl_addons\rl_accel\_rl_accel.lib and object > build\temp.win32-3.3\Release\code\hg-repos\reportlab\src\rl_addons\rl_accel\_rl_accel.exp is this a bug or some misconfiguration; should I be using virtualenv? -- Robin Becker
[toc] | [next] | [standalone]
| From | Marco Buttu <marco.buttu@gmail.com> |
|---|---|
| Date | 2013-10-14 18:01 +0200 |
| Message-ID | <525C155D.4050006@gmail.com> |
| In reply to | #56810 |
On 10/14/2013 05:17 PM, 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 This is my configuration file: $ cat myvenv/pyvenv.cfg home = /usr/local/bin include-system-site-packages = false version = 3.4.0 In this case (default), the site-package directory is not included in the PYTHONPATH. If you want to include it, set: include-system-site-packages = true -- Marco Buttu
[toc] | [prev] | [next] | [standalone]
| From | Robin Becker <robin@reportlab.com> |
|---|---|
| Date | 2013-10-14 17:35 +0100 |
| Message-ID | <mailman.1074.1381768565.18130.python-list@python.org> |
| In reply to | #56812 |
On 14/10/2013 17:01, Marco Buttu wrote: > On 10/14/2013 05:17 PM, 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 > > This is my configuration file: > > $ cat myvenv/pyvenv.cfg > home = /usr/local/bin > include-system-site-packages = false > version = 3.4.0 > > In this case (default), the site-package directory is not included in the > PYTHONPATH. If you want to include it, set: > > include-system-site-packages = true > > this has nothing to do with site-packages so far as I can tell. It seems that even if you have a compiler you need to copy the python-3.3\Libs folder into the environment so that distutils can set up the load command properly. -- Robin Becker
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web