question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Have pptx installed with Anaconda3 but could not locate module pptx

See original GitHub issue

sample code:

from pptx import Presentation
prs = Presentation()
title_slide_layout = prs.slide_layouts[0]
slide = prs.slides.add_slide(title_slide_layout)
title = slide.shapes.title
subtitle = slide.placeholders[1]
title.text = "Hello, World!"
subtitle.text = "python-pptx was here!"
prs.save('test.pptx')

error message: from pptx import Presentation ModuleNotFoundError: No module named ‘pptx’

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
minh-nguyen-vacommented, Mar 19, 2018

It turned out that one of the three systems that worked has this installed (Anaconda3-5.0.1-Windows-x86_64) . The other systems had an older version that was installed approximately 2 years ago.

Thanks for responding to my question and sorry for being ‘uncool’ to you.

Minh

0reactions
minh-nguyen-vacommented, Mar 20, 2018

You are very gracious.

Thanks

Minh

On Mar 19, 2018 7:26 PM, “C.A.M. Gerlach” notifications@github.com wrote:

Thanks for responding to my question and sorry for being ‘uncool’ to you.

Don’t worry, we all make mistakes, especially in languages other than our native tongue.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/spyder-ide/spyder/issues/6751#issuecomment-374419988, or mute the thread https://github.com/notifications/unsubscribe-auth/AFBRbGGbFOgiE63FtJEjy9tnocoAmk8Bks5tgD6VgaJpZM4SpRCO .

Read more comments on GitHub >

github_iconTop Results From Across the Web

Spyder Anaconda (Python 3.6) Module pptx not found error ...
I have a simple Python code to generate a PowerPoint slide. ... from pptx import Presentation ModuleNotFoundError: No module named 'pptx'.
Read more >
Python Pptx - :: Anaconda.org
Generate and manipulate Open XML PowerPoint (.pptx) files. Conda · Files · Labels · Badges ... conda install -c "conda-forge/label/cf201901" python-pptx
Read more >
Install Python Packages with pip and conda - YouTube
The package managers "pip" and "conda" allow users to install, update, or uninstall Python modules from a command line or directly from a ......
Read more >
Python can't find module installed in anaconda
Run it and you'll get a python interpreter which looks at anaconda3's lib directory for 'conda install package' installed modules.
Read more >
Working with Presentations - python-pptx - Read the Docs
Opening a presentation¶ · The so-called “default template” is actually just a PowerPoint file that doesn't have any slides in it, stored with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found