OSX 10.7.4 / Python / what's preinstalled and how to call it?
I'm ready to upgrade from scraperwiki to running Python on my own machine, for purposes of webscraping for journalism. Which is exciting but difficult for the likes of me.
Is Python & a bunch of libraries already on my mahine?
usr/lib has a lot of promising-looking items listed, like python2.7 and about 50 files ending in .dylib.
usr/lib/python2.7 has another 50 or so files ending in .pyc and .pyo
So, if so, how do I call my_script.py? Where to save it, how to call it? Where to install Python modules(?)/libraries(?) like mechanize or beautifulsoup?
hmmm ....
thanks much!!
Turns out Python is called at usr/local/bin/pythonw
but libraries are at:
Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/
and a few familiar things are there like HTML Tidy and mechanize:
easy_install pytidylib
There is a bunch of stuff in there, a bunch of modules/libraries I guess.
Thanks!!
Similar Messages
-
Can l upgrade from Mac OSX 10.4.11 to what?? and how
AND HOW
Looks like you are good for Snow Leopard = OS X 10.6.x
It is Not available as a download... It is a Paid Upgrade.
But first...
Check that your Mac meets the System Requirements for Snow Leopard...
Snow Leopard Tech Specs
http://support.apple.com/kb/SP575
If so... Purchase a Snow Leopard Install Disc...
http://store.apple.com/us/product/MC573Z/A/mac-os-x-106-snow-leopard
Other countries...
http://support.apple.com/kb/HE57
After the Successful Install, run Software Update to get the latest updates for Snow Leopard.
Be sure to make a Backup of your Current System Before Upgrading...
You should also consider more RAM... Get the Maximum you can for your Mac...
It is important to get the Correct and Matching RAM
See Here > OWC RAM > http://www.macsales.com
Check the Requirements for Mountain Lion Here...
Upgrade to Mountain Lion
If you decide to Upgrade past Snow Leopard...
Check here for compatibility of 3rd party Software you may be using...
http://roaringapps.com/apps:table -
An attempt to install Adobe reader X on my Mac OS 10.5.8 failed, with this message: "Run preinstall script for application." What is that, and how do I do it?
Hi renmusn79002737,
Could you please try installing Reader again from the below mentioned link:
http://get.adobe.com/reader
Ensure that you are logged in as administrator and anti-virus is disabled as that might interrupt downloading.
Try again and then let me know.
Regards,
Anubha -
I have a MacBook Pro with Lion Preinstalled, so AHT was present on the hard disc and worked when the product was new. One of the first things I did from new was run AHT and it worked fine. But now it doesn't start - instead the machine (eventually) boots into normal OS X.
Holding down "D" no longer starts Apple Hardware Test! Any idea what's happened and how I fix it? Or do I need to go to the Genius Bar?
Software Mac OS X Lion 10.7.3 (11D50b), if it makes any difference.
Any ideas?Thanks. However, even with an internet connection that doesn't work for me - the machine just (after an extended delay) boots normally. It doesn't download.
Option-D works for an Internet-based AHT. However that only works with an internet connection. It doesn't seem to download it and install it - it needs internet every time.
Any idea how my local copy of AHT disappeared? I haven't repartitioned the drive or knowingly deleted anything. And how do I reinstate it (because if you need AHT your hardware problems may preclude internet access!)? -
When sharing a project I get "frame 72938 (error -1)." and the sharing is stopped. What is this and how do I fix it. Thanks, Kerry
I have an iMac, Processor: 2.7 GHz Intel Core i5, memory: 8 GB 1333 MHz DDR3, OSX 10.7.5, FCPX 10.0.8. I have no third party plugins. First time responding to community. Forgive any protocol errors.
Been working on variety of work projects for months prior to update with no problems. Took time off for a simple new project after updating to 10.0.8. Finished this small (11 minute) new project that is a combination of video and stills, with a few titles and simple transitions. Plays fine within FCPX, however, ran into same problem that started this chain, ie cannot share/export without getting same error message stated above related to a faulty frame.
Tried several share/export Master File settings. Tried moving project (from within FCPX) to another drive which resulted in same error message, but related to other different frames. Tried replacing original data in affected frame with freshly exported replacement files using QTime. Same problem again. Was able to export to Compressor, but resulting ProRes 422 file was so jumpy it wasn't usable.
Tried suggestions of Mark M 98021 and Hank LV, ie, halting all rendering in preferences and deleting render files. After this, I was successful in sharing/exporting at will.
I have several other major projects that I am afraid to return to. I'm not an expert at the inner workings of FCPX and don't have time to keep dealing with this issue. I can leave rendering off, but not a satisfactory solution. Not sure if old rendered files might become infected.
It would seem that there is a problem in the update. I hope this is corrected so I can continue with my work. -
My 10.8.3 update did not install properly citing an 'Unknown Error'. Now, my Mail and Mac App Store aren't working. What went wrong and how do i fix it ?
I tried this and still have the same problems. If I open Address book or the Mac App Store I get the library rebuild popup and a hang. I created a fresh user and then things are better apart from the printing issue. Its clearly some 3rd party software issue but the crash logs are meningless to me. I used the excellent Etre check app from http://www.etresoft.com/etrecheck so I have a list of what is being loaded and can compare clean and crashed user info but as I cant work out which of the startup items, launch agents, launch daemons etc that are causing the problem.
I have eliminated Dropbox, Mac Keeper and Witness, and it isnt related to my exterrnal LED cinema dispay or my external thunderbolt drives, or any USB devices if thats any help to anyone else. Info from Etrecheck follows -
Kernel Extensions:
com.oxsemi.driver.OxsemiDeviceType00 Version: 1.28.7
com.rogueamoeba.InstantOn Version: 6.0.2
com.rogueamoeba.InstantOnCore Version: 6.0.2
com.Cycling74.driver.Soundflower Version: 1.5.3
Problem System Launch Daemons:
Problem System Launch Agents:
Launch Daemons:
[not loaded] com.adobe.fpsaud.plist
[not loaded] com.adobe.SwitchBoard.plist
[not loaded] com.bombich.ccc.plist
[not loaded] com.dymo.pnpd.plist
[not loaded] com.intego.BackupManagerPro.daemon.plist
[not loaded] com.micromat.TechToolProDaemon.plist
[not loaded] com.microsoft.office.licensing.helper.plist
[not loaded] com.orbicule.witnessd.plist
[not loaded] com.sierrawireless.SwitchTool.plist
[not loaded] com.stclairsoft.AppTamerAgent.plist
[not loaded] org.macosforge.xquartz.privileged_startx.plist
[not loaded] pcloudd.plist
Launch Agents:
[loaded] com.divx.dms.agent.plist
[loaded] com.divx.update.agent.plist
[loaded] com.epson.epw.agent.plist
[loaded] com.lacie.raidmonitor.daemon.plist
[loaded] com.lacie.safemanager.daemon.plist
[loaded] com.micromat.TechToolProAgent.plist
[loaded] com.orbicule.WitnessUserAgent.plist
[loaded] org.macosforge.xquartz.startx.plist
User Launch Agents:
[not loaded] .DS_Store
[loaded] com.adobe.AAM.Updater-1.0.plist
[loaded] com.adobe.ARM.202f4087f2bbde52e3ac2df389f53a4f123223c9cc56a8fd83a6f7ae.plist
[loaded] com.digitalrebellion.SoftwareUpdateAutoCheck.plist
[loaded] com.divx.agent.postinstall.plist
[loaded] com.google.keystone.agent.plist
[loaded] com.propaganda.dejavu.dvmonitor.plist
[loaded] com.valvesoftware.steamclean.plist
[loaded] com.zeobit.MacKeeper.Helper.plist
User Login Items:
iTunesHelper
Synergy
TomTomHOMERunner
Dropbox
3rd Party Preference Panes:
Déjà Vu
Flash Player
Flip4Mac WMV
GR-55
Paragon NTFS for Mac ® OS X
Perian
Printopia
TechTool Protection
Witness -
Installed the update tonight and now my phone (Lumia 928) won't power up. I've tried a soft reset, but the screen goes from the Nokia logo to a red Verizon screen to a black screen. Tried it 10 times with the same result. What's wrong and how do I fix it? Help!
Oh no Mr.Ected!
I can see if we can get your phone back on! I understand how important it is to have a phone. Have you tried this to see if we can get it back on? http://vz.to/1DZhteH . If it is still goes to a red Verizon screen and then to black we might need to do a master reset. While the phone is off try this:http://vz.to/1DZhXkU Be mindful this is the last resort because it will erase everything on the phone. If you have done back up assistant in the past you will be able to get you contacts back. Please let me know if you need any more help.
AmberF_VZW
Follow us on Twitter @VZWSupport -
Recently loaded Lion on my laptop and now my computer crashes often. Black screen and keyboard lights up. Any ideas on what's wrong and how to fix this?
Everytime this happens Ihave to power down and restart! Any ideas would be appreciated!
-
When i try to update my apps from the app store some of the apps wont update and ask for an Apple ID that isn't mine. Whats the problem and how do i fix it? All im trying to do is update my apps and its asking for these random apple ID's.
The apps were purchased by another user with a different Apple ID. You will have to erase them and repurchase them using your Apple ID.
-
Safari and calendar won't open due to 'calendar persistence plug- in problems'. Does anyone know what this means and how to resolve it please?
mac book pro with Mavericks 10.9.5Launch the Console application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
Step 1
For this step, the title of the Console window should be All Messages. If it isn't, select
SYSTEM LOG QUERIES ▹ All Messages
from the log list on the left. If you don't see that list, select
View ▹ Show Log List
from the menu bar at the top of the screen.
In the top right corner of the Console window, there's a search box labeled Filter. Initially the words "String Matching" are shown in that box. Enter the name of the crashed application or process. For example, if iTunes crashed, you would enter "iTunes" (without the quotes.)
Each message in the log begins with the date and time when it was entered. Select the messages from the time of the last crash, if any. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
☞ The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
Please don't indiscriminately dump thousands of lines from the log into this discussion.
Please don't post screenshots of log messages—post the text.
☞ Some private information, such as your name, may appear in the log. Anonymize before posting.
Step 2
In the Console window, select
DIAGNOSTIC AND USAGE INFORMATION ▹ User Diagnostic Reports
(not Diagnostic and Usage Messages) from the log list on the left. There is a disclosure triangle to the left of the list item. If the triangle is pointing to the right, click it so that it points down. You'll see a list of crash reports. The name of each report starts with the name of the process, and ends with ".crash". Select the most recent report related to the process in question. The contents of the report will appear on the right. Use copy and paste to post the entire contents—the text, not a screenshot.
I know the report is long, maybe several hundred lines. Please post all of it anyway.
If you don't see any reports listed, but you know there was a crash, you may have chosen Diagnostic and Usage Messages from the log list. Choose DIAGNOSTIC AND USAGE INFORMATION instead.
In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.)
Please don’t post other kinds of diagnostic report—they're very long and rarely helpful. -
I'm trying to create a new Apple ID but when I was putting on my information, there's a box asking for an ITunes gift code. What's this and how can I get one?
You're not obligated to insert a gift code. But you can purchase gift codes on the Apple online store (gift cards or certificates) or Apple Retail store
Gift codes are pre paid cards so you can use credit on the iTunes Store to purchase content
To create apple ID without payment method:
http://support.apple.com/kb/HT2534?viewlocale=pt_PT -
My Ipod is stuck with a picture of a USB chord with an arrow pointing to an itunes logo....what is this and how do I fix it? I did look at the "printers and devices" section on my computer. It shows an un identified "apple" device that is in "recovery mode" but that is. I tried to trouble shoot it there but no help....
Connect to iTunes on the computer you usually Sync with and “ Restore “...
http://support.apple.com/kb/HT1414
If necessary Place the Device into Recovery mode...
http://support.apple.com/kb/HT1808 -
when I try to make a new video, a window comes up that says,"The operation could not be completed," and then under it, it says,"No other information is available about the problem," what is happening and how do I fix it?
Hi
And without info - it's near to impossibly to help. Try my general troubleshooting note:
Troubleshooting note
When iMovie doesn't work as intended this can be due to a lot of reasons
iMovie Pref files got corrupted - trash it/they and iMovie makes new and error free one's
problem in iMovie Cache folder - trash Cache.mov and Cache.plist
Creating a new User-Account and log into this
This forces iMovie to create all pref. and cache files new and error free
Event or Project got corrupted - try to make a copy and repair
a Codec is used that doesn't work (even though iMovie and/or iDVD tries to / they fail in the end)
version miss match of QuickTime Player / iMovie / iDVD
preferences are wrong - Repair Preferences
other hard disk problem - Repair Hard Disk (Disk Util tool - but start Mac from ext HD or DVD)
External hard disks - MUST BE - Mac OS Extended (hfs) formatted to work with Video
( UNIX/DOS/FAT32/Mac OS Exchange - works for most other things - but not for Video )
USB-flash-memories - usually do not work
Net-work connected hard disks - usually do not work (most often not fast enough and WRONGLY FORMATTES as DOS etc)
iPhoto Library got problems - let iPhoto select another one or repair it. Re-build this first then try to re-start iMovie. When iMovie starts-up it first look trough this iPhoto library and if faulty it all Halt’s.
This You do by
First - close iPhoto
Secondly - on start up of iPhoto - Keep {cmd and alt-keys down}
Thirdly - now select all five options presented
THEN - WAIT a long long time (>20 hours are not strange)
free space on Start-Up (Mac OS) hard disk to low (<1Gb) - I never go under 25Gb free space for SD-Video (4-5 times more for HD)
external devices interferes - turn off Mac - disconnect all of them and - Start up again and re-try
GarageBand fix - start GB - play a few notes - Close it again and now try iMovie
Screen must be set to million-colors
Third-party plug-ins doesn't work OK
Run "Cache Out X", clear out all caches and restarts the Mac
Let Your Mac be turned on during one night. At about midnight there is a set of maintenance programs that runs and tidying up. This might help
Turn off Your Mac - and disconnect Mains - for about 20-30 minutes - at least this resets the FireWire port.
In QuickTime - DivX, 3ivx codec, Flip4Mac, Perian etc - might be problematic - temporarily move them out and re-try
(I deleted the file "3ivxVideoCodec.component" located in Mac HD/Library/Quicktime and this resolved my issue.)
buenrodri wrote
I solved the problem by removing the file: 3ivxVideoCodec.component. after that, up-dated iMovie runs ok.
Last resort: Trash all of iMovie and re-install it
Yours Bengt W -
I just purchased a Mac and downloaded my previously purchased songs from iTunes, however it only downloaded a portion of the song (about 1:15) and this appears to be the same on all of the songs. What is happening and how can I fix it?
Hello Pork Chop 2,
Congratulations on your new Mac! It sounds like your purchased songs are not playing completely after you downloaded them. I recommend to following steps for an issue like this:
Symptoms
Occasionally, if a song purchased from the iTunes Store on a Mac or PC was not downloaded completely, the song may not play back fully. The song may abruptly stop during playback, and iTunes may start playing the next song in your library or playlist.
Resolution
If iTunes in the Cloud is available in your country, try the following steps to resolve the issue:
Delete the purchased song that is exhibiting the problem from your iTunes library.
Click on the Purchased link in the iTunes Store to view your previously purchased music.
Download your previously purchased song from this list.
You can find the full article here:
Songs in iTunes may not play back completely
http://support.apple.com/kb/TS4357
Thank you for using Apple Support Communities.
Best,
Sheila M. -
could you some one help me? I bought iphone 3G with opration system ios 4.2.1 ..however i couldn't install viber, skype and othe software , ...it say that need update to iso 4.3 .what it means and how can I manged to install such program in my iphone?
iOS 4.2.1 is the latest version available for the iPhone 3G, if apps require iOS higher than that then unfortunately you will not be able to install it.
Maybe you are looking for
-
Dreamweaver 12.0.1 Crashes when Opening Complex HTML5
I'm getting a consistent crash when opening HTML5 documents with the latest general release and patched version of Dreamweaver. I open a document, switch to the split code and design view... bam. Immediate crash. If I'm in Code view, it's fine. Switc
-
Iphone 4 4.2 upgrade recovery mode loop
I have been trying this for about 4 times already, everytime it says it is in recovery mode. I restore it so many times already. tried to hold the home and sleep button didn't help either. Any other way to get me out of the recovery mode? thanks!!
-
My ipod touch wont sync with itunes.
So my ipod touch is not syncing with itunes. i got it from my sister and connected it with my computer and it did sync and allthings. then i did something, i think i deleted something from ipod and now it wont sync and i cant see my ipod in itunes. h
-
Streaming your mac to Apple TV
Hello My name is callum and i have the newest version of OS X (Mountain Lion) and i was wondering, Can i stream what's on my mac to my Apple TV through Air Play, Just like i can on my iPad? Thanks
-
Hi All, We r using oracle 9i pplication server and for reporting we r using .pdf format using internet explorer. First thing is reports take a long time to appear infact the whole application itself is very slow. Second sometimes report comes and som