473,387 Members | 1,619 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

How to link different site-packages to different Python?

Hi all,

I have Python 2.4 and 2.5 in my PC. And PythonWin is installed as IDE.

When I tried to use site-packages "Numpy", I installed the both
version (i.e. for 2.4 and 2.5).

Python 2.4 and Numpy for it work together well.

But when I type "from numpy import *" in Python 2.5. It throw out an
error indicate that the numpy library is link to Python 2.4 package?
How to fix this problem?
The error pasted below is copied from Python 2.5 PythonWin console:
Traceback (most recent call last):
File "<interactive input>", line 1, in <module>
File "C:\Program Files\nupic-1.4\lib\python2.4\site-packages\numpy
\__init__.py", line 39, in <module>
import core
File "C:\Program Files\nupic-1.4\lib\python2.4\site-packages\numpy
\core\__init__.py", line 5, in <module>
import multiarray
ImportError: Module use of python24.dll conflicts with this version of
Python.

Best regards,
Davy

Nov 9 '07 #1
2 1678
Davy wrote:
Hi all,

I have Python 2.4 and 2.5 in my PC. And PythonWin is installed as IDE.

When I tried to use site-packages "Numpy", I installed the both
version (i.e. for 2.4 and 2.5).

Python 2.4 and Numpy for it work together well.

But when I type "from numpy import *" in Python 2.5. It throw out an
error indicate that the numpy library is link to Python 2.4 package?
How to fix this problem?
Shouldn't occur if you properly installed python+pythonwin+numpy
from their respective installer once for each of python 2.4 and 2.5. You may use
the (Tools/Browse Pythonpath) and (Tools/Edit PythonPath) menu items in each of
Pythonwin 2.4 and 2.5 to sort things out. If your lazyness isn't caused by your
impatience, a possibility is to deinstall and then reinstall everything :)
Nov 9 '07 #2

"Boris Borcic" <bb*****@gmail.comwrote in message
news:47**********@news.bluewin.ch...

| If your lazyness isn't caused by your impatience,

Nov 10 '07 #3

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

Similar topics

2
by: work4u | last post by:
Hello Everyone, I am coding the reciprocal link exchange form which there is function to check if my site info and link already been add on the partner site page or not. Please anyone who works...
0
by: Andrea | last post by:
Hi everyone. I'm working on a navigation menu (in a frameset) that I want to set the "active" link to black (the link that corresponds to the page displayed in the right side of the frame) to...
3
by: Mason A. Clark | last post by:
This link is given in another thread: http://www.ccmeonline.org/agenda.html My Opera 7.23 in Windows XP will only show the links as black on gray. Not recognizable as links, although they...
4
by: Jamie Jackson | last post by:
I know that it's possible to return false in an onClick to disable a link. Is there a way to do this within the HREF attribute? Something like: <a href="javascript: return false;"> ? Thanks,...
31
by: TC | last post by:
I'm looking for opinions on ways to show visitors, your links will send them off-site (to another website). The following was suggested: Look at the three links under the third paragraph:...
3
by: Rhino | last post by:
Yesterday, I reworked the index on my site - http://sfl.london.on.ca - so that they used list markup and I'm quite pleased with them. However, I'm having a problem with one small aspect of the menu...
28
by: Craig Cockburn | last post by:
I have a tool which tells me the number of times that visitors attempt to access a link from my site to an external site and what the response code received was. In the event of the remote site...
14
by: hgraham | last post by:
Hi, I'm trying to understand how to work the dom, and all I'm trying to do is insert a link right before another link in the html based on it's href value. This isn't a real world example - I'm...
8
by: Steve | last post by:
Hi; I had a big link checking job to do and it has been years since I have done anything like that so I found a test page to use that I knew had bad links on it( a friends site ) and I decided...
4
by: henry | last post by:
Folks: As a follow-up to my recent posts, I want to ask some more general questions about multiple instances of a CSS link in a page as seen by browsers due to server-side file inclusion. Let...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.