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 best solutions below
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
- Initialize matrix
- Why is my program adding int as string (4+7 = 47)?
- How to save gensim LDA topics output to csv along with the scores?
- Update a text file with ( new words+ \n ) after the words is appended into a list
- Removing URL features from tokens in NLTK
- python, global name not defined
- Why does collections.OrderedDict use try and except to initialize variables?
- Invalid URL: No host supplied : error while using Request.get(url) in Python
- Python GUI application to copy files one location to another location
- Why I receive CERTIFICATE_VERIFY_FAILED from google adwords api?
- Excel worksheet to Numpy array
- Python datetime.now() with timezone
- local variable referenced before assignment in strange condition
- Python 2.7 - find combinations of numbers in a list that add to another number
- Can't install anything with pip2 on Windows 7 due to UnicodeDecodeError
Related Questions in NUMPY
- How can I serialize a numpy array while preserving matrix dimensions?
- store numpy array in mysql
- Trying to save an np array with string and floats, but getting a error
- Does numpy broadcast in *all* of its functions?
- Is there any implementation of hstack in gnumpy
- Mayavi - color vectors based on direction instead of magnitude
- How to install scipy misc package
- Numpy Vs nested dictionaries, which one is more efficient in terms of runtime and memory?
- How to count distance to the previous zero in pandas series?
- Changing the amount of points changes the result of the fft
- Succint way of handling missing observations in numpy.cov?
- Fastest Way to access and put values in matrix
- Enforcing that inputs sum to 1 and are contained in the unit interval in scikit-learn
- Cython speed vs numpy
- Best practice for using common subexpression elimination with lambdify in SymPy
Related Questions in SUBLIMETEXT2
- How can I run C programs in sublime text 2 that require an input?
- Adding a CSS folder on Sublime Texts side bar with a main.css and normalize.css file
- How to add your own syntax to Sublime Text 2
- Sublime Text won't output Java println statements in main method
- ElementTree errors, html files will not parse using Python/Sublime
- How to create typing shortcuts in Sublime Text 2?
- Sublime text - how to select HTML table columns?
- How to exclude some directory during search(through ctrl+shift+f) in sublime 2?
- Sublime Text run a macro with key bindings
- Sublime Text shows nothing on Python build
- Decode error - output not utf-8
- Clean Python code with Sublime
- Can't build SASS in Sublime Text 2
- How can I exclude a folder from indexing in Sublime Text, while still showing it in the sidebar?
- regular expression in sublime text 2 to match text
Related Questions in SUBLIME-TEXT-PLUGIN
- Adding a CSS folder on Sublime Texts side bar with a main.css and normalize.css file
- Sublime text plugin: Scrolling selected region to top of window
- BaseHTTPRequestHandler parse_request() never returns
- How do I remove a duplicated Syntax highlight option?
- Is there a way to trigger a "folder open" from Sublime Text 3 API?
- How to make Sublime SVN plugin keeps locks on commit
- How to make sublime text 3's 'SublimeOnSaveBuild' package not compile the file named beginning with '_' prefix
- Is there any plugin in sublime3 for display Perl function calling relations?
- Setting up custom build environment
- Is there a way to set the fold symbol in sublimetext read only?
- Running Groovy in Sublime Text 3
- Right hand text limit/range indicator line Sublime
- Is it possible to add dependencies to sublime-extensions?
- SublimeText Find in files Plugin
- Split Sublime Text 3 plugin into separate Python modules
Related Questions in SUBLIMEREPL
- Running Groovy in Sublime Text 3
- SublimeREPL Shell
- sublimeREPL for python not showing complete Traceback
- Sublime Text 3 Python REPL Slow print
- Getting sublime Text 3/2 to recognize the custom folders with python files
- how to add packages like numpy,scipy and others to the sublime 2 python?
- Input missing, output on Input line in sublimerepl python
- Viewing object attributes with tab completion in sublimerepl python
- How to use REPL in sublime?
- pprint in clojure sublimeREPL
- How to extend Windows PATH env variable in Sublime Text?
- Wrong start Prolog in SublimeREPL
- Sublime 2 - Python - Passing command line args
- Why doesn't SublimeREPL accept undefined data types? (Issue inputting string)
- How to run Python 3 in Sublime 2 REPL Mac
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)
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?
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.