If you try to install future packages in another environment (like myenv), you'll get the same ModuleNotFoundError. Activate the environment in which Spyder is installed and install your package on it (see next section).If the resulting paths are different, then you have three choices: ![]() If the resulting paths are the same, then Spyder and the package are in the same environment, and import foo shouldn't produce an error (or else there is likely an unrelated issue with your installation). Start Spyder and run the same command shown in Step 3 in a Console. The most common problem: Using newly-installed packages inside SpyderĪfter installing a package (let's call it foo) outside Spyder, users may encounter an error trying to import it inside the IDE:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |