ModuleNotFoundError: No module named 'word2vec' - python

Window 10
anaconda v5.0.1 -python v3.6.3 runs
jupyter v4.3.0 -python v3.6.3 runs
on cmd : C:\User\KRX>python --version
And I got > Python 3.5.6 :: Anaconda, Inc.
Hi, I had ModuleNotfoundError: No module named 'word2vec' after installing 'word2vec' following this procedure below.
1.download get-pip.py on https://bootstrap.pypa.io/get-pip.py. On cmd python get-pip.py
2.Install gensim in windows
On cmd: pip install scipy,
On cmd: pip install gensim
3.Install word2vec
On anaconda prompt: conda install -c anaconda word2vec
Until then, I had no problem but when I tried to import word2vec on jupyter notebook, I had ModuleNotfoundError as I already mentioned above.
I tried to reinstall 'word2vec' but I fell into another error :
ERROR conda.core.link:_execute_actions(337): An error occurred while installing package 'anaconda::tqdm-4.43.0-py_0'.
CondaError: Cannot link a source that does not exist. C:\User\KRX\Anaconda3\Scripts\conda.exe
Running 'conda clean --packages' may resolve your problem
I tried conda clean --packages but nothing changed
I also tried conda update anaconda and got same error (CondaError : Cannot link a source that does not exist...etc)
ps. This is my first time asking a question so if you need any other details please let me know. I thank y'all.

Related

R installation not finding anaconda packages

I was trying to install some packages in R and I have run into an error:
Error: package or namespace load failed for ‘leiden’:
.onAttach failed in attachNamespace() for 'leiden', details:
call: py_module_import(module, convert = convert)
error: ModuleNotFoundError: No module named 'pandas'
This is strange to me because I definitely have pandas:
$ conda list | grep pandas
pandas 1.0.1 py37h0573a6f_0
Also which python seems to give me my anaconda installation:
/home/usrname/anaconda3/bin/python
I am installing these packages on WSL (Windows Subsystem for Linux) Ubuntu.
Any advice appreciated.
I ended up finding another issue with a similar problem. Turns out I needed to activate the conda r-reticulate environment.
Take a look at a similar question here: Python in R - Error: could not find a Python environment for /usr/bin/python

PyCharm Jupyter notebook No module named 'toolbox'

I am trying to install toolbox and it shows the below error. I already updated the setup-toolbox but I still get this error. Any help will be highly appreciated.
While installing toolbox from pycharm it shows this error:
FileNotFoundError:No such file or directory: 'C:\\Users\\abc\\AppData\\Local\\Temp\\pycharm-packaging\\toolbox\\setup.py'
Installing via command line it show:
Command "python setup.py egg_info" failed with error code 1 in C:\Users\abc\AppData\Local\Temp\pip-install-j5ja0k9r\toolbox\.
Try upgrading the console:
pip install -U jupyter_console
You can also download manually from here

Package already installed but getting error like No module name "plspm" in Python?

I have started getting this error for a "plspm" module in python which is part of R library after I 'conda install plspm' on my windows 10 OS. Installation has been done properly but i could not able to import plspm in python getting "No module" error. Please anyone help me to resolve.Thanks.
version of r-plspm is -0.4.9
needed packages already installed(scipy,skit-learn,pandas,numpy,statsmodule).
command used to install:
conda install -c conda-forge r-plspm
Screen shot of installed plspm:
Error:

ModuleNotFoundError: No module named 'torch_scope'

Using the macOS terminal, I'm trying to run ./autoner_train.sh by following this guide on GitHub.
I have activated my Conda environment and check my PyTorch version
(pytorch_env) myname (master) AutoNER $ python -c "import torch; print(torch.__version__)"
1.3.1
After that, when running, I get the following error
ModuleNotFoundError: No module named 'torch_scope'
I don't know where's the problem. I have installed everything and I tried googling the problem, all I found is that I need PyTorch installed, which I already have.
I the documentation at the Dependencies section you can read:
Dependencies
This project is based on python>=3.6. The dependent package for this
project is listed as below:
numpy==1.13.1
tqdm
torch-scope>=0.5.0
pytorch==0.4.1
So you need to install torch-scope>=0.5.0 too:
pip install torch-scope

When I install eric6, I get the following error:Please install QScintilla2 and its PyQt5/PyQt4 wrapper

When I installed eric6, I was prompted with the following problems:
Python Version: 3.6.5
Found PyQt5
Found pyuic5
Sorry, please install QScintilla2 and its PyQt5/PyQt4 wrapper.
Error: DLL load failed: Cannot find the specified program!
But I have installed QScintilla via "pip install QScintilla", so what should I do next?
My operating system is Windows.
I see this error on today too , I used pip to install this module but all stop or fail, so I just can download 'whl' from pypi.org and 'pip install *.whl'. and re-install sip and PyQt5<5.9.3> before. And fixed. you can try it.
sip-4.19.4-cp36-none-win_amd64
PyQt5-5.9.2-5.9.3-cp35.cp36.cp37-none-win_amd64
QScintilla-2.10.1-5.9.1-cp35.cp36.cp37-none-win_amd64
install sequence: sip -> PyQt5 - QScintilla

Categories