Dec-09-2017, 03:58 PM
(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/' >>>