Over 1 million tech questions and answers.

civ 4 python error

Q: civ 4 python error

FAILED INIT PYTHON...

i know it probably sound familiar but i cant get the addon--beyond the sword---for civ 4 to work....

the original game works fine with the crack and everything...but even after adding the crack to the installed beyondthesword directory it reads failed python...anyhting i can do to correct this?

Read other answers
RELEVANCY SCORE 200
Preferred Solution: civ 4 python error

I recommend downloading and running Reimage. It's a computer repair tool that has been proven to identify and fix many Windows problems with a high level of success.

I've used it in the past to identify and fix everything from blue screens (BSOD's), ActiveX errors, corrupt files and processes, dll/exe/sys errors, recover lost memory, Windows update problems, defragging, malware removal etc.

You can download it direct from this link http://downloadreimage.com/download.php. (This link will automatically start a download of Reimage that you can save to your computer.)

RELEVANCY SCORE 52.4

Porting Perl To Python.

Summary: Porting legacy Perl to Python can be a daunting task. In this article, learn some of the theory behind dealing with legacy code, including what not to do.Click to expand...

-- Tom
 

Read other answers
RELEVANCY SCORE 52

I'm trying to install a small application called researchmaster that is written in Python on Xubuntu x64. The installation directions consist of two steps:

1) ./setup.py
2) /usr/local/bin/researchmaster

The first step seemed to go fine. After the second command, part of the output was

line 19, in <module>
import wx,copy,types,filecmp,time
ImportError: No module named wx

I'm not sure if this error is my fault or if it reflects a problem with the software. I'm wondering if wx refers to wxPython, because I've had a rough time trying to figure out if that is installed on my machine or not. The Ubuntu Software Center has around a dozen listings with wxPython in the name/description, but nothing unambiguously labelled wxPython. I finally just installed something that listed the package as a dependency, hoping that it would be installed if it wasn't already.

Any ideas about what this error means?
 

Read other answers
RELEVANCY SCORE 52

I searched the forum and didn't see anyone else with the issue, hopefully someone can help me (and probably others) solve this!

I keep on getting this error at boot:
Title Bar: Fatal Error!
Error loading Python DLL:
C:\Users\Gordie\AppData\Local\Temp\_MEI42162\python26.dll (error code 5)

I think it has to do with Google Drive loading at boot and trying to utilize some Python library. I happened at a Fresh install and stops when I uninstall Google Drive. I am thinking that it is some sort of permission error since Windows 8 seems to have tried to idiot proof a lot of the security settings, but has caused weird errors elsewhere.

I've attached a screenshot of the error, for what it's worth, and hopefully someone can help. I have ignored it up until now...but it's annoying me a lot now lol!

Thanks!
Gordie

Basic Machine Info:

Lenovo Z570
Intel Core i7
8GB Ram
Windows 8 Professional

A:Error loading Python DLL

IMO nothing should be loading out of a Temp directory. What happens when you clean out the Temp files?





C:\Users\Gordie\AppData\Local\Temp\_MEI42162\python26.dll (error code 5)



I tend to suspect malware, but have never been impressed by Google's use of non-standard directories.
I've also had issues with driver signing on some Google apps in Win8 (particularly GBridge) - so I wonder if something like this is indirectly causing your issues.

Please provide this information so we can provide a complete analysis (even though you're not reporting BSOD's): https://www.eightforums.com/bsod-cra...tructions.html

Please scan the system with several independent scans to ensure that this isn't malware related. Here's a link to some free online scanners (and other methods): Free Online AntiMalware Resources

Read other 1 answers
RELEVANCY SCORE 52

wasn't sure where to post... please move it if this is not the right place

At the start of windows an error window appear saying:
"Error loading Python DLL: c:\use\admin\appdata\local\temp\_mei42443\python27.dll
(error code 5)"
Also when ever i want to install something a similar error appera and the installation is shut down.

I found people asking about similar problems but their solutions never worked for my case.
Thanks for helping

A:error loading python DLL

Loading Python DLL from a temp folder is not normal. I would type MSCONFIG into the start menu and disable anything that looks suspicious. Then restart and use a Malwate scanner e.g. Malware Bytes Anti Malware (Free)

Read other 8 answers
RELEVANCY SCORE 52

For the past couple of months when I turn on the G50 I get this error script message: cx-Freeze Python error in main script. The script has a paragraph of information that I don't understand. I have conduducted a scan from  my anti-virus which says that there are no viruses on the computer.  In addition, my Internet connection keeps going out.  I don't know if these issues are related or not.Can anyone tell me what this error is and what does it mean?  And what can I do about it? Thanks 

