PyCharm doesn't recognise installed module

I'm having trouble with using 'requests' module on my Mac. I use python34 and I installed 'requests' module via pip. I can verify this via running installation again and it'll show me that module...

How to make Anaconda work behind HTTP proxy (not https)?

I'm having trouble working with Anaconda behind a proxy at work. When I have have the following environment variables: http_proxy: http://domain\username:[email protected]:8080 https_proxy:...

anaconda update all possible packages?

I tried the conda search --outdated, there are lots of outdated packages, for example the scipy is 0.17.1 but the latest is 0.18.0. However, when I do the conda update --all. It will not update...

The Anaconda launcher takes long time to load

I'm new to coding and decided to install Anaconda because I heard it was the most practical platform for beginners. The problem is, every time I try opening it, it literally takes at least 15...

PyInstaller with Pandas creates over 500 MB exe

I try to create an exe file using PyInstaller 3.2.1, for test purpose I tried to make an exe for following code: import pandas as pd print('hello world') After considerable amount of time...

How to change the default browser used by jupyter notebook in windows

I'm on a windows machine without admin right and I would like to run jupyter on chrome, while the default browser is another. I have a local installation of the Anaconda distribution and my first...

startup script on GCP instance fails at wget

Does anyone know what the issue might be? Seems similar to this issue on AWS. This guy seems to run wget without failure on GCP but my script provided below fails. It is not unique to wget for...

Issues with installing python libraries on Windows : CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://conda.anaconda.org/anaconda/win-64

I'd like to install the pymongo library but I'm getting the following error: (C:\Users\xxxxxxx\AppData\Local\Continuum\anaconda3) C:\Users\xxxxxxx> conda install -c anaconda pymongo ...

Debugging on Pycharm while using Anaconda Env

I've changed interpreter to use an environment i've created on Anaconda. I used it to install tensorflow on Win10. If I try to run a script everything works If I try to debug any script (even...

OSError: [Errno 48] Address already in use

I'm trying to setup a server from Mac terminal. I've established a connection on port 5000 and want to open another port in 5002 using this command: python Blockchain.py -p 5002 But this gives...

DPI-1047: 64-bit Oracle Client library cannot be loaded

I am trying to run oracle database in python. Specifications: Windows 7 64 bit Python 32 bit 3.6 (Running on Jupyter(Anaconda Navigator) 3.Visual studio 2010 training kit module 4.Oracle instant...

PATH not updated correctly from conda activate in VSCode's terminal

I am using VSCodes terminal pane. I activate a conda environment. For some reason, the python command is still set to /usr/bin/python, instead of the correct path to the conda environment. % conda...

How do I check condition during XML parsing using Python ElementTree

I am trying to parse an XML using ElementTree and get all the required fields. Problem : My list is getting empty , condition that i am trying is- If reference('type') == 'cve' then i...

Python-camelot (Error: GhostscriptNotFound while it is installed)

I am trying to extract tabular data from pdf using camelot and I am getting the following error. ###Code: tables = camelot.read_pdf(file_name) ###Error: GhostscriptNotFound: Please make sure...

timeit ValueError: stmt is neither a string nor callable

I played with timeit in Python, got a weird problem. I define a simple function add. timeit works when I pass add two string parameters. But it raises ValueError: stmt is neither a string nor...

Installed PyCharm and Anaconda, but Can't Enable Pandas and NumPy

I type in import pandas as pd and it returns ModuleNotFoundError. I opened PyCharm in a Conda environment, so I am very confused.

conda build and conda install using different version of the same dependencies, why?

in our CI process we do the following things: create a whole new conda enviorment for this CI pipeline create a conda package using conda build, the output folder is set to ./build install the...

Python - Activate conda env through shell script

I am hoping to run a simple shell script to ease the management around some conda environments. Activating conda environments via conda activate in a linux os works fine in the shell but is...

Bash Error: No Such File or Directory after Uninstalling Anaconda

After Uninstalling Anaconda I get a "No such file or directory" error in Git Bash each time I open the prompt.I am using Windows 10 Git Bash. I've looked at all my PATH variables and none of them...

Conda downgrade numpy version

I need to downgrade numpy version: python -c "import numpy; print(numpy.__version__)" 1.16.4 conda install numpy==1.14.3 Collecting package metadata (current_repodata.json): done Solving...

Module Not Found Error when importing Pytorch_Transformers

After downloading pytorch_transformers through Anaconda and executing the import command through the Jupyter Notebook, I am facing several errors related to missing modules. I tried searching...

MLFlow Projects can't find conda executable

I am following the tutorial on MLFlow website. I was able to run the train.py and mlflow ui worked fine. Packaging the project tries to use env variable MLFLOW_CONDA_HOME but can't find conda. I...

Cannot get Jupyter Notebook To Run - "Cannot Import Name AsyncGenerator"

Anyone have any suggestions on how to fix this problem? I am NOT using Anaconda. The version of Jupyter I have is 1.0.0. Traceback (most recent call last): File "c:\python36\lib\runpy.py",...

How to remove an application "tile" from Anaconda Navigator Home tab

I have a bunch of apps that I will never use (GLueviz, Orange3, Rstudio) that I would like gone from my Home tab. They are not installed, but there is no way to remove the tile for the app. The...

Stuck at Solving Environment on Anaconda

I am running OSX Catalina. After downloading Anaconda, I'm having trouble downloading external packages. I tried in both the GUI and the terminal, but the process keeps getting stuck at "Solving...

Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized

Operating System: Window10 I use spyder (python3.8) in anaconda and after run the code, I get the following error: [SpyderKernelApp] WARNING | No such comm: df7601e106dd11eba18accf9e4a3c0ef OMP:...

why we different environments in Anaconda?

I am not sure why we need to create a different environment in anaconda? To do that, we have to download some python libraries like matplotlib etc. again in that environment which will consume...

ERROR: (wheel).whl is not a supported wheel on this platform

I'm trying to build Tensorflow from source (if I install directly it works fine but I'm trying to get AVX2/FMA extensions support as I can't use CUDA/GPU) and I'm following this tutorial to build...

I want to run .ipynb file in batch script

I have a .ipynb file named "prod.ipynb" i want to run it in a batch script and i want to schedule it in task scheduler. I installed Anaconda, and when i was trying to run it by converting to...

Mac M1 - The Kernel appears to have died. It will restart automatically

I have just bought a new Macbook M1, and am struggling to use Jupyter notebook in it. These are the steps that I followed so far: 1. Installed Homebrew 2. Installed pyenv 3. brew install...