Missing dependencies when installing from pip ("requests")
See original GitHub issueHello,
when i tried to install plotly using pip install plotly
, I got:
Downloading/unpacking plotly
Downloading plotly-1.0.10.tar.gz (60kB): Downloading plotly-1.0.10.tar.gz (60kB): Downloading plotly-1.0.10.tar.gz (60kB): Downloading plotly-1.0.10.tar.gz (60kB): Downloading plotly-1.0.10.tar.gz (60kB): Downloading plotly-1.0.10.tar.gz (60kB): Downloading plotly-1.0.10.tar.gz (60kB): Downloading plotly-1.0.10.tar.gz (60kB): Downloading plotly-1.0.10.tar.gz (60kB): Downloading plotly-1.0.10.tar.gz (60kB): Downloading plotly-1.0.10.tar.gz (60kB): Downloading plotly-1.0.10.tar.gz (60kB): Downloading plotly-1.0.10.tar.gz (60kB): Downloading plotly-1.0.10.tar.gz (60kB): Downloading plotly-1.0.10.tar.gz (60kB): 1 Downloading plotly-1.0.10.tar.gz (60kB): Downloading plotly-1.0.10.tar.gz (60kB): 60kB downloaded
Running setup.py (path:/home/dan/prac/.virtualenvs/work/build/plotly/setup.py) egg_info for package plotly
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/home/dan/prac/.virtualenvs/work/build/plotly/setup.py", line 3, in <module>
exec (open('plotly/version.py').read())
File "<string>", line 3, in <module>
ImportError: No module named 'requests'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/home/dan/prac/.virtualenvs/work/build/plotly/setup.py", line 3, in <module>
exec (open('plotly/version.py').read())
File "<string>", line 3, in <module>
ImportError: No module named 'requests'
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /home/dan/prac/.virtualenvs/work/build/plotly
Storing debug log for failure in /home/dan/.pip/pip.log
after installing “requests” using pip install requests
, everything works fine.
Issue Analytics
- State:
- Created 9 years ago
- Comments:10 (3 by maintainers)
Top Results From Across the Web
Python's requests "Missing dependencies for SOCKS support ...
This means that requests is using socks as a proxy and that socks is not installed. Just run pip install pysocks.
Read more >How to PIP Install Requests Python Package - ActiveState
Pip Install Requests as a Dependency Dependency resolution is at the core of the ActiveState Platform. When you create a project and start ......
Read more >`http: error: InvalidSchema: Missing dependencies for SOCKS ...
It's possible that the apt-installed version of HTTPie does not have access to the additional pip-installed packages, for some reason.
Read more >PyCharm - Install, uninstall, and upgrade packages - JetBrains
PyCharm provides methods for installing, uninstalling, and upgrading Python packages for a particular Python interpreter. It means that each project has its ...
Read more >How to use pip (Install, update, uninstall packages) - nkmk note
Install pip pip and pip2, pip3 Details of installed package:... ... Uninstall a package: pip uninstall; Check for dependencies: pip check.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Solved my own problem: So even though I had python --version Python 2.7.10 , when I type pop install <some-package> it must be installing for 3.4…
Using (https://docs.python.org/2/installing/): python2 -m pip install SomePackage # default Python 2 python2.7 -m pip install SomePackage # specifically Python 2.7 python3 -m pip install SomePackage # default Python 3 python3.4 -m pip install SomePackage # specifically Python 3.4
I can change plotly specifically for version 2.7 and now works fine.
i have python 2.7.14 & plotly : Version: 2.2.1 on my mac. still running into error import plotly ImportError: No module named plotly any help is apprecaited.