Read other answers
RELEVANCY SCORE 52

def vat():
z=input("enter the price of the product")
u=input("enter the vat percentage")
d=u/100*z
t=z+d
print ("the total price of the product is"+str(t))
In the above program in line 4, it supposes u/100 to 0 instead of 0.(something).What can i do to get rid of this problem.. please help I want answer to be in decimal
 

Read other answers
RELEVANCY SCORE 51.2

I am no good at this prgram my High School Physics teacher makes us do this a lot

A:Python sytax error problem

Error im getting:


Code:
Traceback (most recent call last):
File "C:\Users\koti\Desktop\wm3con-master\wm3con-master\wm3con.py", line 277,
in <module>
sys.exit(main())
File "C:\Users\koti\Desktop\wm3con-master\wm3con-master\wm3con.py", line 274,
in main
return curses.wrapper(app.run_curses_app)
File "C:\Python32\lib\curses\wrapper.py", line 43, in wrapper
return func(stdscr, *args, **kwds)
File "C:\Users\koti\Desktop\wm3con-master\wm3con-master\wm3con.py", line 230,
in run_curses_app
m.set_data(self.data)
File "C:\Users\koti\Desktop\wm3con-master\wm3con-master\wm3con.py", line 114,
in set_data
dets = data.get('detections', [])
AttributeError: 'NoneType' object has no attribute 'get'

Read other 1 answers
RELEVANCY SCORE 51.2

Hello sevenforums,

I have been having a BSOD problem on my Asus laptop running Windows 7, processor is core-i5. The BSOD occurs somewhat randomly when attempting to run python scripts using VIDLE for Python 2.7. The problem usually occurs after around 2 - 10 times of running a script, and it does not depend whatsoever on the contents of the script, as I have seen it BSOD while running a completely blank script. The BSOD does not seem to happen during any other activity on the computer (which is mostly using the internet, some other Physics related programs, and some games).

The error code is 0x000000f4, and BlueScreenViewer is telling me that the likely culprits are discache.sys and ntoskrnl.dll. I've attached my SF Diagnostic Tool log.

Any help would be greatly appreciated.
Thanks

A:BSOD Using Python 2.7, error 0x000000f4

Hello Frey.

Free up the startup. Windows does not need any other program to auto start with it, but the auto start programs often conflicts and causes various problems including BSODs.
Click on the Start button
Type “msconfig (without quotes), click the resulting link. It will open the System Configuration window.
Select the “Startup” tab.
Deselect all items other than the antivirus and the touchpad driver, SynTPEnh.
Apply > OK
Accept then restart.
Get rid of intel rapid storage. First uninstall it from Control Panel > Programs and Features. Then Uninstall the driver from device manager.
Right click on "my computer" icon and click "manage" on the context menu.
It will open the "computer management" window.
Select "Device Manager" in the left pane, It will list all the existing devices up.
Expand "IDE ATA/ATAPI controllers" by clicking on the triangle in front of it.
Select one Intel device item under it, right click, uninstall.
Continue the process for all Intel items under "IDE ATA/ATAPI controllers"
Now restart the computer. At restart, windows will auto configure the appropriate native system driver.
Seatool for dos: SeaTools | Seagate download
Burn it in a blank cd. boot from the CD, click on "Accept", wait for it to finish detecting the drives, then in the upper left corner select "Basic Tests", then select "Long Test" and let it run.
Post a screen... Read more

Read other 7 answers
RELEVANCY SCORE 50.4

When I am trying to start python they gives one error the error is ms.ap.dll missing try to reinstall application what should I do now?
 

Read other answers
RELEVANCY SCORE 39.6
Q: Python?

Is anyone here versed in Python? My son is into programming and already is very knowledgeable in several programming languages but is just learning, on his own, Python. I'm sure he would like to become acquainted with anyone who is already fairly fluent in this new language. TIA.
 

Read other answers
RELEVANCY SCORE 39.6

Am writing a program which simulates the action of an atm machine and I need it to end when option "c" is chosen. How exactly cn I do this, the only ways i can think of are...rubbish...
 

A:Python atm

Hi eventide,

Perhaps this link will help which is the result of searching for case statement here.

I assume you can structure your input options in a case statement - one of which would be 'c' to switch to in the proper Python syntax, of course.

-- Tom
 

Read other 1 answers
RELEVANCY SCORE 39.6
Q: python

Hi
can any one please tell me how to compile a python source code into a standart .exe file
 

A:python

http://www.py2exe.org/
 

