[eispice] Re: error invalid python installation
- From: Charles Eidsness <charles@xxxxxxxxxxxxxxxxxxxxx>
- To: eispice@xxxxxxxxxxxxx
- Date: Mon, 06 Apr 2009 18:42:34 -0400
Hi Howard,
It might be related to SELinux, you could try out what this link suggests:
http://www.archiware.com/support/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=58&nav=0,8
Let me know how it goes,
Charles
Howard Hansen wrote:
> Hi Charles,
>
> The following is a corrected version of the error message I get when
> importing eispice. It corrects a few typing mistakes I made in an
> earlier message.
>
> [root@Goldfinch eispice-0.11.6]# python
> Python 2.5.2 (r252:60911, Sep 30 2008, 15:41:38)
> [GCC 4.3.2 20080917 (Red Hat 4.3.2-4)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import eispice
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/usr/lib/python2.5/site-packages/eispice/__init__.py", line 52,
> in <module>
> from simulator_ import about, logFile, errorFile
> ImportError: /usr/lib/python2.5/site-packages/eispice/simulator_.so:
> cannot restore segment prot after reloc: Permission denied
> >>>
>
> I hope this helps you.
>
> Howard
>
> Charles Eidsness wrote:
>> Hi Howard,
>>
>> Did you run "make install", it should copy the files accordingly. If you did
>> you
>> could try running it as a super-user, with sudo, or the Fedora equivalent.
>> (I'm
>> an Ubuntu user and I'm not sure how to switch to super-user in Fedora).
>>
>> Cheers,
>> Charles
>>
>> Howard Hansen wrote:
>>
>>> Hi Charles
>>> Some progress. I have gotten to the point where I have had some success
>>> with "import eispice" by running python from within the "module"
>>> folder. However, now I get the following error.
>>> ./simulator_.so can not restore segment root after reloc. permission
>>> denied.
>>> Do you have a recommendation for fixing this error? Also I would like
>>> to move the contents of the "module" folder to the python lib folder.
>>> So far I have not been able to identify the location of the python lib
>>> folder. Do you have any suggestions as to where the python lib folder
>>> is located in linux.
>>>
>>> Thanking you for your help, Howard
>>>
>>> Charles Eidsness wrote:
>>>
>>>> Hi Howard,
>>>>
>>>> Try installing the Python Development Package with a:
>>>> yum -y install python-devel
>>>>
>>>> Let me know how it goes,
>>>> Cheers,
>>>> Charles
>>>>
>>>>
>>>> Howard Hansen wrote:
>>>>
>>>>
>>>>> When trying to install eispice-0.11.6 on Fedora 10 I get the following
>>>>> error message.
>>>>> "error: invalid python installation:: unable to open
>>>>> /usr/lib/python2.5/config/Makefile no such file or directory.
>>>>> no such file or directory"
>>>>>
>>>>> Yes, I do have Python2.5 installed on my computer. When I checked the
>>>>> path I could not find a config subdirectory at the end of the
>>>>> /usr/lib/python2.5/ path.
>>>>>
>>>>> What should I do to fix this problem?
>>>>>
>>>>> Howard
>>>>> ------------------------------------------------------------------
>>>>> To unsubscribe from the eispice list send an email to:
>>>>> eispice-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field
>>>>>
>>>>>
>>>>>
>>>> ------------------------------------------------------------------
>>>> To unsubscribe from the eispice list send an email to:
>>>> eispice-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field
>>>>
>>>>
>>>>
>>> ------------------------------------------------------------------
>>> To unsubscribe from the eispice list send an email to:
>>> eispice-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field
>>>
>>>
>> ------------------------------------------------------------------
>> To unsubscribe from the eispice list send an email to:
>> eispice-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field
>>
>>
>
> ------------------------------------------------------------------
> To unsubscribe from the eispice list send an email to:
> eispice-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field
>
------------------------------------------------------------------
To unsubscribe from the eispice list send an email to:
eispice-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field
Other related posts: