Anaconda

ModuleNotFoundError: No module named 'fasttext'

大憨熊 提交于 2020-07-20 10:35:35
问题 I have tried installing fasttext through conda using two channels: conda install -c conda-forge fasttext and conda install -c conda-forge/label/cf201901 fasttext as per (https://anaconda.org/conda-forge/fasttext). I am using the following command to import: import fasttext However, the import fails with the error: ModuleNotFoundError Traceback (most recent call last) in ----> 1 import fasttext ModuleNotFoundError: No module named 'fasttext' However, tried to import it in an older fashion

ModuleNotFoundError: No module named 'fasttext'

左心房为你撑大大i 提交于 2020-07-20 10:35:03
问题 I have tried installing fasttext through conda using two channels: conda install -c conda-forge fasttext and conda install -c conda-forge/label/cf201901 fasttext as per (https://anaconda.org/conda-forge/fasttext). I am using the following command to import: import fasttext However, the import fails with the error: ModuleNotFoundError Traceback (most recent call last) in ----> 1 import fasttext ModuleNotFoundError: No module named 'fasttext' However, tried to import it in an older fashion

installed Pyperclip, trouble importing to IDLE

…衆ロ難τιáo~ 提交于 2020-07-19 12:19:55
问题 I am currently learning my very first computer language and have chosen to go the python route. Very Excited! However, I have come across an error just over my head while trying to install and import pyperclip. After successfully installing pyperclip into the terminal, I get... Requirement already satisfied: pyperclip in ./anaconda/lib/python3.5/site-packages However, when I go to IDLE and import pyperclip, I get... ImportError: No module named 'pyperclip' Do I have to install pyperclip a

plotly orca not working on aws ec2 instance

…衆ロ難τιáo~ 提交于 2020-07-19 11:08:48
问题 I followed this to install conda plotly-orca on an AWS EC2 instance (built on anaconda-python3 image) but hit Cannot open shared object error when orca is invoked. The fix is to install libgtk2.0-0 and libgconf-2-4 packages which unfortunately are not available on AWS EC2 linux distribution (non ubuntu ). So I downloaded this standalone orca-1.3.1.AppImage for linux. I use --appimage-extract to extract orca-1.3.1.AppImage to /home/ec2-user/squashfs-root folder and run: xvfb-run --auto

plotly orca not working on aws ec2 instance

家住魔仙堡 提交于 2020-07-19 11:08:06
问题 I followed this to install conda plotly-orca on an AWS EC2 instance (built on anaconda-python3 image) but hit Cannot open shared object error when orca is invoked. The fix is to install libgtk2.0-0 and libgconf-2-4 packages which unfortunately are not available on AWS EC2 linux distribution (non ubuntu ). So I downloaded this standalone orca-1.3.1.AppImage for linux. I use --appimage-extract to extract orca-1.3.1.AppImage to /home/ec2-user/squashfs-root folder and run: xvfb-run --auto

plotly orca not working on aws ec2 instance

痞子三分冷 提交于 2020-07-19 11:07:50
问题 I followed this to install conda plotly-orca on an AWS EC2 instance (built on anaconda-python3 image) but hit Cannot open shared object error when orca is invoked. The fix is to install libgtk2.0-0 and libgconf-2-4 packages which unfortunately are not available on AWS EC2 linux distribution (non ubuntu ). So I downloaded this standalone orca-1.3.1.AppImage for linux. I use --appimage-extract to extract orca-1.3.1.AppImage to /home/ec2-user/squashfs-root folder and run: xvfb-run --auto

Installing PyTorch via Conda

荒凉一梦 提交于 2020-07-18 14:25:27
问题 Objective: Create a conda environment with pytorch and torchvision. Anaconda Navigator 1.8.3, python 3.6, MacOS 10.13.4. What I've tried: In Navigator, created a new environment. Tried to install pytorch and torchvision but could not because the UI search for packages does not find any packages available matching pytorch, torch, torchvision, or similar strings. conda install pytorch torchvision -c pytorch conda update --all pytorch 0.3.1, torch 0.3.1, and torchvision 0.2.0 now appear as

Set my jupyter notebook to use python version of an enviroment

只谈情不闲聊 提交于 2020-07-18 06:24:09
问题 I opened a jupyter notebook from an anaconda enviiroment but the kernel uses a default version of python instead of the python defined in this enviroment (That has all pthe packages i installed). How can I change it? (myEnv) okoub@my-mac:~/Desktop$jupyter notebook [I 13:35:46.644 NotebookApp] The port 8888 is already in use, trying another port. [I 13:35:46.646 NotebookApp] The port 8889 is already in use, trying another port. [I 13:35:46.675 NotebookApp] JupyterLab alpha preview extension

I am getting an InvalidArchiveError in anaconda prompt when I am trying to install spacy. How to solve it?

☆樱花仙子☆ 提交于 2020-07-18 06:13:43
问题 InvalidArchiveError('Error with archive C:\Users\Sahaja Reddy\Anaconda3\pkgs\openssl-1.1.1g-he774522_0.conda. You probably need to delete and re-download or re-create this file. Message from libarchive was:\n\nCould not unlink (errno=22, retcode=-25, archive_p=1873471744752)') 回答1: I had this same problem - I had an IPython instance open that was holding onto the Openssl handle open so I wasn't able to delete the Openssl folder as mentioned above by Prayson. After closing all of my IPython &

I am getting an InvalidArchiveError in anaconda prompt when I am trying to install spacy. How to solve it?

限于喜欢 提交于 2020-07-18 06:12:32
问题 InvalidArchiveError('Error with archive C:\Users\Sahaja Reddy\Anaconda3\pkgs\openssl-1.1.1g-he774522_0.conda. You probably need to delete and re-download or re-create this file. Message from libarchive was:\n\nCould not unlink (errno=22, retcode=-25, archive_p=1873471744752)') 回答1: I had this same problem - I had an IPython instance open that was holding onto the Openssl handle open so I wasn't able to delete the Openssl folder as mentioned above by Prayson. After closing all of my IPython &