Read other 2 answers
RELEVANCY SCORE 39.6

What are the uses of Python in Software Development?
 

Read other answers
RELEVANCY SCORE 39.6
Q: python

Does anyone know what python 2.2 combined win32 extensions is?
Do I need it on my pc?
I just noticed it about a week ago.
Thanks

A:python

Hello dee1-2-3 and welcome to BC.What is Python?Python is an interpreted, interactive, object-oriented programming language. It is often compared to Tcl, Perl, Scheme or Java.Python combines remarkable power with very clear syntax. It has modules, classes, exceptions, very high level dynamic data types, and dynamic typing. There are interfaces to many system calls and libraries, as well as to various windowing systems (X11, Motif, Tk, Mac, MFC). New built-in modules are easily written in C or C++. Python is also usable as an extension language for applications that need a programmable interface.Unless you are doing some programming..............

Read other 1 answers
RELEVANCY SCORE 39.6

i am trying to learn python not sure if its loaded properly on my pc any one as any detail instruction for win7 installation
 

A:python and win 7

If you're using ActivePython, the installer should have everything configured for you. You will, of course, want to read the accompanying documentation for how to run your python scripts.
 

Read other 1 answers
RELEVANCY SCORE 39.6

And is it something I need or just another security and privacy risk HP put on my computer>
 

A:What is Python>

Read other 8 answers
RELEVANCY SCORE 39.6

How does PHP compare with Python and witch one is better to learn for future use?
 

A:PHP vs Python

Read other 6 answers
RELEVANCY SCORE 39.6

I am having trouble running pip. It is supposed to come installed with python, but my computer doesn't recognize it. I try installing it, but get an error message. Could it have something to do with running 32 bit python on a 64 bit computer? I have version 3.6 python.
 

Read other answers
RELEVANCY SCORE 39.6

Is this a necessary software for windows XP?...Trying to clean up my HD..Don't even know how it got on my system..
 

A:Python 2.2.3?

Python is a programming language and not absolutely necessary unless you have programs installed that need Python in order to run.
 

Read other 1 answers
RELEVANCY SCORE 39.6

Does anybody know what that is? (Python 22)

It is a sizable prog. and is in the start up line.
when I do a search for it , I can not find anything ??
I tried google for info , no luck there.
accept one site that said "send me $$ and I will tell you"

Well I have a few words for them.
thanks to anybody who can help.
 

A:Python 22 ??

See if this helps: http://www.python.org/doc/faq/installed/
 

Read other 2 answers
RELEVANCY SCORE 39.2

I am not able to install python on my windows 8.1 64x bit. Check the image for the system error message shown please help fast.... Thanks in advance....
 

Read other answers
RELEVANCY SCORE 39.2

I downloaded Python for the first time today and went to start compiling a code but when I did, it said there was a Syntax error. it highlighted the "2" in "3.2" at the top of IDLE. I tried deleting the 2 but it did the same thing and highlighted the "." after the "3" instead. Same thing when I tried Python 2.7. Both versions were the Windows x86 MSI Installer. Any ideas?
 

A:Can't get Python to work

Read other 10 answers
RELEVANCY SCORE 39.2

After two years break I tried to restart a Python/Excel program that ran ok then. The first lines of my Python code reads

import win32com.client, sys, os
excel = win32com.client.Dispatch.client.Dispatch('Excel.Application')
excel.Visible = 1

When I try to run it I get the error

ImportError: No module named win32com.client

How can I find the modul again?
I am using Python 2.5.1.

// Willy

A:Python/Excel

Hello and welcome to the forum.

I am very sorry for the delay, we have been very busy lately.

Please try this:

Python for Windows extensions | Download Python for Windows extensions software for free at SourceForge.net

Read other 1 answers
RELEVANCY SCORE 39.2

Hello everybody,
I'm sure everybody here knows some Scripting language and have working knowledge. I need help with getting started to learn but i want to start with some project wide enough to help learn the language and understand the concpets of python. There are some other scripting languages i know about, for eg: perl, php but i'm interested in this one..dont know why???
Need help of someone who is actively working on it or has worked in the past and can throw some pointers here to get started.
I dont like the idea of reading pages and pages and then impementing something. The other way round is a much faster and better way.

Please post your replies soon... Thanks a lot!!
 

Read other answers
RELEVANCY SCORE 39.2

Does anybody know a good Python starting book. I know a little C, but a beginners book would be good.

Thanks
 

A:Python Book

Read other 8 answers
RELEVANCY SCORE 39.2

