Requirement already satisfied: beautifulsoup4 in /home/dglenn/.local/lib/python3.8/site-packages (4.9.1) Message returned installing outside P圜harn in a terminal:ĭefaulting to user installation because normal site-packages is not writeable home/dglenn/Projects/venv/bin/python -m pip install. home/dglenn/Projects/venv/bin/python -m pip install -r. Note: I am using the current version of pip, and have the most recent P圜harm Pro installed. Oddly enough, no issues upgrading pip through the Pycharm interface under project python interpreter (screenshot below. The module (beautifulsoup4) exists in my user packages. I just can't "use" it in p圜harm because it won't import pysftp. ![]() One last thing - my script works fine when I execute it from the command line. Like I said - newbie :-( Output from pip list below. Most of it is meaningless to me and I'm confused as to why my venv doesn't already include pysftp as I installed it before I installed p圜harm. I>=1.4.1 python_implementation != 'PyPy'"" failed with error code 1 in None prefix C:\Users\TPIO\AppData\Local\Temp\pip-build-env-cha8mv4c\overlay -no-warn-script-location -no-binary :none: -only-binary :none: -i - setuptools wheel "cff Get it with "Microsoft Visual C++ Build Tools": Ĭommand "python setup.py egg_info" failed with error code 1 in C:\Users\TPIO\AppData\Local\Temp\pip-install-d9ln2ikw\cffi\Ĭommand "C:\Users\TPIO\PycharmProjects\TPIO\venv\Scripts\python.exe C:\Users\TPIO\PycharmProjects\TPIO\venv\lib\site-packages\pip-19.0.3-p圓.8.egg\pip install -ignore-installed -no-user. Raise (err)ĭ: Microsoft Visual C++ 14.0 is required. Self.vc_ver = vc_ver or self._find_latest_available_vc_ver()įile "C:\Users\TPIO\PycharmProjects\TPIO\venv\lib\site-packages\setuptools\msvc.py", line 492, in _find_latest_available_vc_ver Return EnvironmentInfo(plat_spec, vc_min_ver=14.0).return_env()įile "C:\Users\TPIO\PycharmProjects\TPIO\venv\lib\site-packages\setuptools\msvc.py", line 843, in _init_įile "C:\Users\TPIO\PycharmProjects\TPIO\venv\lib\site-packages\setuptools\msvc.py", line 485, in _init_ (, include_dirs=include_dirs)įile "C:\Users\TPIO\AppData\Local\Programs\Python\Python38-32\lib\distutils\_msvccompiler.py", line 360, in compileįile "C:\Users\TPIO\AppData\Local\Programs\Python\Python38-32\lib\distutils\_msvccompiler.py", line 253, in initializeįile "C:\Users\TPIO\PycharmProjects\TPIO\venv\lib\site-packages\setuptools\msvc.py", line 185, in msvc14_get_vc_env Self._compile(body, headers, include_dirs, lang)įile "C:\Users\TPIO\AppData\Local\Programs\Python\Python38-32\lib\distutils\command\config.py", line 132, in _compile Return y_compile('#ifndef _MSC_VER\n#error "not MSVC"\n#endif')įile "C:\Users\TPIO\AppData\Local\Programs\Python\Python38-32\lib\distutils\command\config.py", line 225, in try_compile If sys.platform = 'win32' and uses_msvc():įile "C:\Users\TPIO\AppData\Local\Temp\pip-install-d9ln2ikw\cffi\setup.py", line 105, in uses_msvc Setuptools wheel "cffi>=1.4.1 python_implementation != 'PyPy'":Ĭomplete output from command python setup.py egg_info:įile "C:\Users\TPIO\PycharmProjects\TPIO\venv\lib\site-packages\setuptools\msvc.py", line 489, in _find_latest_available_vc_verĭuring handling of the above exception, another exception occurred:įile "C:\Users\TPIO\AppData\Local\Temp\pip-install-d9ln2ikw\cffi\setup.py", line 127, in installed -no-user -prefix C:\Users\TPIO\AppData\Local\Temp\pip-build-env-cha8mv4c\overlay -no-warn-script-location -no-binary :none: -only-binary :none: -i. (venv) C:\Users\TPIO\PycharmProjects\TPIO>pip install pysftpĬollecting pynacl>=1.0.1 (from paramiko>=1.17->pysftp)ġ00% |████████████████████████████████| 3.4MB 2.4MB/sĬomplete output from command C:\Users\TPIO\PycharmProjects\TPIO\venv\Scripts\python.exe C:\Users\TPIO\PycharmProjects\TPIO\venv\lib\site-packages\pip-19.0.3-p圓.8.egg\pip install -ignore ![]() This is the traceback I get trying to install from the p圜harm terminal. Installed ok using cmd window but not recognised in p圜harm. I just installed the same version of p圜harm on a laptop but I can't get it to install the pysftp package in it's venv. I've been using p圜harm community 2019.2.3 on my desktop for a few weeks and written a simple script to get a bunch of files from an SFTP server. ![]() I'm a newbie and I have what may be a similar problem.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |