How to install Sympy on Python 3.3 in Windows 7? - python-3.x

I have already check Sympy.org website and the following link. But I didn't find any executable file to install the Sympy on Python 3.3.
http://code.google.com/p/sympy/downloads/list

Sorry, we never got bdist_wininst working in Python 3. You'll need to install from source.

Related

Changing Google Cloud Python Version to Python 3

I used the command below to upgrade to python3.7
But when I control the python version, it is still python 2.7.
How should I do?
Have a look at the instructions provided in this answer:
Then you would just call Python like so:
python3.7 ./yourScript.py
Do not forget to use python3.7 instead of python.

Pandas install or import in IBM SPSS Statistics Version 26

I have installed the latest version of IBM SPSS Statistics(Version 26) which has pre installed python 3.4 and 2.7. i am trying to use version 3.4 python. i am able to import modules like pip , sys , os etc. i tried pandas the same way. i am unable to do so. getting error no module found. Hence going through our forum and IBM support did the following changes.
received the following error
1) tried pointing the site-packages via
import sys
# Assuming windows and standard python folder here.
sys.path.append(r"D:\Python34\Lib\site-packages")
2) changed the path in the settings of SPSS
3) Tried installing pip in the below folder as suggested in the forum but got message i have already installed the updated version.
C:\Program Files\IBM\SPSS\Statistics\Subscription\Python3
4) following versions of python were installed
have tried what i could. Need your expertise help to fix the same which will help me to install/use modules needed for SPSS. Thanks.
This is going to be painful to explain, I'll do my best.
As far as I can tell, you're on windows. Usually when we need a new package, we just open cmd and type pip install xxx (assume you added python to path when installing it). The reason that this works, is because when you type pip install xxx in cmd, windows recognize pip to be a command because python path is in system variables. Windows know that I can execute pip install with this python path.
However for SPSS python (3.4), that python had a different path in the system. Thus when you only have the 3.7 or 3.8 python in path, windows cannot install package to you 3.4 python, and I'm not sure if you can have more than one python path in system.
In order to fix this, you need to first figure out what's the path to your 3.4 python, then in this page you can follow the instruction to remove your 3.7 or 3.8 python in path, and add your 3.4 path, then you can do pip install xxxx for whatever package you want
I did the same thing with a arcgis python distribution, hope this works for you. If the attached page does not work, just google add python path to windows and look for a instruction that works on you PC
Oh and the reason that you can import pip, sys and some other package but not pandas, is because python is 'battery included', it comes with tons of packages pre-installed for additional functionality, but pandas is not one of them.
Fixed it since my ananconda had version 3.7 .i created virtual environment and installed 2.7 python with anaconda package. Pointed SPSS to the 2.7 folder and was able to import pandas.

What is the difference between "python" and "pythonw" in the mac Terminal?

im fairly new to programming in Python and i've been using the terminal to run my code with no problem. Usually by typing python {filename} to run it.
However, recently i got this error:
ImportError: Python is not installed as a framework. The Mac OS X backend will not be able to function correctly if Python is not installed as a framework. See the Python documentation for more information on installing Python as a framework on Mac OS X. Please either reinstall Python as a framework, or try one of the other backends. If you are using (Ana)Conda please install python.app and replace the use of 'python' with 'pythonw'. See 'Working with Matplotlib on OSX' in the Matplotlib FAQ for more information.
then i changed the python {filename} to pythonw {filename} and the code worked. Could someone give me some insight into this error and why it worked by just adding w?
pythonw - run python script allowing GUI. According to the man page for pythonw.

How to install graphics in python any version?

I am using Python 27 in windows and I needed to install some modules in it so using pip I installed matplotlib which worked fine but then when I tried installing graphics,it didn't work. I also googled where I found that Graphics can be installed for 3x version. I am using 2x version because I wanted to use Vpython as well which doesn't work for 3x version (atleast I found it is very difficult to use with Python 34). Then I tried using both the Python 27 and 34 and then tried installing modules in Python 34 but since matplotlib is already installed before,I am unable to install for Python 34.Also there is not module in Python 34. I just started using Python and I am having all these problems. Please anyone who could help me with it?
You could try this:
pip install https://raw.githubusercontent.com/jminz/graphics.py/master/graphics-py_installer.tar.gz
This command from official readme: https://github.com/jminz/graphics.py
I don't know what is meant by "Graphics", but as far as VPython is concerned, see the detailed instructions at vpython.org. The old Classic VPython did not work with Python 3. The new VPython 7 works in a Jupyter notebook with any version of Python and outside a Jupyter notebook (for example, using IDLE or Spyder) with Python 3.5.3 or greater.
Also, for VPython questions it's better to post to the VPython forum, where there are many more VPython users who will see your question than if you post to stackoverflow:
https://groups.google.com/forum/?fromgroups&hl=en#!forum/vpython-users
Open Command Prompt and type exaclty what shown in the image
To install the graphics package
pip install graphics.py
https://pypi.org/project/graphics.py/

Where on Earth is the numpy download for python 3.x?

Where on Earth is the download for numpy for python 3.x? I realize there is already a question like this here, but that was 3 years ago and all the links are outdated or dead. I've found tons of downloads saying they are for python 2.7 like this, but none for python 3. Am I just missing something obvious?
I think you're in the correct place - http://sourceforge.net/projects/numpy/files/NumPy/1.7.2/ - in the same directory is a link to numpy-1.7.2-win32-superpack-python3.3.exe/download
NumPy 1.7.2 Release Notes ************* This is a bugfix only release in the 1.7.x series. It supports Python 2.4 - 2.7 and 3.1 - 3.3 and is the last series that supports Python 2.4 - 2.5.
Or you can get pre-compiled windows binaries here - http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy
http://sourceforge.net/projects/numpy/files/ has several Python 3 binaries (for recent versions). So does http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy. Running easy_install numpy or pip install numpy should also work. Downloading the source and running its setup.py with any supported Python version should work as well.

Resources