fetchcord / FetchCord

FetchCord grabs your OS info and displays it as Discord Rich Presence
MIT License
325 stars 19 forks source link

Unable to install. #102

Closed aybri closed 3 years ago

aybri commented 3 years ago

How you tried to install fetchcord

I used the command "python -m pip install fetchcord neofetch-win"

Operating system

Windows 10 Home

Other notes

I got the error message:

Collecting fetchcord
  Using cached FetchCord-2.6.2-py3-none-any.whl (28 kB)
Collecting neofetch-win
  Using cached neofetch-win-1.1.2.tar.gz (17 kB)
Requirement already satisfied: psutil in c:\python39\lib\site-packages (from fetchcord) (5.7.2)
Requirement already satisfied: pypresence in c:\python39\lib\site-packages (from fetchcord) (4.0.0)
Requirement already satisfied: colorama in c:\python39\lib\site-packages (from neofetch-win) (0.4.3)
Using legacy 'setup.py install' for neofetch-win, since package 'wheel' is not installed.
Installing collected packages: fetchcord, neofetch-win
  WARNING: Failed to write executable - trying to use .deleteme logic
ERROR: Could not install packages due to an EnvironmentError: [WinError 2] The system cannot find the file specified: 'C:\\Python39\\Scripts\\fetchcord.exe' -> 'C:\\Python39\\Scripts\\fetchcord.exe.deleteme'

Then when used the command a second time, I got the message:

Requirement already satisfied: fetchcord in c:\python39\lib\site-packages (2.6.2)
Collecting neofetch-win
  Using cached neofetch-win-1.1.2.tar.gz (17 kB)
Requirement already satisfied: pypresence in c:\python39\lib\site-packages (from fetchcord) (4.0.0)
Requirement already satisfied: psutil in c:\python39\lib\site-packages (from fetchcord) (5.7.2)
Requirement already satisfied: colorama in c:\python39\lib\site-packages (from neofetch-win) (0.4.3)
Using legacy 'setup.py install' for neofetch-win, since package 'wheel' is not installed.
Installing collected packages: neofetch-win
    Running setup.py install for neofetch-win ... error
    ERROR: Command errored out with exit status 1:
     command: 'C:\Python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Emera\\AppData\\Local\\Temp\\pip-install-7fsuarlo\\neofetch-win\\setup.py'"'"'; __file__='"'"'C:\\Users\\Emera\\AppData\\Local\\Temp\\pip-install-7fsuarlo\\neofetch-win\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Emera\AppData\Local\Temp\pip-record-tzteglwe\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Python39\Include\neofetch-win'
         cwd: C:\Users\Emera\AppData\Local\Temp\pip-install-7fsuarlo\neofetch-win\
    Complete output (37 lines):
    running install
    running build
    running build_py
    creating build
    creating build\lib
    creating build\lib\neofetch_win
    copying neofetch_win\argpar.py -> build\lib\neofetch_win
    copying neofetch_win\art.py -> build\lib\neofetch_win
    copying neofetch_win\main.py -> build\lib\neofetch_win
    copying neofetch_win\neofetch.py -> build\lib\neofetch_win
    copying neofetch_win\__init__.py -> build\lib\neofetch_win
    running egg_info
    writing neofetch_win.egg-info\PKG-INFO
    writing dependency_links to neofetch_win.egg-info\dependency_links.txt
    writing entry points to neofetch_win.egg-info\entry_points.txt
    writing requirements to neofetch_win.egg-info\requires.txt
    writing top-level names to neofetch_win.egg-info\top_level.txt
    reading manifest file 'neofetch_win.egg-info\SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    writing manifest file 'neofetch_win.egg-info\SOURCES.txt'
    running install_lib
    creating C:\Python39\Lib\site-packages\neofetch_win
    copying build\lib\neofetch_win\argpar.py -> C:\Python39\Lib\site-packages\neofetch_win
    copying build\lib\neofetch_win\art.py -> C:\Python39\Lib\site-packages\neofetch_win
    copying build\lib\neofetch_win\main.py -> C:\Python39\Lib\site-packages\neofetch_win
    copying build\lib\neofetch_win\neofetch.py -> C:\Python39\Lib\site-packages\neofetch_win
    copying build\lib\neofetch_win\__init__.py -> C:\Python39\Lib\site-packages\neofetch_win
    byte-compiling C:\Python39\Lib\site-packages\neofetch_win\argpar.py to argpar.cpython-39.pyc
    byte-compiling C:\Python39\Lib\site-packages\neofetch_win\art.py to art.cpython-39.pyc
    byte-compiling C:\Python39\Lib\site-packages\neofetch_win\main.py to main.cpython-39.pyc
    byte-compiling C:\Python39\Lib\site-packages\neofetch_win\neofetch.py to neofetch.cpython-39.pyc
    byte-compiling C:\Python39\Lib\site-packages\neofetch_win\__init__.py to __init__.cpython-39.pyc
    running install_egg_info
    Copying neofetch_win.egg-info to C:\Python39\Lib\site-packages\neofetch_win-1.1.2-py3.9.egg-info
    running install_scripts
    Installing neofetch-script.py script to C:\Python39\Scripts
    error: [Errno 13] Permission denied: 'C:\\Python39\\Scripts\\neofetch-script.py'
    ----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Emera\\AppData\\Local\\Temp\\pip-install-7fsuarlo\\neofetch-win\\setup.py'"'"'; __file__='"'"'C:\\Users\\Emera\\AppData\\Local\\Temp\\pip-install-7fsuarlo\\neofetch-win\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Emera\AppData\Local\Temp\pip-record-tzteglwe\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Python39\Include\neofetch-win' Check the logs for full command output.

Then when I used it a 3rd time, it says:

Requirement already satisfied: fetchcord in c:\python39\lib\site-packages (2.6.2)
Requirement already satisfied: neofetch-win in c:\python39\lib\site-packages (1.1.2)
Requirement already satisfied: psutil in c:\python39\lib\site-packages (from fetchcord) (5.7.2)
Requirement already satisfied: pypresence in c:\python39\lib\site-packages (from fetchcord) (4.0.0)
Requirement already satisfied: colorama in c:\python39\lib\site-packages (from neofetch-win) (0.4.3)

And when I try to run the "fetchcord" command it doesn't work.

BlivionIaG commented 3 years ago

I had a friend who had some issues with python 3.9, i advise you to stay on 3.8.6 for now, but i need to see why neofetch-win fails to install on this version

MrPotatoBobx commented 3 years ago

I will close this issue, reopen if it still occurs.