I have been using anaconda for a while, and its Python executable is located at /Users/ufo/opt/anaconda3/bin/python. I have tried to create an environment with conda, and the new environment would use copy this Python to environment’s bin. However, with current Anaconda versation, the new environment will not use anaconda’s Python, but use the original Python pre-installed with Mac OS, which
Tag: anaconda
Django Pyinstaller .EXE gives me ModuleNotFoundError: No module named ‘app.urls’
I am trying to run a Django project using an EXE file compiled using Pyinstaller. But when I run the compiled .EXE file using this command I get ModuleNotFoundError: No module named ‘app.urls’ and another OsError: [WinError 123]. I will explain how I setup this stuff later. Here is the full error when I run the .EXE file: First I
Anaconda (Python) – Cmder integration on Windows 10
I’m having some troubles in having Cmder working with Python through Anaconda on Windows 10 64bit. I got Anaconda working pretty well, tested to plot something with matplotlib and it works just great with Anaconda Prompt. However, if I try to run the same .py file under Cmder, I got the following error: I guess it has something to do
Anaconda-Jupyter Doesn’t open in browser
I installed Anaconda 3.7 on UbuntuĀ 18.04 (Bionic Beaver). Installation was successful. When I tried to start Jupyter Notebook from navigator it throws the following error. Access to the file was denied The file at file:///run/user/1000/jupyter/nbserver-26395-open.html is not readable. It may have been removed, moved or file permissions may be preventing access. Answer I think you have changed your default browser
Why do I get this import error when I have the required DLLs?
getting this error Answer According to this github issue https://github.com/hmmlearn/hmmlearn/issues/87 “The solution is to install mkl.” General advice in case like this is to google last two lines of the stack trace, usually you will find a github or similar thread about it.
Installation issues with PyMC3
I was installing PyMC3 via Anaconda. The transaction execution was done. Post this action, my Anaconda console closes immediately on open. Unable to import PyMC3 module as well. Below is the error message that pops up before the console closes. I manage to capture a screen shot of it when it momentarily flashed. I have also attached the warning I
‘Unable to import’ errors for anaconda environment in VS Code
I am trying to solve partial differential equations with Python using FEniCS. I installed it with anaconda and conda-forge and to use it, I activate the fenicsproject environment I run my scripts in jupyter (that works), but often it is more convenient to use VS Code for more elaborate code. When I run the scripts written in VS Code in
Anaconda/conda/python/Windows: how to start and activate a conda environment?
I have Python 3.5 (3.5.6) installed via Anaconda, and now I’d like to be able to use Python 3.7, keeping 3.5 as the default (the one python “insert script name” would run on the command line). I commanded the computer to activate it, but it isn’t working. Answer In the Start menu you have to open “Anaconda Prompt” which is
Code works line-by-line in Spyder, but not when the whole script is run
I’ve installed pystan and am trying to verify that the installation has worked correctly. When I go to the IPython console in Spyder and run the following code line by line, it generates the correct answer. The line calling pystan.StanModel takes about 30 seconds, while the other lines execute instantaneously. In the end I get the right result (about 0,
How to add conda environment to jupyter lab
I’m using Jupyter Lab and I’m having trouble to add conda environment. The idea is to launch Jupyter Lab from my base environment, and then to be able to choose my other conda envs as kernels. I installed the package nb_conda_kernels which is supposed to do just that, but it’s not working as I want. Indeed, let’s assume I create