While trying to reinstall everything, I had trouble with most of the packages: error: invalid command 'egg_info'. I tried reinstalling python with brew reinstall python, then also tried to reinstall all of my installed python packages with some xargs magic: pip freeze | xargs -I -upgrade -force-reinstall I had similar problems with different kinds of requirements such as matplotlib which I installed manually as seen here.Īs you can see, pip on my mac only has those argparse versions: 0.1.0, 0.2.0, 0.3.0, 0.4.0, 0.5.0, 0.6.0, 0.7.0, 0.8.0, 0.9.0, 0.9.1, 1.0.1, 1.0, 1.1 Attempts to fix No distributions matching the version for argparse=1.2.1 (from -r requirements.txt (line 4)) ![]() Some externally hosted files were ignored (use -allow-external to allow). This is the actual latest version shown on the pypi website In the current case, I needed to install argparse=1.2.1. In the project I'm working on, we simply install requirements like this: pip install -r requirements.txt I am on osx and and I used brew to install Python 2.7.6. Note that to install Pandas, you may need access to windows administration or Unix sudo to root access.I worked on some python projects lately and had lots of problems with pip not installing the latest versions of some requirements. In this article, you have learned how to upgrade to the latest version or to a specific version using pip and conda commands. If you are using Anaconda distribution, you can use conda install to upgrade Pandas to the latest version.Īlternatively, you can also upgrade using conda update command. ![]() ![]() Upgrade Pandas Version using Conda (Anaconda)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |