Python: library is installed through command line but not available in Spyder IDE?
Based on your comments, your Spyder installation is running in a different environment than pip.
Your pip environment uses: C:\Users\Preston_Jarvis\AppData\Local\Programs\Python\Python39\python.exe
, but your instance of Spyder uses: C:\Program Files\Spyder\Python\python.exe
.
You can change the path to the Python interpreter that Spyder uses by:
- Tools > Preferences [Open Preferences pane]
- Python Interpreter (side tab) > Python Interpreter (sub window)
- select the radio button "Use the following Python interpreter"
- enter the path to the interpreter used by pip:
C:\Users\Preston_Jarvis\AppData\Local\Programs\Python\Python39\python.exe
Packages installed on Anaconda, but can't access in Spyder or Jupyter
Please show how you attempted to import the package on your respective IDE, whether Spyder/Jupyter. Do comply to SO's guidelines before posting questions.
Without delay, this may be an error due to missing module retrying
, a dependency for plotly
To solve this, please attempt to install retrying
via pip install retrying
Spyder history pane issues
(Spyder maintainer here) This is a bug in Spyder, which will be fixed in version 5.2.2, to be released in January 2022.
Related Topics
Grab a Number After a String in a File
Splitting Timestamp Column into Separate Date and Time Columns
How to Cleanly Uninstall Ansible
How to Change the Title Bar in Tkinter
Python Json Add Key-Value Pair
Turn String into a List and Remove Carriage Returns (Python)
Change Date Formats in CSV With Python 3
How to Assign Values to a Numpy Array as a Function of Index
Python: How to Keep Repeating a Program Until a Specific Input Is Obtained
Concatenate Two Columns in Csv: Python
Converting Two Lists into a Matrix
Converting Json into Newline Delimited Json in Python
What Is the Correct Way to Make My Pyqt Application Quit When Killed from the Console (Ctrl-C)
Suppress Stdout/Stderr Print from Python Functions
How to Convert a List of Dictionaries to Json in Python/Django
How to Read a Column Without Header from CSV and Save the Output in a Txt File Using Python