RWTH-EBC / AixCaliBuHA

Wield this tool to be King Arthur of your models.
MIT License
10 stars 2 forks source link

Error during installing through pip command #12

Closed Tousif34344 closed 2 years ago

Tousif34344 commented 2 years ago

Error message:

(C:\anaconda3\envs\pythonProject\conda_env) C:\PycharmProjects\pythonProject>pip install aixcalibuha
Collecting aixcalibuha
  Using cached aixcalibuha-0.2.0.tar.gz (21.6 MB)
Requirement already satisfied: numpy>=1.19.5 in c:\anaconda3\envs\pythonproject\conda_env\lib\site-packages (from aixcalibuha) (1.21.2)
Requirement already satisfied: matplotlib>=3.3.4 in c:\anaconda3\envs\pythonproject\conda_env\lib\site-packages (from aixcalibuha) (3.4.3)
Requirement already satisfied: pandas>=1.1.5 in c:\anaconda3\envs\pythonproject\conda_env\lib\site-packages (from aixcalibuha) (1.3.3)
Collecting SALib==1.3.12
  Using cached SALib-1.3.12.tar.gz (855 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\anaconda3\envs\pythonProject\conda_env\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\AppData\\Local\\Temp\\pip-
install-x2id54m4\\salib_a63b5b3bc37c478692df22460e913fb0\\setup.py'"'"'; __file__='"'"'C:\\AppData\\Local\\Temp\\pip-install-x2id54m4\\salib_a63b5b3bc37c478692df22460e9
13fb0\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))'
egg_info --egg-base 'C:\AppData\Local\Temp\pip-pip-egg-info-cms4krvx'
         cwd: C:\AppData\Local\Temp\pip-install-x2id54m4\salib_a63b5b3bc37c478692df22460e913fb0\
    Complete output (43 lines):
    C:\anaconda3\envs\pythonProject\conda_env\lib\site-packages\setuptools\dist.py:717: UserWarning: Usage of dash-separated 'author-email' will not be supported in futur