I have just started learning Python and like it a lot, but all that seems to exist to use it is the interpreter. I'd like to be able to compile things written with it into stand-alone Windows executables... does anyone know of any way to do this?
 

A:Python Compiler (?)

http://www.python.org/doc/current/lib/compiler.html
 

Read other 3 answers
RELEVANCY SCORE 39.2

Hi,

I have two versions of python installed:

c:\Python26_x64
c:\Python27_x64

The c:\Python27_x64 is in %path% and there's nothing in the 'set' command that mentions 26. When I run python from cmd.exe the 27 version is executed as expected. On the other hand, when I run python from win+R the 26 version is run. The path (when directed into a file) in both cmd.exe and win+R is the same.
Any ideas?

Thanks,
Zohar

A:Different python is executed in cmd and win+R

Perhaps the 26 has an entry in the Prefetch folder? Try opening an Admin command prompt. Change directory (CD) to C:\Windows\Pefetch assuming Windows is installed on drive C:, then do "del *.*" and hit Enter. ( Make sure you are in C:\Windows\Prefetch before you delete all files!!! )

Try the Win+r and see if it does the same thing anyway. If it does, my theory is wrong.

Read other 3 answers
RELEVANCY SCORE 39.2

Python multiprocessing.

Oskar Andreasson (yes that Oskar Andreasson) explores using the language Python in a multiprocessing context - good stuff to fill your brain with if you are interested in multiprocessing!

-- Tom
 

Read other answers
RELEVANCY SCORE 39.2

I need to get Python for one of my classes and I was about to download it, when I came across Python source... What is it? I realize Python is open source, but can't figure out what is a Python source. I have Win7 64-bit and the warning notice next to the 64-bit download said that "it doesn't include source"...
I also need IDLE, so would that be a problem? Or should I just download the first, normal Windows installer?
Thanks
 

A:What is Python source?

Hi wicked.ludicrous,

Since Python is a programming language, Python source is text containing Python statements in the programming language Python. See: Python (programming language).

For example: to execute a python source, one might issue the following command (in a Terminal command line window where $ is the command prompt) assuming that a Python interpreter executable is available on your computer:
$ sudo python check-my-hardware.py

The file check-my-hardware.py is the file containing python source statements interpreted by the python interpreter executable in root mode (via use the sudo) on a Linux platform. The python source code in check-my-hardware.py determines compatibility of a computer's BIOS with PAE and NX bit available memory.

-- Tom
 

Read other 2 answers
RELEVANCY SCORE 39.2

Hi all,

I've got Python v.2.4 that supposedly has an editor and I'm unable to find it.
Can anyone tell me how I would open the editor.

Thanks.
 

A:Python editor

Read other 9 answers
RELEVANCY SCORE 39.2

Hi, i just started my csc 102 course in college and it was supposed to be C++. Instead of that, we're going to be learning python which was never done before according to the professor. His explanation was that we could learn more of python in one introductory semester course than c++. I agree with his reasoning, but i'm still somewhat saddened since i always saw c++ as a kind of king in programming and was hoping for the course to give me a better push into the language that i could achieve by learning myself, since every time i start to learn alone, after a while i start playing games and don't come back to it. I was wondering if python could be used to make high quality game engines that don't lack in performance to c++ game engines from which( as far as i know) all the great engines come from such as the Unreal Tournament Engine and the Crysis Engine.
 

Read other answers
RELEVANCY SCORE 39.2

I ran a Secunia check to see if any of my applications needed updating, and it said that Python did. Since I'd never heard of it, I've been trying to research it. I know it was not deliberately installed, but don't know how it may have gotten installed (whether part of new HP system, or a particular application), and whether I should keep it. It doesn't show up in the list of Installed Programs.

Does anyone have more insight on this software?

A:How can I find out why I have Python?

Itunes, Realtek software, games?

Read other 3 answers
RELEVANCY SCORE 39.2

I'm developing some scripts on Win 10. But suddenly all the script failed due to it cannot invoke CMD on Win10.
Here is one example,
"
import os
os.system("cd .")
"
It is a very simple code that python to call CMD to execute "cd .".
But it always return "-1073740791".
And all my other projects such as Jenkins failed because of try to invoke CMD.
Could anyone help me on this?

Read other answers
RELEVANCY SCORE 39.2

Hi
i was wondering if any one can tell me what the difference is between c++ and python and wich one you would recogmend to a complete newbie to programming also how does one compile a python source code i tried to look at pythons site but cant make sense of the code i am utterly confused
 

A:nick the python

Read other 12 answers
RELEVANCY SCORE 39.2

