I installed the latest version of Anaconda on the official website and installed it according to the online tutorial. But when I clicked and ran Anaconda Navigator, the program disappeared after the black box popped up, and then there was no response.
I tried to "conda info --envs", then it give "base * C:\ProgramData\Anaconda3"
I tried to "conda install -c anaconda anaconda-navigator", then it give "CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://conda.anaconda.org/anaconda/win-64/current_repodata.json
Elapsed"
my user env variable is "C:\ProgramData\Anaconda3\;C:\Program Files\Python37\"
I expect Anaconda can be run and the reason why it doesn't work, though it is download by official website.
download complete anaconda package
https://www.anaconda.com/distribution/#download-section
and the navigator will be installed automatically
Related
I am attempting to run a script that uses pathos.multiprocessing. I could not find it in "All" packages for the relevant environment in Anaconda Navigator and so opened a Terminal Window from Navigator. I then typed:
pip install pathos
Which returned the message "Successfully installed". I still could not see the package in the list of packages for that environment and thus believed I have only downloaded, not installed the package. So I then ran, again from the same Navigator Terminal Window;
conda install pathos
Which returned the error
The following packages are not available from current channels: pathos
I do not understand as I thought I had already successfully downloaded using my pip install command. What is the error in my approach?
Updating spyder does nothing. My system is still stuck on V3. Can someone help me get this onto V4 please?
I start the Anaconda navigator.
I start Spyder V3.3.6
A prompt informs me that Spyder 4.0.1 is available.
I follow the instructions at : https://docs.spyder-ide.org/installation.html
Open an Anaconda command window and type: conda update spyder
Get the following:
(base) C:\Users\user>conda update spyder
Collecting package metadata (current_repodata.json): done
Solving environment: \
Updating spyder is constricted by
anaconda -> requires spyder==3.3.6=py37_0
If you are sure you want an update of your package either try `conda update --all` or install a specific version of the package you want using `conda install <pkg>=<version>`
done
# All requested packages already installed.
run conda update anaconda to update your anaconda version then update your spyder version using conda update spyder
I am listing all my steps, as I'm not sure exactly what steps permitted what other steps.
I also had Anaconda installed for managing and using Spyder 3.3.6. When I ran Spyder, I get the message Spyder 4.1.5 is available!. I ran Anaconda Navigator as Administrator, and in the Home tab, the Spyder Settings menu showed Update Application grayed out. This persisted even if I entered the Environments Tab and clicked on Update Index....
I opened an Anaconda Prompt as Administrator and ran:
conda update --all
conda update conda
conda update anaconda
conda update spyder
I also got the following message:
Updating spyder is constricted by
anaconda -> requires spyder==3.3.6=py37_0
If you are sure you want an update of your package either try `conda update --all` or install a specific version of the package you want using `conda install <pkg>=<version>`
done
# All requested packages already installed.
I closed the Anaconda Prompt and opened a new one, in case that was needed for the updated Anaconda to work. I re-issued condate update spyder but got the same message as above. I confirmed that Spyder is still at version 3.3.6.
I re-ran Anaconda Navigator. This time, Spyder's Update Application was not grayed out, but clicking on it only caused a brief spinning circle. The Spyder version was not updated. I re-entered the Environments tab and re-clicked on Update Index... and waited for it to finish. In Anaconda Navigator's Home tab, in Spyder's Settings menu, I was then able to Install specific version > 4.1.5.
I'm brand new to Python. I've been using Python through Anaconda. I'm running Python 3.6.5. Right now, I'm trying to install a package called USZIPCODE from https://pypi.org/project/zipcodes/. I downloaded the zip file from this site in to my downloads folder. I then tried to use $ pip install uszipcode from the CMD prompt. This doesn't work. "Invalid Syntax" is returned. I've looked at videos on how to use pip to install other packages but they have not been able to solve my problem. The picture below should give some insight in to the issue. Any pointers on how I can install this package into python? Thank you! enter image description here
2 years too late to help bbranham, but for other Anaconda Python beginners having trouble using pip install, use the "Anaconda Powershell Prompt". For instance, on Windows 7:
Hit the windows key and type "Anaconda Powershell Prompt" and select in the search bar to open the Anaconda Powershell cmd prompt.
If you are using different environments make sure to activate your environment with conda activate yourenvname
pip install uszipcode should work out then (to download and install the uszipcode package to your active anaconda environment).
I have been trying to run Javascript from a Jupyter Notebook on Windows 10 but failed miserably. It seems I cannot install IJavascript to make it available.
All installation guides say to use Anaconda for IJavascript - so I did, but I CANNOT FIND IJAVASCRIPT anywhere within Anaconda, only the js packages, i searched everywhere there was a search bar available. So, because I am stubborn i tried the hard way:
Installed all javascript packages except mocha (which cannot be found) listed here:
https://anaconda.org/javascript/repo
then tried
npm install -g ijavascript
but keep getting this error:
c:\users\ryuuzako\anaconda3\scripts\node_modules\ijavascript\node_modules\nan\nan_json.h(89): error C2660: 'v8::JSON::P
arse': function does not take 2 arguments [C:\Users\ryuuzako\Anaconda3\Scripts\node_modules\ijavascript\node_modules\ze
romq\build\zmq.vcxproj]
"Javascript" type does not appear when creating a new file in Jupyter, my guess is because ijavascript is not installed..
ANY suggestion to make it work is greatly appreciated.
I can provide the whole npm log but it is humongous.
Feel free to assume i am a complete idiot who didn't work with node before.
I've just forked ijavascript and edited the documentation for the Windows installation section as shown below.
Windows
Install Python3 or the Anaconda3 Python distribution.
In the command line:
pip3 install --upgrade pip
pip3 install jupyter
npm install -g ijavascript
ijsinstall
If the ijinstall command is not recognized, you can execute it manually by navigating to your npm install directory and running the ijinstall batch file. If you do not know where your npm install is located, try looking for it in the default install location: C:\Users\USERNAME\AppData\Roaming\npm.
Then you can run jupyter notebook in your terminal to load Jupyter Notebook. When you create a new Jupyter Notebook, you should see the Javascript (Node) kernel available.
If using the Anaconda alternative to the standard Python distribution, it comes pre-installed with Jupyter Notebook. If using Anaconda, you can skip the pip3 install jupyter step.
This picture might also help, when it comes to the ijinstall part.
I struggled with this as well. After installing by running commands:
pip install jupyter
npm install -g ijavascript
You will need to update the environment variable named 'Path' in the 'System Variables' section.
In Windows 10, Python 3.10, the path to add looks like:
C:\Users\your-windows-user\AppData\Roaming\Python\Python310\Scripts
After changing the environment variable, you will need to re-start the computer for it to take effect.
Once this is done, run:
ijsinstall
in the command prompt and you should be good to go.
This also happeed to me.
First thing install anaconda after that(by default you have installed jupyter),
then search in your menu apps for anaconda prompt, then install ijavascript from anaconda prompt:
npm install -g ijavascript
ijsinstall
then run jupyter from anaconda prompt
jupyter notebook
I had Anaconda installed on Windows 8.1 and Jupyter notebook was working just fine with Julia and Python. I tried to install R kernel, however, it resulted in an error that some dependencies are needed, so I installed "m2w64-zlib" library in Anaconda then I installed R using this command "conda install -c r r-essentials" and I needed to update anaconda, so I did. After finishing all installations and updates Jupyter doesn't work. It just opens for a second and then switches off without opening the notebook in my browser.
I dont write code in "R" but Anaconda provides a few steps on how to get "R" working. Follow the steps in this link, Hope it helps:
https://docs.continuum.io/anaconda/r_language
It works now fine.
I uninstalled ipython
conda uninstall ipython
then installed Jupyter.
conda install jupyter