Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error installing in Pycharm #101

Open
MahdiSayadSadr opened this issue Feb 23, 2022 · 3 comments
Open

Error installing in Pycharm #101

MahdiSayadSadr opened this issue Feb 23, 2022 · 3 comments

Comments

@MahdiSayadSadr
Copy link
Contributor

Collecting hic-straw
Using cached https://files.pythonhosted.org/packages/a3/f1/19bb1d40f659e5daa98ba6a2d845c1203ec45661c1b855958643ccc37c66/hic-straw-1.1.3.tar.gz
Requirement already satisfied: pybind11>=2.4 in c:\user
(from hic-straw) (2.7.1)
Installing collected packages: hic-straw
Running setup.py install for hic-straw: started
Running setup.py install for hic-straw: finished with status 'error'

ERROR: Command errored out with exit status 1:

Complete output (12 lines):
running install
running build
running build_ext
building 'hicstraw' extension
creating build
creating build\temp.win32-3.8
creating build\temp.win32-3.8\Release
creating build\temp.win32-3.8\Release\src

straw.cpp
src/straw.cpp(34): fatal error C1083: Cannot open include file: 'curl/curl.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\VC\\Tools\\MSVC\\14.26.28801\\bin\\HostX86\\x86\\cl.exe' failed with exit status 2
----------------------------------------

ERROR: Command errored out with exit status 1: externally-managed --compile Check the logs for full command output.
WARNING: You are using pip version 19.2.3, however version 22.0.3 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

@chorzow
Copy link

chorzow commented May 17, 2022

@MahdiSayadSadr you need to have curl.h library installed (see this answer in Google groups).

TL;DR: executing sudo apt-get install libcurl4-gnutls-dev with following installation from Pycharm worked for me.

@fazhang-master
Copy link

"I have the same question. Has it been resolved?"

@fazhang-master
Copy link

win11 python3.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants