simple-image-reducer does not start / ImportError: No module named Imageinstalling ecdsaI can't open software updater and unity tweak tool on Ubuntu14.04Backintime won't start (no module named dbus)How to use the ansible.runner module on Ubuntu 14.04.5?PlayOnLinux won't launchCalling .py script from .sh script error “ImportError: No module named apiclient.discovery”
Am I obligated to pass on domain knowledge after being let go?
Can I deduct BYOD expenses from my 2019 taxes?
What are optical counterparts?
Why did Fran say "You did this"?
Reconstructed PIE grammar? Could we be able to speak in Proto-European?
What should be done when the theory behind a PhD thesis turns out to be wrong?
If a picture of a screen is a screenshot, what is a video of a screen?
Unpaid suspension due to management error
I wasted six years of my life getting a PhD degree. What should I do, and how will I survive?
How to create slices for each selected area of a layer separated by transparency or solid color?
Can the category of partial orders be fully embedded in the category of linear orders?
Positional thinking by Grandmasters
Ball hits curve of same curvature
Group Delay for Hilbert Transformer and Resulting Dispersion
Are lances and nets and versatile weapons considered one-handed weapons?
Does a patron have to know their warlock?
What is the logic for the map maker classifying the map this way, specifically in Canada?
How can we save ourselves from large drops in stock price?
Who owns copyright on works found in a storage unit/attic?
Is leave-one-out cross validation known to systematically overestimate error?
How to make this watermark?
What spells could cure a stroke?
Do insurance rates depend on credit scores?
How does a virus know what component of it to mutate?
simple-image-reducer does not start / ImportError: No module named Image
installing ecdsaI can't open software updater and unity tweak tool on Ubuntu14.04Backintime won't start (no module named dbus)How to use the ansible.runner module on Ubuntu 14.04.5?PlayOnLinux won't launchCalling .py script from .sh script error “ImportError: No module named apiclient.discovery”
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
Problem:
~$ simple-image-reducer
Traceback (most recent call last):
File "/usr/bin/simple-image-reducer", line 28, in <module>
import Image
ImportError: No module named Image
Reason:
Image != image
python simple-image-reducer
add a comment
|
Problem:
~$ simple-image-reducer
Traceback (most recent call last):
File "/usr/bin/simple-image-reducer", line 28, in <module>
import Image
ImportError: No module named Image
Reason:
Image != image
python simple-image-reducer
What is your Ubuntu version?
– N0rbert
Sep 29 at 7:30
add a comment
|
Problem:
~$ simple-image-reducer
Traceback (most recent call last):
File "/usr/bin/simple-image-reducer", line 28, in <module>
import Image
ImportError: No module named Image
Reason:
Image != image
python simple-image-reducer
Problem:
~$ simple-image-reducer
Traceback (most recent call last):
File "/usr/bin/simple-image-reducer", line 28, in <module>
import Image
ImportError: No module named Image
Reason:
Image != image
python simple-image-reducer
python simple-image-reducer
edited Sep 28 at 21:24
opinion_no9
asked Sep 28 at 21:03
opinion_no9opinion_no9
4704 silver badges13 bronze badges
4704 silver badges13 bronze badges
What is your Ubuntu version?
– N0rbert
Sep 29 at 7:30
add a comment
|
What is your Ubuntu version?
– N0rbert
Sep 29 at 7:30
What is your Ubuntu version?
– N0rbert
Sep 29 at 7:30
What is your Ubuntu version?
– N0rbert
Sep 29 at 7:30
add a comment
|
2 Answers
2
active
oldest
votes
It is a bug 1825832.
Please login to launchpad and click "This bug affects you and 1 other person" to confirm that this bug affects you.
The solution from proposed patch is simple - use PIL instead of Image.
We can apply the patch programmatically without installing other stuff:
sudo sed -i "s/^import Image/from PIL import Image/" /usr/bin/simple-image-reducer
add a comment
|
1) make sure it is available
python -m pip install Image
2) where is it available?
sudo find ~ -name image -type d
-->> directory /home/MyHomeDir/.local/lib/python2.7/site-packages/image
->> OK
3) Tell simple-image-reducer via link:
ln -s ~/.local/lib/python2.7/site-packages/image ~/.local/lib/python2.7/site-packages/Image
4)
invoke simple-image-reducer
again.
Works:-)
Rem: Ubuntu 19.10, 19.04
the solution from n0rbert askubuntu.com/users/66509/n0rbert is more generic and applies to all users. As long as it works it may be preferrable. As long as there is no new installation of old simple-image-reducer code making it void. However, the issue seems to be related to the upper / lower case writing of "Image" vs "image". This might happen again (simple-image-reducer is not maintained while python is progressing).
– opinion_no9
Sep 29 at 9:38
add a comment
|
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1177372%2fsimple-image-reducer-does-not-start-importerror-no-module-named-image%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
It is a bug 1825832.
Please login to launchpad and click "This bug affects you and 1 other person" to confirm that this bug affects you.
The solution from proposed patch is simple - use PIL instead of Image.
We can apply the patch programmatically without installing other stuff:
sudo sed -i "s/^import Image/from PIL import Image/" /usr/bin/simple-image-reducer
add a comment
|
It is a bug 1825832.
Please login to launchpad and click "This bug affects you and 1 other person" to confirm that this bug affects you.
The solution from proposed patch is simple - use PIL instead of Image.
We can apply the patch programmatically without installing other stuff:
sudo sed -i "s/^import Image/from PIL import Image/" /usr/bin/simple-image-reducer
add a comment
|
It is a bug 1825832.
Please login to launchpad and click "This bug affects you and 1 other person" to confirm that this bug affects you.
The solution from proposed patch is simple - use PIL instead of Image.
We can apply the patch programmatically without installing other stuff:
sudo sed -i "s/^import Image/from PIL import Image/" /usr/bin/simple-image-reducer
It is a bug 1825832.
Please login to launchpad and click "This bug affects you and 1 other person" to confirm that this bug affects you.
The solution from proposed patch is simple - use PIL instead of Image.
We can apply the patch programmatically without installing other stuff:
sudo sed -i "s/^import Image/from PIL import Image/" /usr/bin/simple-image-reducer
edited Sep 29 at 7:45
answered Sep 29 at 7:28
N0rbertN0rbert
36.2k10 gold badges83 silver badges169 bronze badges
36.2k10 gold badges83 silver badges169 bronze badges
add a comment
|
add a comment
|
1) make sure it is available
python -m pip install Image
2) where is it available?
sudo find ~ -name image -type d
-->> directory /home/MyHomeDir/.local/lib/python2.7/site-packages/image
->> OK
3) Tell simple-image-reducer via link:
ln -s ~/.local/lib/python2.7/site-packages/image ~/.local/lib/python2.7/site-packages/Image
4)
invoke simple-image-reducer
again.
Works:-)
Rem: Ubuntu 19.10, 19.04
the solution from n0rbert askubuntu.com/users/66509/n0rbert is more generic and applies to all users. As long as it works it may be preferrable. As long as there is no new installation of old simple-image-reducer code making it void. However, the issue seems to be related to the upper / lower case writing of "Image" vs "image". This might happen again (simple-image-reducer is not maintained while python is progressing).
– opinion_no9
Sep 29 at 9:38
add a comment
|
1) make sure it is available
python -m pip install Image
2) where is it available?
sudo find ~ -name image -type d
-->> directory /home/MyHomeDir/.local/lib/python2.7/site-packages/image
->> OK
3) Tell simple-image-reducer via link:
ln -s ~/.local/lib/python2.7/site-packages/image ~/.local/lib/python2.7/site-packages/Image
4)
invoke simple-image-reducer
again.
Works:-)
Rem: Ubuntu 19.10, 19.04
the solution from n0rbert askubuntu.com/users/66509/n0rbert is more generic and applies to all users. As long as it works it may be preferrable. As long as there is no new installation of old simple-image-reducer code making it void. However, the issue seems to be related to the upper / lower case writing of "Image" vs "image". This might happen again (simple-image-reducer is not maintained while python is progressing).
– opinion_no9
Sep 29 at 9:38
add a comment
|
1) make sure it is available
python -m pip install Image
2) where is it available?
sudo find ~ -name image -type d
-->> directory /home/MyHomeDir/.local/lib/python2.7/site-packages/image
->> OK
3) Tell simple-image-reducer via link:
ln -s ~/.local/lib/python2.7/site-packages/image ~/.local/lib/python2.7/site-packages/Image
4)
invoke simple-image-reducer
again.
Works:-)
Rem: Ubuntu 19.10, 19.04
1) make sure it is available
python -m pip install Image
2) where is it available?
sudo find ~ -name image -type d
-->> directory /home/MyHomeDir/.local/lib/python2.7/site-packages/image
->> OK
3) Tell simple-image-reducer via link:
ln -s ~/.local/lib/python2.7/site-packages/image ~/.local/lib/python2.7/site-packages/Image
4)
invoke simple-image-reducer
again.
Works:-)
Rem: Ubuntu 19.10, 19.04
edited Sep 29 at 9:30
answered Sep 28 at 21:03
opinion_no9opinion_no9
4704 silver badges13 bronze badges
4704 silver badges13 bronze badges
the solution from n0rbert askubuntu.com/users/66509/n0rbert is more generic and applies to all users. As long as it works it may be preferrable. As long as there is no new installation of old simple-image-reducer code making it void. However, the issue seems to be related to the upper / lower case writing of "Image" vs "image". This might happen again (simple-image-reducer is not maintained while python is progressing).
– opinion_no9
Sep 29 at 9:38
add a comment
|
the solution from n0rbert askubuntu.com/users/66509/n0rbert is more generic and applies to all users. As long as it works it may be preferrable. As long as there is no new installation of old simple-image-reducer code making it void. However, the issue seems to be related to the upper / lower case writing of "Image" vs "image". This might happen again (simple-image-reducer is not maintained while python is progressing).
– opinion_no9
Sep 29 at 9:38
the solution from n0rbert askubuntu.com/users/66509/n0rbert is more generic and applies to all users. As long as it works it may be preferrable. As long as there is no new installation of old simple-image-reducer code making it void. However, the issue seems to be related to the upper / lower case writing of "Image" vs "image". This might happen again (simple-image-reducer is not maintained while python is progressing).
– opinion_no9
Sep 29 at 9:38
the solution from n0rbert askubuntu.com/users/66509/n0rbert is more generic and applies to all users. As long as it works it may be preferrable. As long as there is no new installation of old simple-image-reducer code making it void. However, the issue seems to be related to the upper / lower case writing of "Image" vs "image". This might happen again (simple-image-reducer is not maintained while python is progressing).
– opinion_no9
Sep 29 at 9:38
add a comment
|
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1177372%2fsimple-image-reducer-does-not-start-importerror-no-module-named-image%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
What is your Ubuntu version?
– N0rbert
Sep 29 at 7:30