LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-11-2018, 01:26 PM   #1
vysero
Member
 
Registered: May 2018
Posts: 137

Rep: Reputation: Disabled
Anyone use PyCharm? pip and pycharm communication issues


Having trouble figuring out how to tell PyCharm where to look for modules. For instance, I downloaded serial in the terminal through pip and I can run scripts in the terminal. However, if I try to run the same script in PyCharm it says it can't find the moduel. I find this odd because in the Project Interpreter settings for PyCharm it shows that python 3.5 is the interpreter and that pip is an installed package.
 
Old 06-12-2018, 06:25 AM   #2
rbtylee
Bodhi Developer
 
Registered: Jun 2018
Location: Ladson, SC US
Distribution: Bodhi
Posts: 230

Rep: Reputation: 235Reputation: 235Reputation: 235
While I don't use PyCharm there is a stackoverflow thread that addresses this issue: How do I import modules in pycharm?

It seems you have to add the path in PyCharm settings under File → Settings → Project Settings → Project Interpreter. The specific menu location may vary depending upon what version of the program you are using.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How To Install PyCharm on Ubuntu 16.04 LXer Syndicated Linux News 0 03-31-2018 06:55 AM
Slackware 14.2 + pycharm and mysql problem thiagofw Slackware 4 03-04-2017 10:51 PM
LXer: A look at PyCharm - The Best Python IDE For Linux LXer Syndicated Linux News 0 11-25-2016 06:33 PM
[Python] How can I install libraries and add to pycharm? samanka80 Programming 3 08-02-2015 10:14 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration