Having proplem with Python 3.5 after installing Python 3.7 - ubuntu-16.04

I had Python 3.5 on Ubuntu 16.04 and then I installed Python 3.7 and made it the default Python.
Now most of the programs I run go Python 3.7 but some run on 3.5 (I don't know why).
Also, the system says that there is a problem with python 3.5 but I can't figure what it is.
Can anyone help?
Thank You

Configure PYTHON_PATH pointing proper library path or set path environment variable pointing to correct Python version.

Related

PHP 5.3.29 on Ubuntu 16.04 in order to run Joomla 1.5 locally

I'm working on a Joomla 1.5 website, which was developed with PHP 5.3. Now I'm having some incompatibilities issues with some components.
My machine runs Ubuntu 16.04.
The version of Joomla is 1.5.
PHP versions are 5.6 and 7.0 (apache is configured to run PHP 5.6)
I can't find a way to download and install it. The apt command only shows 5.5, 5.6, 7.0 and 7.1 PHP versions.
Can anyone help me?
I have joomla 1.5 on a website running. My config shows that PHP 5.4.16 is in use. Therefore, why dont you try it with PHP 5.4 and get it from the download page:
http://php.net/releases/
If you have troubles to install it on your computer. Take a look here:
https://serverfault.com/questions/353550/how-to-install-old-php-version
The link explains how you install a old php version on linux. Btw.: in the link it is only explained how to replace a PHP version. But it is possible to run different versions on a server.

Linking library using Eclipse Kepler under Ubuntu 12.04 LTS

I have developed a project under Mac OS X 10.8.3, now I need the same project to work under Ubuntu 12.04 LTS.
Inside my project I need to use a library, let's call it libXXX. I have the libXXX.a file and the XXX.h header file. What I did under Mac OS X is change the setting for the project to include the xxx library and of course set the library path to locate it.
I did the exact same thing under Ubuntu but I got a linking error, saying ld cannot find the xxx library.
If anyone has any idea how to solve the issue, that would be great.
Thank you everyone

Issue with Netbeans

I have installed netbeans in my PC (windows 7), wrote a javaFX application program and generated executable jar file
I finally need the executable jar file to be working on Raspberry pi linux and I want to use only openjdk since oracle java for Rpi doesn't support AWT and Swing and my application majorly includes that.
When i tried to execute the jar file using openjdk, i am getting an error - you need to install newer version of JRE to execute this file. I have also tried to execute the same file in ubuntu to verify if there is something wrong and its showing the same error
But, the jar file was executed properly through oracle java in ubuntu. I also tried using Oracle java on RPi, but it opened but didn't work properly.(expected, because it doesn't support AWT and Swing)
So, I think i have an issue opening the file using openjdk. Can somebody help me with this
Thanks in Advance
I am in the process of buying my Raspberry Pi but have already started looking at the development environment I will need. You may find what you are looking for in these very clear resources I found:
http://adf4beginners.blogspot.co.uk/2013/04/how-to-get-java-embedded-suite-running.html
http://docs.oracle.com/javame/config/cldc/rel/8/rpi/html/getstart_rpi/toc.htm
As Ryanteck mentioned, you will probably have to be running Raspbian (item number 1, the tutorial, uses that OS).
Good luck
The Raspberry Pi's recommended OS does not support Java at all. The main thing to try is to test it using the Debian Soft float image which should support Java on the Raspberry Pi fine. But it is still in development so may not work.

Python 3.x on Canopy Express

Are there any issues with installing Python 3.3 after installing Canopy Express (which has Python 2.7)? I recently installed Canopy to take advantage of the packages it bundles. I see that it has uses version 2.7 of python, but I would very much like to use the latest and greatest version of Python as I am new to python and just learning it. However I would like to make sure that installing Python 3.3 doesn't break any of the features of Canopy.
You can install Python 3 in parallel to Canopy, but you will not be able to run Canopy on Python 3.

Satchmo install on a mac using virtualenv

I have virtualenv set up and working correctly on my mac os (leopard) running python 2.6 & django 1.2.3. I want to install Satchmo but I haven't found solid instructions for a mac install using virtualenv. Can anyone help regarding this? thanks.
If you're using buildout with virtualenv then try this: https://github.com/shywolf9982/satchmo-buildout
Of course installing newest XCode ie. 3.1 or 3.2 is a must..
Unfortunatelly compiniling stuff on Mac can give you the creeps... My collegue and I, were fighting 12h with installation of geodjango on Spatialite database, and we didn't make it after all :)
If you're not using buildout then just use macports for installing modules listed in above repo's buildout.cfg file.
Good luck!
This Satchmo Project post contains the instructions I follow on Snow Leopard. I use Homebrew and/or MacPorts in lieu of the Debian package tools.