![]() However, if you're installing packages with pip, conda-forge, Github, or custom channels, working on multiple major projects at once, using prebuilt environments, or otherwise have more sophisticated needs, you'll likely want to use one or more separate environments for your packages. ![]() import'ing it into your scripts, packages or a Spyder IPython console), the simplest way to do so is to install the package into the same environment in which you installed Spyder, typically by the same means you installed Spyder (conda, pip, package manager, etc). Export basic data fields, such as symbols. ![]() Therefore, if you'd like to use a package with your existing Spyder install (e.g. Export and import portfolio data in Yahoo Finance Importing and exporting portfolio data can only be done from a desktop browser. If you installed Spyder into a specific environment (conda-env or venv), or it came with a pre-configured one (like those for Keras or TensorFlow) and launched it from there, it will only have access to packages from that environment. If you use a system package manager (apt-get, dnf, emerge, etc) to install Spyder, this will typically be your system Python and its library of packages. If Spyder is installed via pip (experts only) and not into a virtualenv/venv, this will usually be whatever Python installation pip itself belongs to. Without modifying anything, this will be the default base Anaconda Via a shortcut, from Anaconda Navigator or from Anaconda Prompt If Spyder is installed with Anaconda (as we recommend) and launched Spyder is a Python package just like any other you may be used to, and so you can import any package within its Console or Editor as you could from a regular Python or IPython terminal launched in Spyder's environment: Installing packages into the same environment as Spyder Basically your error message it because Spyder isn't configured to work with conda's environment.Ĭheck this link here and the possibles solutions from it:
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |