Tag Info

New answers tagged

0

You should make sure that you're working on the right XCode environment, for example: sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer Check the current value by: sudo xcode-select -p. Then make sure you've accepted the license by running: sudo xcodebuild -license and by typing agree and check if that works. Double check if ...


0

Crontab is not smart enough to keep your server up. When it goes down, it has to wait till crontab runs again; your clients will get a 404 error from your faulty server. I advise you to use something like Supervisor. You can install it using easy_install like easy_install supervisor You will need to deal with Supervisord and Supervisorctl. The first ...


0

You can use package_dir for this. setup( package_dir={'mod3': '../../../../../pkg2/mod3'}, packages=['mod3'] )


1

sudo apt-get install python 3.3.3 this is for python(3.3.3) for different version the corresponding version number should be used.


-2

Program/script: cmd arg: "/c C:\Python27\python.exe C:\Script\script.py"


0

I had to add # export http_proxy=x.x.x.x:YY # export https_proxy=x.x.x.x:YY # export ftp_proxy=x.x.x.x:YY


0

Ensure that you are logged in with user "ali" and have write access to the folder c:\users\ali\appdata\local\temp\tmpe8llat\ Uninstall existing Python 2.7.9 files Download and reinstall 2.7.9 files


1

I found the best solution was to actually just overwrite the image locally. I played around a lot with pipes and processes in Python, but nothing worked as well as just running ffmpeg from the command line and overwriting the image. I ended up doing this on Linux, but it should work on Windows. ffmpeg command: ffmpeg -re -loop 1 -i out.jpg -re -f lavfi -i ...


-1

I Had similar problem running Django in FreeBSD and OPENBSD. My problem was that the gunicorn process was running as root while the scripts were in outher users home/dir. tl;dr -> check if the process is running with the right user


1

The Pygments project now hosts a demo page in which all the available styles can be tested.


1

OK, so it seems like using sudo ifconfig en0 down is not the best way to do it. Best way is to turn off airport first sudo networksetup -setairportpower airport off then change the IP address to manual: sudo networksetup -setmanual "Wi-Fi" 192.168.1.98 255.255.255.0 192.168.1.254 the device will still be turned off here so turn it back on and it should ...


0

I realize at this point this question is about 4+ years old, but I wanted to add additional details on how users of more current versions of Mac OS X—like Mac OS X 10.7 (Lion), Mac OS X 10.8 (Mountain Lion) and Mac OS X 10.9 (Mavericks)—can install GeoIP on their machines. This has been tested by me up until Mac OS X 10.9.5, but I believe the exact same ...


0

I renamed svnversion (as suggested) after finding it by using 'which svnversion' and then ran 'make' again on Python3.0 and it worked.


0

What makes a language client-side is the browser. I don't think it's correct to say "python is client/server side", as it doesnt depend on the language. So the browsers run javascript only, so it they cant interpret python directly. There exist some tool that will let you write python for client side (which compile to js). Take a look at skulpt. Another ...


0

If you need, you can to run python on the client. Many apps on linux are desktop applications, not web applications. Try to look a gui library for python: https://wiki.python.org/moin/GuiProgramming If you not want to install more libraries, you can use the native python library tkInter: https://wiki.python.org/moin/TkInter


1

Python is a server side language and can be programmed to interact with client side languages such as Javascript. Python has a great framework named Django that can make these interactions more streamlined. You can learn more about Django here: https://www.djangoproject.com/


0

won't even create .log file Does the user you set the cronjob for have write access to /appl/belo_monthly/results.log? Did you create the cronjob as regular user or as root?


1

In PowerShell do this: cd MyFolder Get-ChildItem -recurse -filter .DS_STORE | Remove-Item -WhatIf When you specify -WhatIf, then PowerShell won't make any changes. It will instead tell you what it would have done. When you are happy with what it will do, then you can remove the -WhatIf. (It always pays to be careful when doing a recursive delete. You ...


0

That find syntax you are using in your example seems to me to be more appropriate for Mac OS X or Linux/Unix setups than a Windows setup. Instead, perhaps use the del command like this in Windows as explained here: del /s /q /f /a:h .DS_STORE



Top 50 recent answers are included