e versions. Please use the underscore name 'author_email' instead
      warnings.warn(
    C:\anaconda3\envs\pythonProject\conda_env\lib\site-packages\setuptools\dist.py:717: UserWarning: Usage of dash-separated 'long-description' will not be supported in f
uture versions. Please use the underscore name 'long_description' instead
      warnings.warn(
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\AppData\Local\Temp\pip-install-x2id54m4\salib_a63b5b3bc37c478692df22460e913fb0\setup.py", line 28, in <module>
        setup(use_pyscaffold=True, scripts=scripts)
      File "C:\anaconda3\envs\pythonProject\conda_env\lib\site-packages\setuptools\__init__.py", line 153, in setup
        return distutils.core.setup(**attrs)
      File "C:\anaconda3\envs\pythonProject\conda_env\lib\distutils\core.py", line 108, in setup
        _setup_distribution = dist = klass(attrs)
      File "C:\anaconda3\envs\pythonProject\conda_env\lib\site-packages\setuptools\dist.py", line 453, in __init__
        _Distribution.__init__(
      File "C:\anaconda3\envs\pythonProject\conda_env\lib\distutils\dist.py", line 292, in __init__
        self.finalize_options()
      File "C:\anaconda3\envs\pythonProject\conda_env\lib\site-packages\setuptools\dist.py", line 831, in finalize_options
        ep(self)
      File "C:\anaconda3\envs\pythonProject\conda_env\lib\site-packages\setuptools\dist.py", line 852, in _finalize_setup_keywords
        ep.load()(self, ep.name, value)
      File "C:\anaconda3\envs\pythonProject\conda_env\lib\site-packages\pkg_resources\__init__.py", line 2450, in load
        return self.resolve()
      File "C:\anaconda3\envs\pythonProject\conda_env\lib\site-packages\pkg_resources\__init__.py", line 2456, in resolve
        module = __import__(self.module_name, fromlist=['__name__'], level=0)
      File "c:\appdata\local\temp\pip-install-x2id54m4\salib_a63b5b3bc37c478692df22460e913fb0\.eggs\pyscaffold-3.2.3-py3.8.egg\pyscaffold\integration.py", line 16, in <mo
dule>
        from .repo import get_git_root
      File "c:\appdata\local\temp\pip-install-x2id54m4\salib_a63b5b3bc37c478692df22460e913fb0\.eggs\pyscaffold-3.2.3-py3.8.egg\pyscaffold\repo.py", line 9, in <module>
        from . import shell, utils
      File "c:\local\temp\pip-install-x2id54m4\salib_a63b5b3bc37c478692df22460e913fb0\.eggs\pyscaffold-3.2.3-py3.8.egg\pyscaffold\shell.py", line 118, in <module>

        git = get_git_cmd()
      File "c:\appdata\local\temp\pip-install-x2id54m4\salib_a63b5b3bc37c478692df22460e913fb0\.eggs\pyscaffold-3.2.3-py3.8.egg\pyscaffold\shell.py", line 90, in get_git_c
md
        git("--version")
      File "c:\appdata\local\temp\pip-install-x2id54m4\salib_a63b5b3bc37c478692df22460e913fb0\.eggs\pyscaffold-3.2.3-py3.8.egg\pyscaffold\shell.py", line 53, in __call__
        output = subprocess.check_output(command,
      File "C:\anaconda3\envs\pythonProject\conda_env\lib\subprocess.py", line 415, in check_output
        return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
      File "C:\anaconda3\envs\pythonProject\conda_env\lib\subprocess.py", line 493, in run
        with Popen(*popenargs, **kwargs) as process:
      File "C:\anaconda3\envs\pythonProject\conda_env\lib\subprocess.py", line 858, in __init__
        self._execute_child(args, executable, preexec_fn, close_fds,
      File "C:\anaconda3\envs\pythonProject\conda_env\lib\subprocess.py", line 1311, in _execute_child
        hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
    FileNotFoundError: [WinError 2] The system cannot find the file specified
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/ba/36/84735444f4faded327e1158ed15228a3ff57268f351c799f0038ee68b53f/SALib-1.3.12.tar.gz#sha256=918c996486cd2a7984259d9c4a4c
c161b6c671bc826343d5a5c00c26b10e1ea2 (from https://pypi.org/simple/salib/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement SALib==1.3.12 (from aixcalibuha)
ERROR: No matching distribution found for SALib==1.3.12

My pip list:

Package           Version
----------------- ---------
attrs             21.2.0
autograd          1.3
certifi           2021.5.30
cma               2.7.0
cycler            0.10.0
dill              0.3.4
ebcpy             0.2.1
et-xmlfile        1.1.0
FMPy              0.3.1
future            0.18.2
h5py              3.4.0
joblib            1.0.1
kiwisolver        1.3.2
lark-parser       0.12.0
lxml              4.6.3
matplotlib        3.4.3
msgpack           1.0.2
multiprocess      0.70.12.2
numexpr           2.7.3
numpy             1.21.2
openpyxl          3.0.8
pandas            1.3.3
pathos            0.2.8
Pillow            8.3.2
pip               21.0.1
pox               0.3.0
ppft              1.6.6.4
pydantic          1.8.2
pymoo             0.5.0
pyparsing         2.4.7
python-dateutil   2.8.2
pytz              2021.1
pywin32           301
SALib             1.4.5
scikit-learn      0.24.2
scipy             1.7.1
setuptools        58.0.4
six               1.16.0
tables            3.6.1
threadpoolctl     2.2.0
typing-extensions 3.10.0.2
wheel             0.37.0
wincertstore      0.2
xlrd              2.0.1

I even tried installing SALib==1.3.12 manually using the pip command before installing Aixcalibuha. But I got the same error.