I'm working with a python notebook in Dataiku, I used gensmin package and it worked fine till last week.
Now I've tried to pip install gensim again, and at first it seems that it loads the chached package:
'Using cached gensim-4.2.0.tar.gz'
But at the end I get a fatal error attached in the image below.
error
I appreciate any help!
From Dataiku support:
Navigate to Administrations>Code Envs>Python_xxx and add gensim in
Requested packages.
If the code-environment update fails, please reach out to the admin to
install the system package python3-devel. The admin should be able
to install this depending on the OS the DSS is installed.
Related
I tried to install jpype by pip as follows
sudo pip3 install JPype1-py3
but, I received a bunch of errors; the screenshot is attached. Click hereThen I installed manually that package, and when I run, it says: (the screenshot is also attached )
Click here
ModuleNotFoundError: No module named 'jpype'
If you have experienced this problem before, please give me any idea or recommendations to fix it
Thank you very much in advance
JPype-py3 branch has been deprecated for a while. See https://jpype.readthedocs.io/en/latest/install.html for current install instructions for the main distribution.
I try to install a github package using pip install git+url, but the following error keeps popped out. Anyone can help me figure it out?
A pip install would expect a setup.py file to execute after a clone.
But fchollet/deep-learning-models does not have such a file, hence the error message.
Note that its README includes:
THIS REPOSITORY IS DEPRECATED. USE THE MODULE keras.applications INSTEAD.
This's my first time to ask question on stack overflow, thanks for the browse of my question!
While I'm trying to debug a program(written in python) in Visual Studio Code, as I enter "python .\dnn_example.py", it doesn't output the result, but blocked out this message(the white frame, and it means "which software do I prefer to use to open the file):enter image description here
Then I saw a message from "PROBLEMS":enter image description here
It reads "unable to import tensorflow".
I'm keep trying fixing the problem, thanks for your help!
It seems like you have not installed tensorflow. Try installing it using conda by conda install tensorflow or if you don't use conda, install it using pip by pip install tensorflow.
If you want to run tensorflow on GPU then follow this tutorial.
I am new to Python and I am trying to build a recommendation engine by following a tutorial. The tutorials asks me to install turicreate, I am running Spyder 3.3.0 (Python version 3.5) on Anaconda.
WHAT I TRIED -
I sought help from various SO questions as well as github, but none helped. I tried using "pip" and it gave the following error-
Failed building wheel for turicreate
Running setup.py clean for turicreate
Failed to build turicreate
Tried "conda install ", but error again.
Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:- turicreate
My "pip" and "conda" and "anaconda" are up to date. I tried creating a virtual environment and then installing "turicreate", but didn't help. I visited the anaconda.org website which had "conda install -c derickl turicreate", I tried, which gave the following error.
PackagesNotFoundError: The following packages are not available from current channels:- turicreate
Any help would be much appreciated.
If you go to the page of the turicreate package on the Python repository index (PyPI), you will find that it can only be installed natively on Linux and macOS.
The only way to use it on Windows is through the Windows Subsystem for Linux, and for that you need to install Anaconda or Python on it (I think, I've never used WSL).
I think your problem already solved :). But I had a similar problem and I solved it using a different way. I am posting it because I think it will help someone in the future. First, I want to say, If you are following something like a Video tutorial as mentioned in the question above, use that method. Thanks!
First Goto this Link URL. It will navigate you to colab with python version 2.
My runtime settings as follows. Runtime type: python 2 | Hardware accelerator:
TPU
Then run !pip install turicreate and after finishing installation it will say You must restart the runtime in order to use newly installed versions.After restart your runtime you will able to use turicreate with colab.
I hope it will help someone!
I'm following a Python tutorial where pandas is used and I'm running into a dependency issue that I can't figure out.
To install pandas, I ran:
pip install pandas
But when I open a python session and try to import pandas I get an error message saying "Missing required dependencies ('numpy')" despite the fact that I see it getting installed when I run the pip command to install pandas.
Help would be appreciated. Thanks.
Edit: Full error message posted below:
PS C:\Python> python
Python 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 07:18:10) [MSC v.1900 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pandas
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\user1\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pandas\__init__.py", line 19, in <module>
"Missing required dependencies {0}".format(missing_dependencies))
ImportError: Missing required dependencies ['numpy']
try to install Anaconda 3 (it works on Windows and Linux), it contains all the useful libraries like panda, numpy... so you don't have to download or rebuild yourself