I have a file which is created using C++ code. I'm parsing that file with python and I need to know the size of a struct that is the header of the file. Is there any way I can import the C or C++ code into my python code and call the C function sizeof()? Or is there a better way to do this?

More specifically, line 336 of this file
http://lxr.mozilla.org/mozilla1.8/source/netwerk/cache/src/nsDiskCacheMap.h
is the structure that I need the size of, but I honestly can't even fathom a way to get it from python. I can just assume little_endian is true (I think most platforms that run netscape & firefox are little endian??), which is not ideal, but I still wouldn't know how big that structure is...what's the sizeof() a function anyway--the same as the data type of the function plus all the sizes of the variables in it?

If anyone could help me out with this, I would really appreciate it. Thanks!
 

A:Python getting sizeof from C

Read other 6 answers
RELEVANCY SCORE 39.2

I am having trouble creating a program that allow customers to enter the insurance company name, annual premium and monthly (6% more) for insurance companies. The insurance company name, annual premium, monthly premium and how much more to pay if paid on monthly basis should be shown.
 

A:Programming Python

You have not provided us any code to help you with. Which part are you having problems with?
 

Read other 2 answers
RELEVANCY SCORE 39.2

I need to know what some of Pythons server/net commands are, since I can't find any good lists of commands anywhere.
So if anyone knows any, or if someone would like to write me a simple server engine, I would be very happy.
 

Read other answers
RELEVANCY SCORE 39.2

I want to buy a book on programming, but I cant decide between learning Ruby or Python. Which one is better to learn first? Which one is easier for someone who does not program, but has a good concept of how it works?

Please Visual Basic & Java people, try to stay with the topic
 

A:Ruby or Python which one is better?

Read other 8 answers
RELEVANCY SCORE 39.2

I can't install any version of Python onto my laptop; I am getting the error message: "This installation package could not be opened. Contact the application vendor to verify that this is a valid Windows Installer package." My laptop is 64-bit, but any version of Python would be fine - I.e. Python 3.3.4 or Python 2.7.6 - I just need it installed!!! Thank you!
 

A:I can't install Python

emmy11 said:





I can't install any version of Python onto my laptop; I am getting the error message: "This installation package could not be opened. Contact the application vendor to verify that this is a valid Windows Installer package." My laptop is 64-bit, but any version of Python would be fine - I.e. Python 3.3.4 or Python 2.7.6 - I just need it installed!!! Thank you! Click to expand...

64 bit but what OS?
 

Read other 2 answers
RELEVANCY SCORE 39.2

Hello! I am learning Python, and I think I know enough of it to make a simple computer game. I do not want to do something too elaborate, but something along the lines of Pac Man, or any of those old 'retro' games with the 1981 arcade game graphics (The kind that remind you of 'River Raid', 'Pong', and 'Space Invaders'. Anyway, what kind of tools do I need to do this? Help is appreciated!

--maxim
 

Read other answers
RELEVANCY SCORE 39.2

Hello,

I was trying to update my Python version yesterday, from 2.3 to 2.7. However, when I had finished installing 2.7, I was unable to open IPython. When I right-click a folder and click "IPython here" a window opened and I was redirected to a command prompt window. I uninstalled all Python after that and tried reinstalling, but had no success in getting IPython working.

If you have any insight into what's going on and how I can remedy the issue, please let me know.
 

Read other answers
RELEVANCY SCORE 39.2

Can someone explain to me how i can create clickable links within my wxpython program? i cant seem to find anythin to help me.

Thanx
 

Read other answers
RELEVANCY SCORE 39.2

I am trying to use some Python functions from C, using Dev C++ compiler. However, everything I try does not work, as it gives me a compiler and linker error, every time I try to compile the C code. Any input or help would be much appreciated. Thanks -Fabez-
 

A:C \ Python Interface

Read other 7 answers
RELEVANCY SCORE 39.2

I have to use python for my uni course. Last week it stopped working, gave an error code but doesn't give it now. I have tried to unistall, repair and reinstall it again. A progress bar appears gets to about 25% and then freezes and slows my whole computer down. I also tried to delete the files from the C drive as well this also didn't work.

Any help greatly appreciated cheers.
 

Read other answers
RELEVANCY SCORE 39.2

I feel a bit trapped, because there doesn't seem to be a good version of Python for windows. I know there are some, but they aren't open source, and I kind of need that for the project I'm doing (not a project in Python, but rather a project for school.) So, are there any other simple programming languages that are free and open-source? And when I say simple, I mean kindergarten simple.
 

A:Python For Windows

Read other 7 answers