Skip to main content

All Questions

Tagged with
1 vote
0 answers
54 views

Quickly retreive 512px image thumbnail/preview from 10GB+ PSB on MacOS?

Is it possible to quickly (milliseconds) extract a 512px image thumbnail/preview from large images (10GB+ PSBs) on MacOS? Use Case I need to quickly get an image preview/thumbnail (~512px) of a batch ...
Chris's user avatar
  • 19
1 vote
2 answers
25k views

Why am I getting "command not found" error on my VS?

/bin/sh: python3.11.1: command not found [Done] exited with code=127 in 0.003 seconds I am using VS for macOS.
Aydan Baghirzade's user avatar
1 vote
2 answers
6k views

How to delete Python on mac completely?

I want to download only the latest version of Python and get rid of the old ones. I already deleted all the old ones I downloaded before. But when I check for Python versions in my terminal or import ...
Aydan Baghirzade's user avatar
1 vote
0 answers
644 views

On Mac Big Sur, what's the correct way to build Python 3.9 with SSL support?

I'm using Mac Big Sur. I want to build Python with SSL support from the binary, whcih I downloaded from here -- https://www.python.org/ftp/python/3.9.0/Python-3.9.0.tgz. Following the instructions ...
Dave's user avatar
  • 124
0 votes
1 answer
629 views

Mac OS X: brew reports python 3.7.3, python3 --version reports python 3.6.3. How to fix?

I'm running Mac OS X High Sierra 10.13.6. When I do a "brew list python" from the terminal, it shows that I have python 3.7.3 installed: user@laptop:~$ brew list python /usr/local/Cellar/python/3.7....
slantalpha's user avatar
1 vote
1 answer
10k views

Visual Studio Code Python Indentation Issues

So I have been having issues with my VSC and python 3.7 It works when I try to run the code through Sublime and terminal, and seems to fix itself after I restart visual studio, but always returns ...
zmirina's user avatar
  • 11
1 vote
0 answers
800 views

html.entities not found although using Python3

I wanted to get back into using Python regularly, for webscraping in particular. I installed pipenv with Homebrew and began installing requests and BeautifulSoup, but when I try to import ...
Elarbe's user avatar
  • 19
0 votes
1 answer
358 views

it receive the following error when use matplotlib

MathTextWarning: Font 'default' does not have a glyph for '-' [U+2212], substituting with a dummy symbol. MathTextWarning)
Scheng.xiang's user avatar
1 vote
0 answers
131 views

How do I make a python script executable on macOS Mojave?

Alternatively, I'm having trouble getting a crontab to run a python script, and I thought this would solve the problem. If you happen to know how to make a crontab run a python script, that would be ...
Adar Kahiri's user avatar
0 votes
0 answers
480 views

Python 3.7.1 Crashes When I Open File On Mac OS X

When I open a python file with IDLE 3.7.1, it crashes after a few seconds. Sometimes, if I run the script, it would not crash. Even if I don't do anything, it crashes. I'm not sure what is causing ...
Ariki's user avatar
  • 1
0 votes
1 answer
29 views

python 3.5 console not able to type the 'c' key

I have a very strange problem when using the python3 console. Whenever I type c (the actual c character) what gets written is the <tab> character. So in essence I can't type anything that ...
ludic's user avatar
  • 101
1 vote
2 answers
2k views

Run a Python script with filename arguments as a MacOS Folder action

I would like to run a Python script as a Folder Action in Mac OS. The Python script takes the name and full path of a file as an argument. Ideally, I would like to right-click on a file in Finder to ...
user678732's user avatar
38 votes
13 answers
57k views

How do I install vim on OSX with Python 3 support?

In the google searches I've done, the command I should be using is brew install vim --with-python3, which succeeds without error, but then vim --version reports Python 3 as unavailable. k162:~ asday$ ...
Adam Barnes's user avatar
2 votes
1 answer
2k views

running python via mac ports

I have installed python via mac ports, using: sudo port install python33 I then did: sudo port select --set python python33 and got: Selecting 'python33' for 'python' succeeded. 'python33' is now ...
Baz's user avatar
  • 489