I need to install this package located on GitHub into Anaconda enviroment. How can I achieve this?
You can install the latest version from github with pip using
pip install https://github.com/<user-name>/<repo-name>/tarball/<branch-name>
in your case this would be:
pip install https://github.com/lucjon/Py-StackExchange/tarball/master
Related
I have been trying to install crossroad on MSYS2 through pip by typing pip install crossroad but couldn't install. Please help to install crossroad on MSYS2.
Just tried it on my PC and indeed it didn't download the crossroad
If you look at the logs you see that it requires python3-docutils or python2-docutils which is a system package and not python package.
So i used debian/ubuntu so running
apt install python3-docutils
And then running pip install crossroad did install crossroad package.
I am using Azure to create an Ubuntu server 18.04. The python3 default version in this VM is 3.6.9. I tried to install python3-pip, then install Tensorflow version 1.15.0 by command: sudo pip3 install Tensorflow==1.15.0.
However I got this error: No matching distribution found for tensorflow==1.15.0
I really don't know how to fix it. On my Windows PC, I got the same error while using python3.7, then I change to use python3.6.5 and everythings is fine. So that I think maybe I should try to install python 3.6.5 on Ubuntu VM. But again, this time, I can't install correctly python 3.6.5 on my Ubuntu server.
Can you please help me to fix it. I am just a newbie and honestly, I am not really good with Ubuntu.
Thank you so much.
I had the same issue.
A simple upgrade of pip to the latest version by:
sudo -H pip3 install --upgrade pip
sudo -H pip2 install --upgrade pip
solved the problem for me. Checkout https://askubuntu.com/questions/712339/how-to-upgrade-pip-to-latest for details how to upgrade pip.
After checking it seems the pip3 version shipped with Ubuntu defaults to pip 9.0.1. However, this version seems to supports only up to Tensorflow 1.14.
I would also strongly suggest to use virtual environments like Anaconda in order not to mess up your system python.
E.g.: https://docs.anaconda.com/anaconda/install/linux/
These are the list of files for TensorFlow 1.15
This command would work:
pip3 install tensorflow==1.15.0
I do see the manylinux wheel file for Ubuntu.
What CPU model and pip version are you using?
Debugging:
pip3 -v install tensorflow==1.15.0 | grep Found | more
Can help you see which platform and tags pip3 is trying to find in wheel files.
In the past I also have seen issue with pip default version (9.0.1), make sure you are running a recent version (e.g. pip-20.0.2):
apt install python3-pip && pip3 install --upgrade pip
Tried to install with this command but still didn't work-> conda install -c peterjc123 pytorch=0.1.12
Also tried installing using this command:
conda install pytorch=0.1.12 -c pytorch
How can it be installed with python anaconda 3.6?
First of all, make sure that Python 3.5 or later is installed as well.
Go to this link and download "pytorch-0.1.12-py36_0.1.12cu80.tar.bz2".
Now navigate to the downloaded file and install it through Anaconda console conda install [path to file]/pytorch-0.1.12-py36_0.1.12cu80.tar.bz2
Note:
If it requires some additional modules, use conda or pip to install those addition modules via:
conda install (module)
or
pip install (module)
I have windows 7 with Python 3.3 installed. I also installed pip by referring to:
https://github.com/BurntSushi/nfldb/wiki/Python-&-pip-Windows-installation
I am facing issues with package installation-
If I run,
C:\Python33\Scripts> pip install requests
(OR)
C:\Python33\Scripts>pip install -U googlemaps
It does not give any success message like
'the package is installed'.
It is basically not showing any error/success message. Please refer below screenshot -
How can I install packages using pip, or how do I know if I have successfully installed packages?
TIA,
Sanket.
You can use pip show package_name to check whether the package is installed or use the pip list to view all installed packages.
Please follow the official website instruction to install pip or
Try reinstalling Python
I have a websauna project which I created using this command:
pip install -e "git+https://github.com/websauna/websauna.git#master#egg=websauna[celery,utils,notebook]"
this is found in the documentation at: https://websauna.org/docs/tutorials/gettingstarted/tutorial_02.html
This is the development version on github, and I recall it was alpha4. How do I upgrade this to the latest version(presumably at alpha5 as of this writing)?
If you want to install the latest release from the PyPi do:
pip uninstall websauna
pip install -U "websauna[celery,utils,notebook]"
If you want to follow the latest Github master branch:
pip uninstall websauna
pip install e "git+https://github.com/websauna/websauna.git#master#egg=websauna[celery,utils,notebook]"
Uninstall step might or might not be required depending on if you are switching between pip PyPi package install and pip -e.