PyScripter always says: "Python could not be properly initialized. We must quit." - pyscripter

I've googled for a solution, and based on that, let me report a few details:
I've tried 32-bit PyScripter-v2.6.0-Setup.exe with 32-bit python-3.6.1.exe; and 64-bit PyScripter-v2.6.0-x64-Setup.exe with 64-bit python-3.6.1-amd64-webinstall.exe.
I'm on a 64-bit Windows 10 machine.
I uninstalled other versions of Python on the machine.
Tried unzipping rpyc in the \Lib\ folder, as someone suggested that here.
What else should I be looking at?

Here is a tested Solution
Remove old PyScripter
Install Python from Python website. I installed mine from:
http://www.python.org/ftp/python/3.3.2/python-3.3.2.amd64.msi (and it worked)
Now install PyScripter-v2.6.0-x64-Setup.exe from https://sourceforge.net/projects/pyscripter/files/
This should solve the problem.
I got this solution from https: //github.com/pyscripter/pyscripter/issues/715

You are using an old version of Pyscripter. Version 3.4 from https://sourceforge.net/projects/pyscripter/ provides support for all released python versions, virtual environments, conda distibutions and the ability to switch between them without exiting Pyscripter.

Related

How to properly install Hack and HHVM on Windows 7

I am trying to install and configure Facebook programming language Hack and HHVM on Windows, probably Windows 7. I could not find any solution on it. I saw a Bitnami link which suggest HHVM Installers.
source
I have downloaded the installer files HHVM installer files
but it cannot run on Windows due .run extension filename. How can I achieve this using HACK and HHVM installations on Windows 7.
Hack and HHVM do not support Windows. There was some work in 2015, but it doesn't seem to have continued since then.
Recent versions of HHVM do not support PHP. The Bitnami link mentions running phpmyadmin, so it looks like it's targeting an old HHVM release.
Hack and HHVM do not support Windows but you can try Building and Installing HHVM on Cygwin or Installation: Building From Source although not recommended because they are monumental tasks.
You can also take a look at Building and Installing HHVM.
I personally gave up and installed the supported package in my Mac where I'm using Visual Studio Code with the HackLang plug-in for development.

Is OpenCV supported on Python 3 yet?

I already have part of a program running in Python 3 but I need OpenCV (or SimpleCV), for a robotic vehicle, but I haven't found any install commands that seem to work, other than for Python 2.7.
If it is compatible could you please include instructions (/links to) for installation of the module?
I am using Ubuntu 14.
Maybe a little late to answer, but it's actually supported on OpenCV version 3 (in alpha state nowadays). I have successfully managed to install it, on MacOS, but I guess it would be similar on Ubuntu.
Now you have separated options for python2 and python3 when using Cmake. So you'll have to set those to make it work. That's all I needed to set:
BUILD_opencv_python3
PYTHON3_LIBRARY
PYTHON3_INCLUDE_DIR
PYTHON3_INCLUDE_DIR2
PYTHON3_NUMPY_INCLUDE_DIRS
...
Here you can find more detailed description: Link
Luigolas is correct that OpenCV 3.0 supports Python 3.x bindings. It was in release candidate status since April and the production version was released on 4 June 2015. Unfortunately for some reason the downloadable installation program on the OpenCV site does not contain a Python 3.x-compatible cv2.pyd file.
OP asked about Ubuntu but for those requiring a Windows installer, use Christoph Gohlke's site, which maintains Windows binaries for many Python packages, including OpenCV 3.0 with Python 3.x bindings. Visit:
http://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv
To install, just download the 64-bit or 32-bit .whl file appropriate for your system, then run pip install [filename]. Then the instruction import cv2 should work in your Python 3.x interpreter.

Linux Version of Z3: Dependency On Old libgmp.so.3

Z3's dependency on libgmp.so.3 is unresolved in the linux package, leaving the user to provide this library. However, this library is very old and is not readily available.
Does anyone know a method for getting around this issue? I am currently running x86_64 and cannot get around this missing dependency without a great deal of hassle.
Is it possible the linux packages could be fixed such they include the expected library in the distribution?
You can get GMP3 by executing sudo apt install libgmp3-dev.
I'm not a Linux expert, but this is the command I used to install GMP before I compiled Z3.
When I installed the virtual machine for running Linux 64, I think I didn't find a package for the more recent versions of GMP.
I will try again. If it doesn't work, I will download the most recent GMP tar ball and build it from scratch.
BTW, the Z3 for Linux 32 comes with two .so files. One of them has GMP statically linked.
The trick I used for building this .so file didn't work for the 64 bit version.
As I said, I'm not a Linux expert, any suggestions on how to build a better Z3 library for Linux x86_64 users are welcome.

How to install Delphi XE on Win7 64bit that has Delphi 2010 on it with least fuss

Any advice or gotchas that I should be aware of. I know to install in a NEW directory, and to have a backup. I will reread the readme file that included in the Delphi-XE installer.
I've never had problems installing a new release of Delphi with an older version also installed. I have heard that you shouldn't do the opposite (install an old version with a new one already installed) but as far as I know, installing "forwards" works just fine. And specifically installing XE with D2010 already present has never given me any trouble either at work on on my personal system.
Ive had a number of machines with multiple versions of delphi on without issue, however if you are that concerned, a further thought or consideration is to virtualise your development environments as then rather than reinstall you can "copy" .. Ive put mine into the XP mode machine on my windows 7 for that very reason.
I recommend not installing in Program Files (x86). I created a folder C:\DEVTOOLS which has my Borland, Codegear and Embarcadero folders (among others). This is definitely the 'least fuss' option.

Problem with Aptana Studio & XULRunner 8.1

I recently installed Ubuntu Jaunty and I'm encountering a problem when I try to run Aptana Studio under it. Any interaction with the internal browser crashes the system. I checked the log and after some Googling came to the conclusion that it was crashing due to the incompatibilty with XULRunner 9.0 which is installed on my system. I followed a couple of solutions I came across and installed XULRunner 8.1 (to a different directory) and pointed the MOZILLA_FIVE_HOME enviornmental variable to that particular version, as suggested.
export MOZILLA_FIVE_HOME=/usr/lib/xulrunner-8.1
However, the problem persists! When I cd into the xulrunner-8.1 directory and perform a ./xulrunner -v it still lists it as being version 9! I can't uninstall 9.x as several other major packages depend on it, one of which is the version of Gnome I have installed.
This is my first time using Linux since I played around with RedHat 7.2 waybackwhen, so I'm probably forgetting to do something obvious. Can anyone help me out?
I run Aptana on Ubuntu Jaunty as well and met with similar problems as yourself. This thread solved my problem, and I always launch my Aptana from a startup script. Particularly, the post by 'stevewalker'. Just to post his startup script here:-
#!/bin/sh
MOZILLA_FIVE_HOME=/usr/lib/xulrunner
if [ $LD_LIBRARY_PATH ]; then
LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:$LD_LIBRARY_PATH
else
LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME
fi
export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
/usr/local/aptana/AptanaStudio $#
Hope this helps! =)

Resources