LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 12: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, 05:25 AM   #2
rbtylee
Bodhi Developer
 
Registered: Jun 2018
Location: Ladson, SC US
Distribution: Bodhi
Posts: 454

Rep: Reputation: 437Reputation: 437Reputation: 437Reputation: 437Reputation: 437
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 05:55 AM
Slackware 14.2 + pycharm and mysql problem thiagofw Slackware 4 03-04-2017 09:51 PM
LXer: A look at PyCharm - The Best Python IDE For Linux LXer Syndicated Linux News 0 11-25-2016 05:33 PM
[Python] How can I install libraries and add to pycharm? samanka80 Programming 3 08-02-2015 09:14 AM

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

All times are GMT -5. The time now is 10:25 AM.

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
Open Source Consulting | Domain Registration