WARNING: Error parsing requirements for pywinpty: [Errno 2] No such file or directory
This is what I get when I try to pip install pylint
I am also using a pycham environment
I tried pip install pywinpty to see if it will work but nop..
I tried some directory changes but nop....
Try the Pip3 install to see your results as mentioned in this question as well.
pip install FileNotFoundError: [Errno 2] No such file or directory:
If that does not work then please elaborate a bit more regarding the issue so anyone looking at your question can have a bit more context to help you.
Have a nice day.
Related
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: 'C:\\Users\\dineshreddy.d\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python310\\site-packages\\jedi\\third_party\\django-stubs\\django-stubs\\contrib\\contenttypes\\management\\commands\\remove_stale_contenttypes.pyi'
I am unable to install the great expecatation packages in the local . Getting the above error.
I tried with the pip install great_expectations --user command but i am getting the same error
It looks like you are running into an issue with a missing file when trying to install the greatexpectations package. The file that is missing is located in the
C:Usersdineshreddy.dAppDataLocalPackagesPythonSoftwareFoundation contains the file that is missing. The removeestale_contenttypes.pyi file can be found in the Python.3.10qbz5n2kfra8p0LocalCachelocal-packagesPython310site-packagesjedithirdpartydjango-stubsdjango-stubscontribcontenttypesmanagementcommands directory.
You can try reinstalling the jedi package with the pip install jedi command to resolve this issue. You can also try installing the great expectations package in a virtual environment to avoid conflicts with other packages.
while I was launching my ml model using heroku the build logs show that
Could not install packages due to an OSError: [Errno 2] No such file or directory: '/C:/Windows/TEMP/abs_e9b7158a-aa56-4a5b-87b6-c00d295b01fanefpc8_o/croots/recipe/certifi_1655968940823/work/certifi'
plz help to fix this
I got the same error here. And I found there is the path in my requirements.txt line2. After I remove the path everythins work, maybe you can check your requirements.txt, HTH
I had the same error in a local computer with Windows 10.
I unistalled certifi: pip uninstall certifi
and then installed it again: pip install certifi
And it works.
I have noticed problem doing requirements file in completely new project.
If the error originates from Heroku logs it is most likely that you hard coded a path to the directory in your code( Because heroku does not have a directory as /C:/Windows/TEMP in deployment).
Otherwise please share the code so we can help trace where the error originates :)
So if I type pip install pyinstaller it will instantly get a disinfection from bitdefender, so I can't download pyinstaller. And the most weird thing is. Yesterday I can install it, but suddenly bitdefender remove a single file then I have to reinstall it. Until I get this error
btw this is the output
Collecting pyinstaller
Using cached pyinstaller-4.2-py3-none-any.whl
ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: 'C:\\users\\windows\\appdata\\local\\pip\\cache\\wheels\\65\\6f\\54\\0f682e8590de992d07a17ce07282267734cb150e537dfc4390\\pyinstaller-4.2-py3-none-any.whl'
Consider using the `--user` option or check the permissions.
Can you try to add it to the exclusion list. Below is the URL to do that.
https://www.bitdefender.com/consumer/support/answer/13427/
Please try and let me know if you need help. Thanks!
Windows 10
I'm trying to pip install stuff, however since today I can't install anything because I keep getting the following error:
Cold not install packages due to an EnvironmentError: [Errno 2] No such file or directory: 'c:\users\behherder\anaconda3\envs\dlc\lib\site-packages\prompt_toolkit-2.0.7.dist-info\METADATA'
However, if I go there, the file exists. So might that it gets deleted before, and the placed back after the error?
It happens with everything I'm trying to install or upgrade.
I tried upgrading PIP, got that error. Any other install, that error....
Anyone knows what's wrong and how to solve?
Or need any more info?
Thanks!
When running autodoc in Read-The-Docs, it fails with this error for my project:
Compiling sources ...error: [Errno 2] No such file or directory: 'gfortran'
I have learned that gfortran is not available in RTDF, so I wanted to try avoiding the command that causes the error when running Sphinx - something like
if not 'sphinx' in sys.modules
as suggested in this question.
However, when I want to build the documentation on RTFD, the error still occurs. I have even commented the whole line containing the command without success. Obviously, RTFD does not use the current code in repository branch that it should build from as it still throws an error from a command that is not in the code anymore. I also tried wiping the version, but it didn't help.
I really don't know what's going on. The RTFD build commands are
python3.5 -mvirtualenv --system-site-packages --no-download /home/docs/checkouts/readthedocs.org/user_builds/smuthi/envs/doc
python /home/docs/checkouts/readthedocs.org/user_builds/smuthi/envs/doc/bin/pip install --use-wheel --upgrade --cache-dir /home/docs/checkouts/readthedocs.org/user_builds/smuthi/.cache/pip -I Pygments==2.2.0 setuptools==37.0.0 docutils==0.13.1 mock==1.0.1 pillow==2.6.1 alabaster>=0.7,<0.8,!=0.7.5 commonmark==0.5.4 recommonmark==0.4.0 sphinx==1.6.5 sphinx-rtd-theme<0.3 readthedocs-sphinx-ext<0.6
install --exists-action=w --cache-dir /home/docs/checkouts/readthedocs.org/user_builds/smuthi/.cache/pip -rdocs/requirements.txt
I don't know what this means, but it contains --use-wheel and cache and stuff. An earlier version of my code did have a built distribution on PyPi, but the current doesn't.
Can this be the reason, i.e. does RTFD install from PyPi instead of from the GitLab repository, and does it use old wheels?
Has anybody experienced something similar?
Does anybody have an idea what is going wrong?
The problem was that I had the package itself in the docs/requirements.txt file, such that when building, the package was indeed installed from PyPi. After removing it from the requirements, the documentation was built correctly.