473,657 Members | 2,376 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 "<interacti ve 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 1686
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+pythonwi n+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
3252
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 on similar function gives me a hint how it works or any sample code would be a great appreciation. Thanks in advance.
0
5671
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 black. http://www.personal.psu.edu/axg251/wc In the original external style sheet, I set the a:link, a:visited, a:active, and a:hover. That works fine. In the navigation page, I call a function for onclick - it sets the
3
1813
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 work as links. I assume this is a css problem (possibly the mouseovers). This happens on the off-line saved pages as well as on line.
4
26646
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, Jamie
31
3903
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: http://www.countryrode.com/sales/vespaline.php Note the tooltip when hovering the graphic as well. Personally, I have not seen these. Are they really needed? Do users care they are being directed off your site?
3
2640
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 and could use some help in fixing it. The problem is that I want the index to always highlight the link for the content which is currently being displayed on the right hand side of the page. This behaviour should be over and above the...
28
3215
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 returning an error code, they are not sent to the remote site - why bother, it wouldn't work! Since I have over 1000 external links, this allows me to locate the broken links that people see the most often and fix those first. Conventional link...
14
1976
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 just trying to do this in phases to understand what's going on. I'm getting an error (Object doesn't support this property or method) in IE and I can't figure out what I'm doing wrong. Can anyone tell me? if (navigator.appName == "Microsoft...
8
2438
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 to test the various free services out. I tried about 5 different link checkers on the test page I had , including Xenu and NetMechanic. I got 5 sets of identical results.
4
2406
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 me set up my question by providing skeleton code for two files: Here's a skeleton of "index.php": <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
0
8399
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
8312
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
8827
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...
0
8732
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8504
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
5632
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();...
0
4159
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4318
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1622
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.