Matplotlab .exe file for Python 3.4 cannot find path to Python34 -


i running windows , beginner python user trying install few modules run python script. have python 2.7.9 , 3.4.2 both installed c:\ directory. downloaded matplotlib-1.4.3.win-amd64-py3.4.exe , corresponding .exe python 2.7 matplotlib website, when run py3.4 exe program cannot find python 3.4 update (cannot install: python version 3.4 required, not found in registry).

python 2.7 installer works perfectly. there misset path variable in windows can modify .exe can function properly? in cmd 'python --version' returns python 3.4, unsure how fix issue. installed these months ago, , may have put them in downloads before transferring both c:\ clarity, may problem unsure how fix it.

also, if answer involves pip in way please clarify how use pip in windows. lot of websites run eg. 'pip setup.py install' in 'terminal' not specify if mean windows cmd terminal, idle gui, or python.exe command-line interface. lot!

not answer actual question, clarification on last point:

but not specify if mean windows cmd terminal, idle gui, or python.exe command-line interface.

yes, requires know context beginner may not have. command pip always used in cmd terminal. open cmd, , enter

pip3 install matplotlib 

notes:

  • use pip3 when installing python 3. you're you're not accidentally installing libraries python 2.

  • pip setup.py install does not exist. you're mixing 2 mechanisms install python packages/libraries:

    • one uses pip, aforementioned pip3 install <something>. pip goes looking online, finds corresponding package name in database, retrieves url package, downloads package , installs package. in 1 command.

    • python3 setup.py install (again explicitly use python3 or python2 sure) requires you find package, download it, unzip it, , in cmd terminal, inside unzipped folder, run python3 setup.py install command.

    this second method latest-greatest version of package not yet in pip's database, or packages never in pip's database in first place.

generally, beginner, want stick pip. if ever run issue package not being available via pip, may still able use pip downloading , installing, example so:

pip install https://github.com/matplotlib/matplotlib/archive/master.zip 

which install recent matplotlib (which won't have version number yet, bugs around).

all of these commands happen in cmd terminal: downloading/installing packages go through terminal.

also, when people mention "terminal", mean (for windows) cmd terminal. when has done inside python, called "python prompt". (idle yet different beast, i'm not familiar with. i'm guessing has several parts, including text editor section , python prompt section.)


Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -