Is just that in my old Mac (10.6) and with Sublime 2 I actually see all the intallation message when initiating the IPython console. In addition, when I start the IPython console, I am in the directory where sublime is launched. Absolute beginner's tutorial on how to install the latest version of Python on Mac OSX and how to setup Sublime text editor for your work environment. Install Python On Mac OSX + Sublime Text. Python Setup: Install Python On Mac OSX + Sublime Text. Blake March 22, 2018 Python Tutorials No Comments.
Posted by3 years ago
Archived
Hi!,
So I'm trying to use matplotlib for python 3.4 on my mac. I've done the following:
How To Setup Sublime Text For Python Mac Reply
Free code editor for mac. BUT, when I try to import matplotlib into a sublime text 3 window (after saving the file as .py), it keeps saying that there is no module named 'matplotlib'. Shortcut in microsoft office to select all text for mac.
I don't really get why - I'm kind of new to this so I'm not sure how to fix this.
![]()
is it because anaconda didn't install properly? https://potentfilm193.weebly.com/watch-narnia-1-online-free.html. I installed it both via manual download and through Sublime Text 3 (the install package thing it has). I also tried the fix where you merge some folders but I had no idea what I was doing there :(
I'd appreciate it if someone can help me with this!
EDIT:
How To Setup Sublime Text For Python Mac Replication
here is the full error message if this helps (after the import error):
[cmd: ['/Library/Frameworks/Python.framework/Versions/3.4/bin/python3', '-u', '/Users/myname/Desktop/testgraph.py']]
[dir: /Users/myname/Desktop] [path: /usr/bin:/bin:/usr/sbin:/sbin] <-- Do I need to fix this? Is my matplotlib somewhere else? There are multiple folders right for python since I know my mac already came with 2.7 before I installed 3.4. but I don't know how to fix it :(
Double EDIT:
The following code works flawlessly in terminal so I'm guessing it's a path issue with ST3. no clue how to fix it.
How To Setup Sublime Text For Python Mac Replica
import matplotlib.pyplot as plt plt.plot([1,2,3,4]) plt.ylabel('Some numbers') plt.show()
![]() How To Setup Sublime Text For Python Mac Replace
4 comments
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2020
Categories |