I am uinsg sublime 2 on a windows machine and not figure out how can I manage and add different python packages into the sublime 2 python? I have multiple versions of python on my machine and it seems sublime is using my python 2.7 ( i dont remember if I set that). I also have REPL up and running but I can not make the python 2.7 from the command line of my sublime to import numpy or install or anything. if you can explain to me how can I work around issues like this it would be great.
how to add packages like numpy,scipy and others to the sublime 2 python?
5.4k views Asked by Amir At
2
There are 2 answers
0
Milinex3
On
- install cmder from https://cmder.net/
- run cmder
- type this code
pip install XXXX
just replace your package name with "XXXX".
for example: pip install numpy
you can install other packages with this way:))
Related Questions in PYTHON-2.7
- Telnet function in Python
- symbol not found in flat namespace '__PyTrash_begin
- Python 2.7 requirements won't install without virtualenv
- Python search for the errors in the JSON
- spectrogram for a .cdf file
- SSL Error and InsecurePlatformWarning when installing packages using pip on Python 2.7
- Canonical way to ensure float point division across py2 and py3?
- Unable to execute Python Script directly
- Pip from Python 2.7.10 installed via pyenv-win cannot install any packages
- Arcpy: Python stops ExportToPDF through list after some iterations
- Python2 unable to pickle string
- Reading Excelsheets using openpyxl and Python
- How can I store a function in an array in python?
- " 'Word2Vec' object has no attribute 'load_parent_word2vec_format' " error
- How to execute a nodejs function from the python code?
Related Questions in NUMPY
- Why numpy.vectorize calls vectorized function more times than elements in the vector?
- Producing filtered random samples which can be replicated using the same seed
- Numpy array methods are faster than numpy functions?
- When I create a series of spectrograms from a long audio file, the colour intesities vary noticably
- How do I fix a NumPy ValueError for an inhomogeneous array shape?
- How should I troubleshoot "RuntimeWarning: invalid value encountered in arccos" in NumPy?
- Unravel by multi-index/group
- Calculating IRR Using Numpy
- Integrating with an array of upper limits without sacrificing time efficiency
- Why doesn't this code work? - Backpropagation algorithm
- How to remove integers from a mixed numpy array containing sub-arrays and integers?
- How to transfer object dataframe in sklearn.ensemble methods
- Rust cannot borrow as mutable
- Why does the following code detect this matrix as a non-singular matrix?
- How to detect the exact boundary of a Sudoku using OpenCV when there are multiple external boundaries?
Related Questions in SUBLIMETEXT2
- Sublime don't want to find words with only a few letter match
- Toggle comment color in Sublime Text
- Mark Text in Command Prompt in Sublime Terminus
- Screen Scroll when using multiple cursors in Sublime Text
- Windows variable in Sublime Text Build
- CSS on Sublime 2 Indents Falsely
- Separate Build for every file/tab in Sublime Text
- Default message when Build System starts in Sublime Text
- Delete every whitespace or tab or newline until a character is present with Sublime
- How to copy line in Sublime without new line
- Ungreedy regex matching in sublime text 2
- Shortcut to open the currently opened file's folder left panel
- Sublime Text 2: Find all 8 digit sequences between slashes and replace
- Reindent minified Javascript with Sublime
- Sublime Text: overlay cannot match file name with @
Related Questions in SUBLIME-TEXT-PLUGIN
- How Can I Fix Sublime Text CSS Style italic to Normal?
- CodeGPT Sublime Text Plugin
- custom url generator to open links in browser other than default - beginner, assistance greatly appreciated
- How to fix that Sublime Text runs a wrong file from its command terminal?
- How to set different colors each rows based on the number of spaces?
- How do I set Node path (Homebrew) for Sublime Text Prettier plugin configuration so it survives Node updates?
- What is the name of this package(plugin) in Sublime Text?
- Sublime text 4 plugin development: memory copy problem
- Python auto importer for Sublime Text
- Toggle comment color in Sublime Text
- UnicodeMath plugin for SublimeText 3 stopped working
- LSP-gopls in Sublime Text creates go directory in $HOME instead of a custom location
- How to run C# in Sublime Text 3 in Windows
- Sublime terminus console closes after executing program/hitting bugs/inactivity
- sublime text plugin help: How to output to console using print in python
Related Questions in SUBLIMEREPL
- Exit Debugger in SublimeREPL with sbcl
- Load node.js module from within SublimeText using SublimeREPL with node env
- Is there any shortcut to open Python' interactive console with sublimerepl? And if not, can I create one?
- Why math.sqrt in python doesn't work in my sublimeREPL?
- How can I avoid NameError from input() in Sublime Text 4, using SublimeREPL on Mac OS 12.1?
- Troubles to Install REPL in Sublime 3 and 4
- SublimeRepl not syncing with code (runs old code)
- Why does sublime-REPL not execute?
- SublimeREPL prompt garbled
- Starting SublimeREPL with hotkey
- How to run SublimeREPL on remote python
- Sublime Text 3 shows EOFError() when I try to run Python scripts with SublimeREPL
- Modify title of SublimeREPL in tab
- How can I disable syntax highlighting in SublimeREPL, without setting syntax to plain text?
- How do I use Virtual Environments with SublimeREPL?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
To install packages such as pyGame, you need to download the installer and run it. Since you have multiple versions of Python, you will need to select the required version in the installer.
A link to pyGame: http://www.pygame.org/download.shtml
Link to all packages: https://pypi.python.org/pypi?%3Aaction=index
Make sure to download the packages for your required python version. You could also use easy install which would simplify the module installation process.
EDIT:
To link sublime text and python:
1) Create a new build system by:
Tools > Build System > New build system2) Add the following lines to it:
(Change the path if required)
3) Save the file and build (Ctrl + B) your programs to run with your python.