By Rago72

2019-06-01 08:49:46 8 Comments

I am trying to setup a conda environment in windows command promt so I can create a python discord bot but I get an error, I tried creating the environment in Anaconda prompt and it worked but pycharm didn't recognise it. How do I create the environment in windows promt so it is recognised by pycharm and so that when I import discord, it can be used normally. (Currently says there's no module named discord even though I installed it). I am using this tutorial : Conda env setup video for discord bot , around minute 7:05 of the video is when this youtuber starts explaining how to create a conda env and he gets no errors while I do. This is the error I get :

C:\Users\PC>conda create -n bot python=3.6

WARNING: The conda.compat module is deprecated and will be removed in a future release. Collecting package metadata: failed

CondaHTTPError: HTTP 000 CONNECTION FAILED for url Elapsed: -

An HTTP error occurred when trying to retrieve this URL. HTTP errors are often intermittent, and a simple retry will get you on your way.

If your current network has blocked, please file a support request with your network engineering team.

SSLError(MaxRetryError('HTTPSConnectionPool(host=\'\', port=443): Max retries exceeded with url: /pkgs/msys2/win-64/repodata.json.bz2 (Caused by SSLError("Can\'t connect to HTTPS URL because the SSL module is not available."))'))

I have installed python 3.6.8. which is needed for this to work but the problem seems to be with the windows promt error, 10:40 minute mark of the tutorial is when he starts setting up a configuration for his project and his environment has a python symbol but mine has a conda symbol because I used Anaconda powershell to setup the env which obviously doesn't work. And I tried setting it up in windows promt but I get the error shown above. So how do I fix this?


@Rago72 2019-06-01 12:32:19

I found the solution, I just needed to put the interpreter as python rather than anaconda.

Related Questions

Sponsored Content

15 Answered Questions

[SOLVED] Conda environments not showing up in Jupyter Notebook

1 Answered Questions

[SOLVED] Cannot create environment in anaconda, update conda , install packages

1 Answered Questions

0 Answered Questions

error setting anaconda python 3.7 interpreter on pycharm

0 Answered Questions

How to install imutils using Conda command?

1 Answered Questions

Installation tensorflow with conda

1 Answered Questions

i have proxy error while installing igraph in anaconda in windows 10,python 3.7

0 Answered Questions

Conda error: 'Solving environment: failed'

1 Answered Questions

install python healthcareai using anaconda error

  • 2018-05-15 08:03:49
  • Basheer Ahmed
  • 110 View
  • 0 Score
  • 1 Answer
  • Tags:   python-3.x anaconda

Sponsored Content