Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PIP install error
#9
(Dec-09-2017, 03:30 PM)alex36540 Wrote: I ran the pip installation as administrator in CMD, and I get this error now:
How are you installing?
Look at this for testing pip.

Here a test i use virtual environment that build into 3.6.
pip install -e git+https://github.com/LevPasha/Instagram-API-python.git#egg=InstagramAPI
# Make enviroment
C:\1
λ python -m venv insta_env
C:\1
λ cd insta_env

# Activate
C:\1\insta_env
λ C:\1\insta_env\Scripts\activate

# Check pip
(insta_env) C:\1\insta_env
λ pip -V
pip 9.0.1 from c:\1\insta_env\lib\site-packages (python 3.6)

# install
(insta_env) C:\1\insta_env
λ pip install -e git+https://github.com/LevPasha/Instagram-API-python.git#egg=InstagramAPI
Obtaining InstagramAPI from git+https://github.com/LevPasha/Instagram-API-python.git#egg=InstagramAPI
Cloning https://github.com/LevPasha/Instagram-API-python.git to c:\1\insta_env\src\instagramapi
Running setup.py (path:c:\1\insta_env\src\instagramapi\setup.py) egg_info for package InstagramAPI produced metadata for project name instagram-api. Fix your #egg=InstagramAPI fragments.
Collecting requests==2.11.1 (from instagram-api)
Downloading requests-2.11.1-py2.py3-none-any.whl (514kB)
100% |████████████████████████████████| 522kB 545kB/s
Collecting requests-toolbelt==0.7.0 (from instagram-api)
Downloading requests_toolbelt-0.7.0-py2.py3-none-any.whl (52kB)
100% |████████████████████████████████| 61kB 2.6MB/s
Collecting moviepy==0.2.3.2 (from instagram-api)
Downloading moviepy-0.2.3.2-py2.py3-none-any.whl (122kB)
100% |████████████████████████████████| 133kB 1.8MB/s
Collecting imageio==2.1.2 (from moviepy==0.2.3.2->instagram-api)
Downloading imageio-2.1.2.zip (3.3MB)
100% |████████████████████████████████| 3.3MB 84kB/s
Collecting numpy (from moviepy==0.2.3.2->instagram-api)
Downloading numpy-1.13.3-2-cp36-none-win32.whl (6.8MB)
100% |████████████████████████████████| 6.8MB 68kB/s
Collecting decorator==4.0.11 (from moviepy==0.2.3.2->instagram-api)
Downloading decorator-4.0.11-py2.py3-none-any.whl
Collecting tqdm==4.11.2 (from moviepy==0.2.3.2->instagram-api)
Downloading tqdm-4.11.2-py2.py3-none-any.whl (46kB)
100% |████████████████████████████████| 51kB 2.1MB/s
Collecting pillow (from imageio==2.1.2->moviepy==0.2.3.2->instagram-api)
Downloading Pillow-4.3.0-cp36-cp36m-win32.whl (1.4MB)
100% |████████████████████████████████| 1.4MB 387kB/s
Collecting olefile (from pillow->imageio==2.1.2->moviepy==0.2.3.2->instagram-api)
Downloading olefile-0.44.zip (74kB)
100% |████████████████████████████████| 81kB 1.7MB/s
Installing collected packages: requests, requests-toolbelt, numpy, olefile, pillow, imageio, decorator, tqdm, moviepy, instagram-api
Running setup.py install for olefile ... done
Running setup.py install for imageio ... done
Running setup.py develop for instagram-api
Successfully installed decorator-4.0.11 imageio-2.1.2 instagram-api moviepy-0.2.3.2 numpy-1.13.3 olefile-0.44 pillow-4.3.0 requests-2.11.1 requests-toolbelt-0.7.0 tqdm-4.11.2

# Test that it work
(insta_env) C:\1\insta_env
λ python
Python 3.6.2 (v3.6.2:5fd33b5, Jul 8 2017, 04:14:34) [MSC v.1900 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from InstagramAPI import InstagramAPI
>>> InstagramAPI.API_URL
'https://i.instagram.com/api/v1/'
>>>
Reply


Messages In This Thread
PIP install error - by alex36540 - Dec-08-2017, 01:04 AM
RE: PIP install error - by Larz60+ - Dec-08-2017, 02:33 AM
RE: PIP install error - by alex36540 - Dec-08-2017, 02:39 AM
RE: PIP install error - by Larz60+ - Dec-08-2017, 04:42 AM
RE: PIP install error - by wavic - Dec-08-2017, 10:53 AM
RE: PIP install error - by Larz60+ - Dec-08-2017, 11:23 AM
RE: PIP install error - by sparkz_alot - Dec-08-2017, 02:45 PM
RE: PIP install error - by alex36540 - Dec-09-2017, 03:34 PM
RE: PIP install error - by snippsat - Dec-09-2017, 03:58 PM
RE: PIP install error - by alex36540 - Dec-09-2017, 04:27 PM
RE: PIP install error - by snippsat - Dec-09-2017, 05:27 PM
RE: PIP install error - by alex36540 - Dec-10-2017, 11:56 PM
RE: PIP install error - by snippsat - Dec-11-2017, 06:08 PM
RE: PIP install error - by alex36540 - Dec-16-2017, 03:31 AM
RE: PIP install error - by snippsat - Dec-16-2017, 05:16 AM
RE: PIP install error - by alex36540 - Dec-16-2017, 01:09 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  pip install pandas ERROR pythondudu 7 33,669 May-24-2022, 06:14 AM
Last Post: Marya_475
  How to install tensorflow? It shows as error jaroslavtavgen 1 1,978 Apr-26-2020, 10:09 PM
Last Post: Larz60+
  pandas install error loren41 5 4,926 May-20-2019, 06:42 PM
Last Post: loren41

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020