Comments (10)
Hooray!!! I followed the 1st four bullet points from above and now everything is working fine (including calling scikit-misc
)! Thanks so much for helping out so much with these issues, really appreciate! :)
from comp-econ-sp19.
That's strange. Try restarting jupyter completely. I can't say for sure. Maybe you could share the terminal output you get after you install 'scikit-misc'. We could try some other things after that
from comp-econ-sp19.
I tried restarting Jupyter and the kernel but the same error keeps appearing. Here is a screenshot of my terminal output after trying install 'scikit-misc' again:
from comp-econ-sp19.
Hmm. You might have an issue of having multiple installations of python. Try running the following commands in the command line: which pip
and which python
. Do this in the regular command prompt and the anaconda command prompt. Copy and paste the results for each.
from comp-econ-sp19.
I've tried using which pip
and which python
in both the regular command prompt and Anaconda command prompt but neither seem to recognize which
as a command.
from comp-econ-sp19.
Could you try the same thing with where
? If that doesn't work, it might be best to try to work through the issue in Ari's office hours tomorrow.
from comp-econ-sp19.
I tried using where
and it does tell me where my installation of pip
and python
are... I don't think this indicates that I have multiple installs of Python but I wouldn't sure of that.
from comp-econ-sp19.
I'm assuming that you installed Anaconda and are using Anaconda. The path that is returned is not the default path for an Anaconda installation. It looks like you have a second installation of Python on your computer. (https://xkcd.com/1987/ :) ) Try these things:
- run `pip install scikit-misc' in the Anaconda prompt. See if that fixes things.
- If that doesn't work, try opening control panel and go to "add or remove programs". Look for a non-Anaconda version of Python 3.7 and uninstall it. Then try the previous step again.
from comp-econ-sp19.
I've tried the above after uninstalling a non-Anaconda version of Python but it doesn't seem like anything was resolved - there is now another more urgent issue of a Kernel error I am now receiving in every jupyter notebook: "FileNotFoundError: [WinError 2] The system cannot find the file specified" :(
Do I have to re-install Python again?
Edit: Or could this possibly be an error with my PATH variables?
from comp-econ-sp19.
Oh no! Sorry this is such a pain. Ok. It seems like the issue is that Jupyter notebook has been configured to run with a different Python installation than the one that was installed by Anaconda. You need to change the settings to let Jupyter know to use the Anaconda one. Try this.
- Make sure all other command prompt are closed. Make sure Jupyter and all anaconda apps are closed.
- Open the anaconda prompt (it's important to use the Anaconda prompt)
- Run this command:
python -m ipykernel install --user
- Then type
jupyter notebook
- Try running your file again and see if that fixed the issue.
- If it didn't work, run this in an Anaconda prompt:
jupyter kernelspec list
- Open File Explorer and delete the file that is returned by the command
jupyter kernelspec list
- Try again to see if this fixed the problem. If not, uninstall Anaconda. Uninstall all Python programs you can find. Install Anaconda from scratch.
Here are my references:
from comp-econ-sp19.
Related Issues (20)
- mle_args HOT 1
- Dealing with NaN Values HOT 3
- Correct Queries, Consistent Issues Running Database HOT 1
- Optimizer not working but generating correct log-likelihood values HOT 1
- Kaggle Not Running HOT 1
- wrong value for Q1 HOT 3
- Ari's monday office hours HOT 1
- Difference between value function and policy function HOT 1
- McCall Wage Values HOT 2
- Typo in HW 7
- HW7 eatCake graphs & output HOT 1
- McCall Modification HOT 1
- EatCake Problem 1 HOT 3
- Replicate Bresnahan Reiss-1991 Solutions Question HOT 1
- issue with HW7 Q5 HOT 1
- Final Review HOT 1
- Using opt.minimize on discrete data HOT 3
- Questions for Bresnahan HW HOT 1
- office hours today HOT 1
- MLE for Bernoulli distribution HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from comp-econ-sp19.