I can also start a jupyter notebook in this same environment and import pandas without issue.Įven in Microsoft Studio 2017, once I switch the interactive window to scraper2, when I begin to type 'import num' the completion text shows 'numpy' as an option with a little package icon (along with another package 'numbers' that I can import without issue). Investigating this environment ( conda activate scraper2) I am able to start Idle and 'import pandas as pd' or 'import numpy' without an error. (this editor doing odd things with my text, the yml file has the dependencies on separate lines) ![]() Which I created with (I think) this conda prompt command: conda env create -f filename.yml. The conda environment was created with this environment file: ![]() When I had this same difficulty, I tried creating a new conda env from scratch with just a few packages in it (python, numpy, pandas, jupyter). I was originally working on a Python application and realized that I would like to use Numpy and so tried to add it to that environment (not shown here) called scraper. I get an error message that I'm missing a required dependency - numpy. In Visual Studio 2017, trying to Python import pandas from an interactive window in an environment called 'scraper2'.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |