Hi,
how can I build python modules on windows? I tried to build numarray[0]
using Microsoft Visual C++ 2003 Toolkit, but got the following error:
---
error: Python was built with version 7.1 of Visual Studio, and
extensions need to be built with the same version of the compiler, but
it isn't installed.
---
So do I need to buy Visual Studio 7.1 to be able to build python modules
on windows? That would explain why there are so few binary packages
available. If this is true, has the python community considerred
switching to compile the standard python distribution using the freely
available compiler from Microsoft?
Thanks in advance for any hints!
Markus
[0]: I do not need to install numarray, but find a decent way to package
and build self-made extensions and use numarray here as an example 2 2358
". <"@bag.python.o rg wrote: Hi,
how can I build python modules on windows? I tried to build numarray[0] using Microsoft Visual C++ 2003 Toolkit, but got the following error:
--- error: Python was built with version 7.1 of Visual Studio, and extensions need to be built with the same version of the compiler, but it isn't installed. ---
Are you sure you have setup the environment variables before you build?
Here is a reference: "Building Python Extensions with the MS Toolkit
Compiler" ( http://www.vrplumber.com/programming/mstoolkit/)
[snip]
--
Qiangning Hong
I'm usually annoyed by IDEs because, for instance, they don't use VIM
as an editor. Since I'm hooked to that, all IDEs I've used so far have
failed to impress me.
-- Sybren Stuvel @ c.l.python
Get Firefox!
<http://www.spreadfiref ox.com/?q=affiliates&a mp;id=67907& ;t=1>
Hi, how can I build python modules on windows? I tried to build numarray[0] using Microsoft Visual C++ 2003 Toolkit, but got the following error:
--- error: Python was built with version 7.1 of Visual Studio, and extensions need to be built with the same version of the compiler, but it isn't installed. ---
Are you sure you have setup the environment variables before you build?
Here is a reference: "Building Python Extensions with the MS Toolkit Compiler" (http://www.vrplumber.com/programming/mstoolkit/)
Thanks for the pointer. The page states at the beginning:
"Note that this document represents the findings of a very limited set
of tests with what is essentially an unsupported approach to building
extensions. You should expect to find bugs. No warranty is made that
the approach outlined is safe or appropriate."
This raises the question: What is the 'supported' way of building
extensions on Windows? Do I need Visual Studio for that?
Thanks in advance,
Markus This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Bren |
last post by:
Hi,
Pardon my stupid, but I'm having a problem building Boost.Python as
per the instructions at
http://www.boost.org/libs/python/doc/building.html
I got boost-build-2.0-m6.zip from sourceforge and build bjam.exe.
I've tried several ways:
|
by: Phil Frost |
last post by:
Greetings all. I'm attempting to embed a python interpreter at a very
low level in an OS I am writing. Currently I'm stuck with build issues.
Firstly, as there is no working C compiler in our OS, I must cross
compile Python. I encountered errors when building Parser/pgen; I got
around this by building it nativly and copying it. Hopefully this won't
get me later...
My current problem (and there are sure to be more ;) ) is when building...
|
by: mudd |
last post by:
How do I build Python so that I get static libraries instead of dynamic
libraries (e.g. build/lib.solaris-2.8-sun4u-2.3/math.so)?
John
|
by: Giovanni Bajo |
last post by:
Hello,
python24.dll is much bigger than python23.dll. This was discussed already on
the newsgroup, see the thread starting here:
http://mail.python.org/pipermail/python-list/2004-July/229096.html
I don't think I fully understand the reason why additional .pyd modules were
built into the .dll. OTOH, this does not help anyone, since:
- Normal users don't care about the size of the pythonXX.dll, or the number of
|
by: Micheal.LeVine |
last post by:
I have not succeeded to build Python 2.4.2 from the source distn for
Cygwin on XP (cygwin1.dll version 1005.7.0.0, Cygwin POSIX Emulation
DLL).
I have applied the "bandaid solution" in README,
../configure --with-threads=no
and edited the resulting Modules/Setup file for SSL.
| |
by: Larry Hastings |
last post by:
I'm an indie shareware Windows game developer. In indie shareware
game development, download size is terribly important; conventional
wisdom holds that--even today--your download should be 5MB or less.
I'd like to use Python in my games. However, python24.dll is 1.86MB,
and zips down to 877k. I can't afford to devote 1/6 of my download
to just the scripting interpreter; I've got music, and textures, and
my own crappy code to ship.
...
|
by: Akira Kitada |
last post by:
Hi list,
I was trying to build Python 2.6 on FreeBSD 4.11 and found it failed
to build some of the modules.
"""
Failed to find the necessary bits to build these modules:
_bsddb _sqlite3 _tkinter
gdbm linuxaudiodev spwd
sunaudiodev
|
by: Akira Kitada |
last post by:
Hi Marc-Andre,
Thanks for the suggestion.
I opened a ticket for this issue: http://bugs.python.org/issue4204
Now I understand the state of the multiprocessing module,
but it's too bad to see math, mmap and readline modules, that worked
fine before,
cannot be built anymore.
|
by: M.-A. Lemburg |
last post by:
On 2008-10-25 20:19, Akira Kitada wrote:
Thanks.
The errors you are getting appear to be related to either some
missing header files or a missing symbol definition to enable
these - looking at the ticket, you seem to have resolved all
this already :-)
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |