-
Notifications
You must be signed in to change notification settings - Fork 238
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 while installing #78
Comments
You have to be in the same directory as the requirements.txt file or specify the full path to the file |
What python version are you using? |
Phython 3.6 |
Could you try installing pygame with:
|
now I get this when I run pip3 install -r requirements.txt Using build configuration of libxslt Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed? error: command 'x86_64-linux-gnu-gcc' failed with exit status 1ERROR: Failed building wheel for lxml
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-e00etju3/lxml/setup.py'"'"'; file='"'"'/tmp/pip-install-e00etju3/lxml/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-6crswswj/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/oliver/.local/include/python3.8/lxml Check the logs for full command output. |
You could again try installing with apt-get
|
Requirement already satisfied: notify2==0.3.1 in /home/oliver/.local/lib/python3.8/site-packages (from -r requirements.txt (line 1)) (0.3.1) Using build configuration of libxslt Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed? error: command 'x86_64-linux-gnu-gcc' failed with exit status 1ERROR: Failed building wheel for lxml
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-_t15n02u/lxml/setup.py'"'"'; file='"'"'/tmp/pip-install-_t15n02u/lxml/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-a6mnx8s9/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/oliver/.local/include/python3.8/lxml Check the logs for full command output. |
What OS are you using? |
Ubuntu 20.04 |
Install virtualenv
And then do the installation instructions |
I got the exact same issues, tried the above steps then tried to do the same on venv. root@kali:/home/kali/CSC/smd# source venv/bin/activate
(venv) root@kali:/home/kali/CSC/smd# pip3 install -r requirements.txt
Collecting beautifulsoup4==4.8.0
Using cached beautifulsoup4-4.8.0-py3-none-any.whl (97 kB)
Collecting Flask==0.12.2
Using cached Flask-0.12.2-py2.py3-none-any.whl (83 kB)
Collecting humanize==0.5.1
Using cached humanize-0.5.1-py3-none-any.whl
Collecting imageio==2.3.0
Using cached imageio-2.3.0-py2.py3-none-any.whl (3.3 MB)
Collecting lxml==4.3.3
Using cached lxml-4.3.3.tar.gz (4.4 MB)
Collecting lyricsgenius==1.4.0
Using cached lyricsgenius-1.4.0-py3-none-any.whl (13 kB)
INFO: pip is looking at multiple versions of lxml to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of imageio to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of humanize to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of flask to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of beautifulsoup4 to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r requirements.txt (line 3) and beautifulsoup4==4.8.0 because these package versions have conflicting dependencies.
The conflict is caused by:
The user requested beautifulsoup4==4.8.0
lyricsgenius 1.4.0 depends on beautifulsoup4==4.6.0
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
WARNING: You are using pip version 20.3.1; however, version 20.3.3 is available.
You should consider upgrading via the '/home/kali/CSC/smd/venv/bin/python -m pip install --upgrade pip' command.
|
I fixed the issue i had to install these packages |
but new problem occured when running ./main.py |
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'
while trying to run "pip3 install -r requirements.txt"
The text was updated successfully, but these errors were encountered: