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.
Related
I have problems to work with GSDMM model of topic modelling dedicated for short text.
I followed this link to install it: https://towardsdatascience.com/gsdmm-topic-modeling-for-social-media-posts-and-reviews-8726489dc52f. but it didn't work. I also installed the model using the following command: pip install GPyM-TM (https://pypi.org/project/GPyM-TM/) but nothing works. I got the following error:
ModuleNotFoundError: No module named 'gsdmm'
any help?
thank you
python3 setup.py install --user
without the "--user", I have a message that says that I do not have write access to this directory and when I add the "--user", the package was installed and it works
I had the same issue, this article about GSDMM helped me to resolve the issue.
need to install GSDMM using pip install git+https://github.com/rwalk/gsdmm.git
i am trying to install Atlas Plots, but i am getting some errors. I tried to install it with the following command line:
pip3 install https://github.com/joeycarter/atlas-plots
But when i run it, terminal shows me the following error:
Cannot determine archive format of /tmp/pip-req-build-o2c8xrmg
And this command line is the only option available in the installation tutorial on the software site, which is:
https://atlas-plots.readthedocs.io/en/latest/getting_started.html#installing-atlasplots
And i need this atlasplots in my research, so i would appreciate any help.
The correct syntax to install from a Github repo are:
pip install "git+https://github.com/joeycarter/atlas-plots.git#egg=atlasplots"
or
pip install "git+ssh://git#github.com/joeycarter/atlas-plots.git#egg=atlasplots"
See the docs at https://pip.pypa.io/en/stable/cli/pip_install/#vcs-support
Report the problem at https://github.com/joeycarter/atlas-plots/issues or better send a pull request fixing https://github.com/joeycarter/atlas-plots/blob/master/docs/getting_started.rst
I'm getting this error while trying to install Tweepy Package for python (i'm working with anconda prompt):
ERROR conda.core.link:_execute_actions(337): An error occurred while installing package 'conda-forge::pyjwt-1.5.3-py_0'.
CondaError: Cannot link a source that does not exist. C:\ProgramData\Anaconda2\Scripts\conda.exe
Running `conda clean --packages` may resolve your problem.
Attempting to roll back.
CondaError: Cannot link a source that does not exist. C:\ProgramData\Anaconda2\Scripts\conda.exe
Running `conda clean --packages` may resolve your problem.
I followed the suggestion and ran 'conda clean --packages' and then tried to install it again, using conda install -c conda-forge tweepy, suffice to say it didn't work and I'm getting the following error :
ERROR conda.core.link:_execute_actions(337): An error occurred while installing package 'conda-forge::pyjwt-1.5.3-py_0'.
CondaError: Cannot link a source that does not exist. C:\ProgramData\Anaconda2\Scripts\conda.exe
Running `conda clean --packages` may resolve your problem.
Attempting to roll back.
CondaError: Cannot link a source that does not exist. C:\ProgramData\Anaconda2\Scripts\conda.exe
Running `conda clean --packages` may resolve your problem.
Any help here? I'm using python 2.7, Anconda2-5.0.1 and Windows 10
I got the same exact error as yours. If you check tweepy's Github https://github.com/tweepy/tweepyyou you will read that the easiest way to install tweepy is by using pip, so you should follow that way instead.
So in case you haven't installed pip using conda, then type at the conda command prompt
conda install pip
Then again on the command prompt
pip install tweepy
It should work now
i am making a python app in IBM bluemix,but when i pushed it,it had an error:
i found my python version is 2.7.10 ,so i thought maybe the reason is the too low,and i change the version to 3.5.1 in runtime.txt like this:
python-3.5.1
but it still didn't work and had the same error.I know I should install this package, but how can i install this in bluemix?
Can anyone please give me a solution?
Looking at your error, it says you are missing the lxml library. This is not installed as part of the standard Python package, so you will need to install it with either pip or conda, depending on what you have setup.
pip install lxml
Yeah,I solved it. in bluemix, if you use some package that not as part of standard python package, you should write them in your requirements.txt, and then bluemix will download this package.
When you do the cf push, if there is a requirements.txt file on your root folder, it will install all the dependencies on Bluemix.
sorry for asking a probalby stupid question, however, I am completely new to setting up/installing python packages, i.e. I have never done it.
So far I installed anaconda3 and worked with the pre installed packages. Now I need the google api pyhon client.
I do not even know whether pip is installed in the anaconda package but I assume it.
What have I tried so far:
In Windows cmd:
1. pip install --upgrade google-api-python-client
2. pip install -- proxy="XXX.XXX.XX.X:XX" -- upgrade google-api-python-client
3. export https_proxy="...."
pip install --upgrade google-api-python-client
I get the following errors:
cannot fetch index base url https://pypi.python.org/simple
unknown command
unknown command
In addition I tried to download the google_api_python_client and unzipped it.
However, I do not know how to proceed here.
BTW: Here in my company we are still on XP
Any help would be highly appreciated!
THANK YOU
Would like to add to the answer by #alok-nayak that you should use the following:
python setup.py install
Leads to:
Installed ~/anaconda/lib/python2.7/site-packages/google_api_python_client-1.4.2-py2.7.egg
After unzipping google_api_python_client. You should run the setup.py file
python setup.py
Also you can edit ".condarc" file in your home folder, as explained here http://conda.pydata.org/docs/config.html . enter your proxy details there