Closed JackStBees closed 3 weeks ago
Hi @JackStBees seems like you are using Spyder from the standalone installers right? If that is the case, you will need to set as Spyder interpreter the one of the env where you installed pyserial
. For more info, you can check the FAQ entry How do I install Python packages to use within Spyder if I downloaded Spyder from the standalone installers?
over the Spyder doc page: https://docs.spyder-ide.org/current/faq.html#using-spyder
Let us know if the info above helps!
Thanks for your very fast response. The problem was to do with the conda environments, which I did not understand at all. I got to the bottom of it with help from https://carpentries-incubator.github.io/introduction-to-conda-for-data-scientists/02-working-with-environments/index.html, which was very helpful. It's all working now. Regards... Jack
From: Daniel Althviz Moré @.> Sent: 29 August 2024 22:53 To: spyder-ide/spyder @.> Cc: JackStBees @.>; Mention @.> Subject: Re: [spyder-ide/spyder] importing a newly installed module in updated Spyder/Python (Issue #22398)
Hi @JackStBeeshttps://github.com/JackStBees seems like you are using Spyder from the standalone installers right? If that is the case, you will need to set as Spyder interpreter the one of the env where you installed pyserial. For more info, you can check the FAQ entry How do I install Python packages to use within Spyder if I downloaded Spyder from the standalone installers? over the Spyder doc page: https://docs.spyder-ide.org/current/faq.html#using-spyder
Let us know if the info above helps!
— Reply to this email directly, view it on GitHubhttps://github.com/spyder-ide/spyder/issues/22398#issuecomment-2319099398, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BK4IV33YII6BUKUP2B7VZCLZT6J7LAVCNFSM6AAAAABNLGXIGWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJZGA4TSMZZHA. You are receiving this because you were mentioned.
Issue Report Checklist
conda update spyder
(orpip
, if not using Anaconda)jupyter qtconsole
(if console-related)spyder --reset
Problem Description
I have updated to Spyder 5.5.6 and "import serial" gives the ModuleNotFoundError message. I've reinstalled pyserial with "conda install pyserial" from the Anaconda Prompt terminal and tried to follow the help in the wiki "Working with packages and environments in Spyder" (The most common problem: Using newly-installed packages inside Spyder), but no luck.
I think there might be a problem with my environment. How do I know what environment pyserial was installed in?
What steps reproduce the problem?
What is the expected output? What do you see instead?
Paste Traceback/Error Below (if applicable)
Versions
Dependencies