473,841 Members | 1,849 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

install wxPython

Hi,

I have a problem to install wxPython on my MacBook (Pythonversion 2.5).
If would install the wxPython (python setup.py install), then I got
this error:

Traceback (most recent call last):
File "/Users/marco/Desktop/flexo1/wxpython/wxPython-src-2.8.3.0/
wxPython/setup.py", line 49, in <module>
copy_file('conf ig.py', 'wx/build', update=1, verbose=1)
File "/Users/marco/python//lib/python2.5/distutils/file_util.py",
line 119, in copy_file
"can't copy '%s': doesn't exist or not a regular file" % src
distutils.error s.DistutilsFile Error: can't copy 'config.py': doesn't
exist or not a regular file

Where is the problem and how could i fix it?

Thx for your answers.
marco

Apr 9 '07 #1
2 2912
On Apr 9, 3:20 pm, Marco <king_of_bellm. ..@bluewin.chwr ote:
Hi,

I have a problem to install wxPython on my MacBook (Pythonversion 2.5).
If would install the wxPython (python setup.py install), then I got
this error:

Traceback (most recent call last):
File "/Users/marco/Desktop/flexo1/wxpython/wxPython-src-2.8.3.0/
wxPython/setup.py", line 49, in <module>
copy_file('conf ig.py', 'wx/build', update=1, verbose=1)
File "/Users/marco/python//lib/python2.5/distutils/file_util.py",
line 119, in copy_file
"can't copy '%s': doesn't exist or not a regular file" % src
distutils.error s.DistutilsFile Error: can't copy 'config.py': doesn't
exist or not a regular file

Where is the problem and how could i fix it?

Thx for your answers.
marco
You need to post this problem to the wxPython user's group at:
http://wxpython.org/maillist.php

There are a number of Mac users there that should be able to help you.

Mike

Apr 10 '07 #2
On Apr 9, 2:20 pm, Marco <king_of_bellm. ..@bluewin.chwr ote:
Hi,

I have a problem to install wxPython on my MacBook (Pythonversion 2.5).
If would install the wxPython (python setup.py install), then I got
this error:

Traceback (most recent call last):
File "/Users/marco/Desktop/flexo1/wxpython/wxPython-src-2.8.3.0/
wxPython/setup.py", line 49, in <module>
copy_file('conf ig.py', 'wx/build', update=1, verbose=1)
File "/Users/marco/python//lib/python2.5/distutils/file_util.py",
line 119, in copy_file
"can't copy '%s': doesn't exist or not a regular file" % src
distutils.error s.DistutilsFile Error: can't copy 'config.py': doesn't
exist or not a regular file

Where is the problem and how could i fix it?

Thx for your answers.
marco
I just installed wxPython successfully on an imac. My imac came with
python 2.3.5 pre-installed along with some version of wxPython--I was
able to run a hello world wxPython program by typing:

$ pythonw wxHelloWorld.py

First, I installed a "framework" build of a newer version of python(I
chose 2.4.4 since the download said it has more modules for macs).
The download was called:

python-2.4.4-macosx2006-10-18.dmg

The new python version was automatically installed in /Applications/
MacPython2.4/. Then I downloaded the wxPython version for Macs with
python version 2.4. It was called:

wxPython2.8-osx-unicode-2.8.3.0-universal10.4-py2.4.dmg.

Apr 11 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1316
by: Russell Reagan | last post by:
I installed wxPython 2.4.2.4 from the prebuilt binary for Windows. I am using the Cygwin version of Python 2.3.2. After installing wxPython, I ran the minimal window script: http://www.wxpython.org/test1.py.html That script gave this output: $ ./wxtest.py Traceback (most recent call last): File "./wxtest.py", line 20, in ? from wxPython.wx import *
2
1677
by: Christopher Barker | last post by:
HI all, I'd like to be able to use distutils to install a package within the wxPython package: wx.lib.MyPackage I want to be able to do this so folks can upgrade a package of mine that is in the wxPython library, without changing it's location.
1
2991
by: James Stroud | last post by:
Hello All, I will soon have an excuse to install a new operating system on my computer. I would like to know exactly what operating system I should have so that I can get wxPython going. wxPython is my only hold-out on my current system. wxPython seems to need gnome. So I have tried to build garnome and it didn't build all the way..and, well, I've tried so many things trying to get wxPython built that I really don't care to relive the...
0
1384
by: Leo Jay | last post by:
Dear All, I'd like to install wxPython in my Redhat AS 4, I have downloaded both wxPython-common-gtk2-unicode-2.6.1.0-fc2_py2.4.i386.rpm and wxPython2.6-gtk2-unicode-2.6.1.0-fc2_py2.4.i386.rpm packages from www.wxpython.org. After I installed these two packages successfully, what should i do now?
0
1153
by: zjumty | last post by:
I want to install wxPython 2.6 on Solaris10 x86. I have passed "make install", and want to execute python setup.py install. but i got some problems. first i run "python setup.py install",and i got the following: unable to execute cc: No such file or directory error: command 'cc' failed with exit status 1 so, it seams no cc in my solaris10.
0
1252
by: DarkBlue | last post by:
Trying to install wxPython on Suse10.1 64 with gcc4.1.0 and get wxPython-src-2.6.3.2/wxPython # python setup.py install Found wx-config: /usr/local/bin/wx-config Using flags: --toolkit=gtk2 --unicode=no --version=2.6 Preparing CORE... Preparing GLCANVAS... Preparing STC... Preparing GIZMOS... Preparing ANIMATE...
4
3189
by: kkt49 | last post by:
# vim: et sw=4 ts=8 sts from wxPython.wx import * import sys, os, time import pywintypes import win32serviceutil import win32service import win32event import win32process
5
4476
by: blaine | last post by:
The wxPython group is a bit stale compared to this group, so I'll give it a shot :) (READ: Originally when I started htis post, Python 2.5 at the shell did not work (identical behavior to eclipse). I'm not sure why, but it has since worked fine with no problems. Not sure whats going on there... I didn't change anything. Anyways...) Ok so I am having this problem. I am using OS X 10.4. I use MacPython and installed wxPython a few...
2
4254
by: timw.google | last post by:
The subject line says it all. Is there a way to install wxPython on a Windows machine without admin privs? I love the way python doesn't need admin to install locally, and I'd like to try wxPython w/o having to get our help desk involved. Do I have to compile it from source with Cygwin? Thanks.
0
9865
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9708
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,...
0
10932
Oralloy
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...
1
10668
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10303
tracyyun
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...
0
9446
agi2029
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...
0
5881
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4083
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3140
bsmnconsultancy
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.