Seneste forumindlæg
Køb / Salg
 * Uofficiel Black/White liste V3
Login / opret bruger

Forum \ Software \ Generel software
Denne tråd er over 6 måneder gammel

Er du sikker på, at du har noget relevant at tilføje?

problem med installation af octoprint/python

Af Mega Nørd gfunknown | 10-02-2019 14:10 | 769 visninger | 3 svar, hop til seneste
Hejsa. Jeg prøvet at følge denne guide https://discourse.octoprint.org[...] har kopieret min CMD tekst ind i 1. svar, håber en kan hjælpe.
--
#1
gfunknown
Mega Nørd
10-02-2019 14:11

Rapporter til Admin
icrosoft Windows [Version 10.0.17134.523] (c) 2018 Microsoft Corporation. Alle rettigheder forbeholdes. C:\Users\XXX>pip install virtualenv Collecting virtualenv Cache entry deserialization failed, entry ignored Using cached https://files.pythonhosted.org[...] Installing collected packages: virtualenv Successfully installed virtualenv-16.4.0 You are using pip version 9.0.1, however version 19.0.2 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command. C:\Users\XXX>PATH=%PATH%;C:\Python27\Scripts C:\Users\XXX>cd C:\OctoPrint C:\OctoPrint>virtualenv venv New python executable in C:\OctoPrint\venv\Scripts\python.exe Installing setuptools, pip, wheel... done. C:\OctoPrint>venv\Scripts\activate.bat (venv) C:\OctoPrint>ip install --upgrade pip 'ip' is not recognized as an internal or external command, operable program or batch file. (venv) C:\OctoPrint>pip install --upgrade pip DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. Requirement already up-to-date: pip in c:\octoprint\venv\lib\site-packages (19.0.2) (venv) C:\OctoPrint>pip install https://get.octoprint.org[...] DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. Collecting https://get.octoprint.org[...] Downloading https://get.octoprint.org[...] (5.3MB) 100% |################################| 5.4MB 2.0MB/s Collecting flask<0.11,>=0.10.1 (from OctoPrint==1.3.10) Collecting Jinja2<2.9,>=2.8.1 (from OctoPrint==1.3.10) Using cached https://files.pythonhosted.org[...] Collecting regex!=2018.11.6 (from OctoPrint==1.3.10) Using cached https://files.pythonhosted.org[...] Collecting werkzeug<0.9,>=0.8.3 (from OctoPrint==1.3.10) Collecting tornado==4.5.3 (from OctoPrint==1.3.10) Collecting PyYAML<3.11,>=3.10 (from OctoPrint==1.3.10) Using cached https://files.pythonhosted.org[...] Collecting Flask-Login<0.3,>=0.2.11 (from OctoPrint==1.3.10) Collecting Flask-Principal<0.4,>=0.3.5 (from OctoPrint==1.3.10) Collecting Flask-Babel<0.10,>=0.9 (from OctoPrint==1.3.10) Collecting Flask-Assets<0.11,>=0.10 (from OctoPrint==1.3.10) Collecting markdown<2.7,>=2.6.9 (from OctoPrint==1.3.10) Using cached https://files.pythonhosted.org[...] Collecting pyserial<3.5,>=3.4 (from OctoPrint==1.3.10) Using cached https://files.pythonhosted.org[...] Collecting netaddr<0.8,>=0.7.19 (from OctoPrint==1.3.10) Using cached https://files.pythonhosted.org[...] Collecting watchdog<0.9,>=0.8.3 (from OctoPrint==1.3.10) Collecting sarge==0.1.5post0 (from OctoPrint==1.3.10) Collecting netifaces<0.11,>=0.10.6 (from OctoPrint==1.3.10) Using cached https://files.pythonhosted.org[...] Collecting pylru<1.1,>=1.0.9 (from OctoPrint==1.3.10) Collecting rsa<3.3,>=3.2.3 (from OctoPrint==1.3.10) Using cached https://files.pythonhosted.org[...] Collecting pkginfo<1.5,>=1.4.2 (from OctoPrint==1.3.10) Using cached https://files.pythonhosted.org[...] Collecting requests<3,>=2.18.4 (from OctoPrint==1.3.10) Using cached https://files.pythonhosted.org[...] Collecting semantic_version<2.5,>=2.4.2 (from OctoPrint==1.3.10) Collecting psutil<5.5,>=5.4.6 (from OctoPrint==1.3.10) Using cached https://files.pythonhosted.org[...] Collecting Click<6.3,>=6.2 (from OctoPrint==1.3.10) Using cached https://files.pythonhosted.org[...] Collecting awesome-slugify<1.7,>=1.6.5 (from OctoPrint==1.3.10) Collecting feedparser<5.3,>=5.2.1 (from OctoPrint==1.3.10) Collecting chainmap<1.1,>=1.0.2 (from OctoPrint==1.3.10) Using cached https://files.pythonhosted.org[...] Collecting future<0.16,>=0.15.2 (from OctoPrint==1.3.10) Collecting scandir<1.4,>=1.3 (from OctoPrint==1.3.10) Using cached https://files.pythonhosted.org[...] Collecting websocket-client<0.41,>=0.40.0 (from OctoPrint==1.3.10) Collecting python-dateutil<2.7,>=2.6.1 (from OctoPrint==1.3.10) Using cached https://files.pythonhosted.org[...] Collecting wrapt<1.11,>=1.10.11 (from OctoPrint==1.3.10) Using cached https://files.pythonhosted.org[...] Collecting futures<3.2,>=3.1.1 (from OctoPrint==1.3.10) Using cached https://files.pythonhosted.org[...] Collecting emoji<0.5,>=0.4.5 (from OctoPrint==1.3.10) Using cached https://files.pythonhosted.org[...] Collecting monotonic<1.4,>=1.3 (from OctoPrint==1.3.10) Using cached https://files.pythonhosted.org[...] Collecting frozendict<1.3,>=1.2 (from OctoPrint==1.3.10) Collecting itsdangerous>=0.21 (from flask<0.11,>=0.10.1->OctoPrint==1.3.10) Using cached https://files.pythonhosted.org[...] Collecting MarkupSafe (from Jinja2<2.9,>=2.8.1->OctoPrint==1.3.10) Using cached https://files.pythonhosted.org[...] Collecting backports-abc>=0.4 (from tornado==4.5.3->OctoPrint==1.3.10) Using cached https://files.pythonhosted.org[...] Collecting singledispatch (from tornado==4.5.3->OctoPrint==1.3.10) Using cached https://files.pythonhosted.org[...] Collecting certifi (from tornado==4.5.3->OctoPrint==1.3.10) Using cached https://files.pythonhosted.org[...] Collecting blinker (from Flask-Principal<0.4,>=0.3.5->OctoPrint==1.3.10) Collecting Babel>=1.0 (from Flask-Babel<0.10,>=0.9->OctoPrint==1.3.10) Using cached https://files.pythonhosted.org[...] Collecting speaklater>=1.2 (from Flask-Babel<0.10,>=0.9->OctoPrint==1.3.10) Collecting webassets>=0.10 (from Flask-Assets<0.11,>=0.10->OctoPrint==1.3.10) Collecting pathtools>=0.1.1 (from watchdog<0.9,>=0.8.3->OctoPrint==1.3.10) Collecting argh>=0.24.1 (from watchdog<0.9,>=0.8.3->OctoPrint==1.3.10) Using cached https://files.pythonhosted.org[...] Collecting pyasn1>=0.1.3 (from rsa<3.3,>=3.2.3->OctoPrint==1.3.10) Using cached https://files.pythonhosted.org[...] Collecting idna<2.9,>=2.5 (from requests<3,>=2.18.4->OctoPrint==1.3.10) Using cached https://files.pythonhosted.org[...] Collecting chardet<3.1.0,>=3.0.2 (from requests<3,>=2.18.4->OctoPrint==1.3.10) Using cached https://files.pythonhosted.org[...] Collecting urllib3<1.25,>=1.21.1 (from requests<3,>=2.18.4->OctoPrint==1.3.10) Using cached https://files.pythonhosted.org[...] Collecting Unidecode<0.05,>=0.04.14 (from awesome-slugify<1.7,>=1.6.5->OctoPrint==1.3.10) Using cached https://files.pythonhosted.org[...] Collecting six (from websocket-client<0.41,>=0.40.0->OctoPrint==1.3.10) Using cached https://files.pythonhosted.org[...] Collecting pytz>=0a (from Babel>=1.0->Flask-Babel<0.10,>=0.9->OctoPrint==1.3.10) Using cached https://files.pythonhosted.org[...] Building wheels for collected packages: OctoPrint, PyYAML, scandir, wrapt Building wheel for OctoPrint (setup.py) ... done Stored in directory: c:\users\XXX\appdata\local\temp\pip-ephem-wheel-cache-dypb8l\wheels\2e\0d\09\39f09d58d37b3c4977631d1a6c08c6c66c893b6c7eac42e3dc Building wheel for PyYAML (setup.py) ... error Complete output from command c:\octoprint\venv\scripts\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\XXX\\appdata\\local\\temp\\pip-install-89glzg\\PyYAML\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d c:\users\XXX\appdata\local\temp\pip-wheel-tper_t --python-tag cp27: running bdist_wheel running build running build_py creating build creating build\lib.win32-2.7 creating build\lib.win32-2.7\yaml copying lib\yaml\composer.py -> build\lib.win32-2.7\yaml copying lib\yaml\constructor.py -> build\lib.win32-2.7\yaml copying lib\yaml\cyaml.py -> build\lib.win32-2.7\yaml copying lib\yaml\dumper.py -> build\lib.win32-2.7\yaml copying lib\yaml\emitter.py -> build\lib.win32-2.7\yaml copying lib\yaml\error.py -> build\lib.win32-2.7\yaml copying lib\yaml\events.py -> build\lib.win32-2.7\yaml copying lib\yaml\loader.py -> build\lib.win32-2.7\yaml copying lib\yaml\nodes.py -> build\lib.win32-2.7\yaml copying lib\yaml\parser.py -> build\lib.win32-2.7\yaml copying lib\yaml\reader.py -> build\lib.win32-2.7\yaml copying lib\yaml\representer.py -> build\lib.win32-2.7\yaml copying lib\yaml\resolver.py -> build\lib.win32-2.7\yaml copying lib\yaml\scanner.py -> build\lib.win32-2.7\yaml copying lib\yaml\serializer.py -> build\lib.win32-2.7\yaml copying lib\yaml\tokens.py -> build\lib.win32-2.7\yaml copying lib\yaml\__init__.py -> build\lib.win32-2.7\yaml running build_ext creating build\temp.win32-2.7 creating build\temp.win32-2.7\Release checking if libyaml is compilable Traceback (most recent call last): File "<string>", line 1, in <module> File "c:\users\XXX\appdata\local\temp\pip-install-89glzg\PyYAML\setup.py", line 344, in <module> 'test': test, File "c:\python27\Lib\distutils\core.py", line 151, in setup dist.run_commands() File "c:\python27\Lib\distutils\dist.py", line 953, in run_commands self.run_command(cmd) File "c:\python27\Lib\distutils\dist.py", line 972, in run_command cmd_obj.run() File "c:\octoprint\venv\lib\site-packages\wheel\bdist_wheel.py", line 188, in run self.run_command('build') File "c:\python27\Lib\distutils\cmd.py", line 326, in run_command self.distribution.run_command(command) File "c:\python27\Lib\distutils\dist.py", line 972, in run_command cmd_obj.run() File "c:\python27\Lib\distutils\command\build.py", line 127, in run self.run_command(cmd_name) File "c:\python27\Lib\distutils\cmd.py", line 326, in run_command self.distribution.run_command(command) File "c:\python27\Lib\distutils\dist.py", line 972, in run_command cmd_obj.run() File "c:\users\XXX\appdata\local\temp\pip-install-89glzg\PyYAML\setup.py", line 171, in run _build_ext.run(self) File "c:\python27\Lib\distutils\command\build_ext.py", line 340, in run self.build_extensions() File "c:\users\XXX\appdata\local\temp\pip-install-89glzg\PyYAML\setup.py", line 213, in build_extensions with_ext = self.check_extension_availability(ext) File "c:\users\XXX\appdata\local\temp\pip-install-89glzg\PyYAML\setup.py", line 239, in check_extension_availability depends=ext.depends) File "c:\python27\Lib\distutils\msvc9compiler.py", line 473, in compile self.initialize() File "c:\python27\Lib\distutils\msvc9compiler.py", line 383, in initialize vc_env = query_vcvarsall(VERSION, plat_spec) File "c:\octoprint\venv\lib\site-packages\setuptools\msvc.py", line 147, in msvc9_query_vcvarsall return EnvironmentInfo(arch, ver).return_env() File "c:\octoprint\venv\lib\site-packages\setuptools\msvc.py", line 1255, in return_env exists), File "c:\octoprint\venv\lib\site-packages\setuptools\msvc.py", line 1278, in _build_paths return os.pathsep.join(unique_paths) UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 12: ordinal not in range(128) ---------------------------------------- Failed building wheel for PyYAML Running setup.py clean for PyYAML Building wheel for scandir (setup.py) ... error Complete output from command c:\octoprint\venv\scripts\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\XXX\\appdata\\local\\temp\\pip-install-89glzg\\scandir\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d c:\users\XXX\appdata\local\temp\pip-wheel-heg23i --python-tag cp27: running bdist_wheel running build running build_py creating build creating build\lib.win32-2.7 copying scandir.py -> build\lib.win32-2.7 running build_ext building '_scandir' extension Traceback (most recent call last): File "<string>", line 1, in <module> File "c:\users\XXX\appdata\local\temp\pip-install-89glzg\scandir\setup.py", line 56, in <module> 'Programming Language :: Python :: Implementation :: CPython', File "c:\python27\Lib\distutils\core.py", line 151, in setup dist.run_commands() File "c:\python27\Lib\distutils\dist.py", line 953, in run_commands self.run_command(cmd) File "c:\python27\Lib\distutils\dist.py", line 972, in run_command cmd_obj.run() File "c:\octoprint\venv\lib\site-packages\wheel\bdist_wheel.py", line 188, in run self.run_command('build') File "c:\python27\Lib\distutils\cmd.py", line 326, in run_command self.distribution.run_command(command) File "c:\python27\Lib\distutils\dist.py", line 972, in run_command cmd_obj.run() File "c:\python27\Lib\distutils\command\build.py", line 127, in run self.run_command(cmd_name) File "c:\python27\Lib\distutils\cmd.py", line 326, in run_command self.distribution.run_command(command) File "c:\python27\Lib\distutils\dist.py", line 972, in run_command cmd_obj.run() File "c:\octoprint\venv\lib\site-packages\setuptools\command\build_ext.py", line 78, in run _build_ext.run(self) File "c:\python27\Lib\distutils\command\build_ext.py", line 340, in run self.build_extensions() File "c:\python27\Lib\distutils\command\build_ext.py", line 449, in build_extensions self.build_extension(ext) File "c:\octoprint\venv\lib\site-packages\setuptools\command\build_ext.py", line 199, in build_extension _build_ext.build_extension(self, ext) File "c:\python27\Lib\distutils\command\build_ext.py", line 499, in build_extension depends=ext.depends) File "c:\python27\Lib\distutils\msvc9compiler.py", line 473, in compile self.initialize() File "c:\python27\Lib\distutils\msvc9compiler.py", line 383, in initialize vc_env = query_vcvarsall(VERSION, plat_spec) File "c:\octoprint\venv\lib\site-packages\setuptools\msvc.py", line 147, in msvc9_query_vcvarsall return EnvironmentInfo(arch, ver).return_env() File "c:\octoprint\venv\lib\site-packages\setuptools\msvc.py", line 1255, in return_env exists), File "c:\octoprint\venv\lib\site-packages\setuptools\msvc.py", line 1278, in _build_paths return os.pathsep.join(unique_paths) UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 12: ordinal not in range(128) ---------------------------------------- Failed building wheel for scandir Running setup.py clean for scandir Building wheel for wrapt (setup.py) ... error Complete output from command c:\octoprint\venv\scripts\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\XXX\\appdata\\local\\temp\\pip-install-89glzg\\wrapt\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d c:\users\XXX\appdata\local\temp\pip-wheel-fx1dvm --python-tag cp27: running bdist_wheel running build running build_py creating build creating build\lib.win32-2.7 creating build\lib.win32-2.7\wrapt copying src\wrapt\arguments.py -> build\lib.win32-2.7\wrapt copying src\wrapt\decorators.py -> build\lib.win32-2.7\wrapt copying src\wrapt\importer.py -> build\lib.win32-2.7\wrapt copying src\wrapt\wrappers.py -> build\lib.win32-2.7\wrapt copying src\wrapt\__init__.py -> build\lib.win32-2.7\wrapt running build_ext building 'wrapt._wrappers' extension Traceback (most recent call last): File "<string>", line 1, in <module> File "c:\users\XXX\appdata\local\temp\pip-install-89glzg\wrapt\setup.py", line 100, in <module> run_setup(with_extensions=True) File "c:\users\XXX\appdata\local\temp\pip-install-89glzg\wrapt\setup.py", line 70, in run_setup setup(**setup_kwargs_tmp) File "c:\python27\Lib\distutils\core.py", line 151, in setup dist.run_commands() File "c:\python27\Lib\distutils\dist.py", line 953, in run_commands self.run_command(cmd) File "c:\python27\Lib\distutils\dist.py", line 972, in run_command cmd_obj.run() File "c:\octoprint\venv\lib\site-packages\wheel\bdist_wheel.py", line 188, in run self.run_command('build') File "c:\python27\Lib\distutils\cmd.py", line 326, in run_command self.distribution.run_command(command) File "c:\python27\Lib\distutils\dist.py", line 972, in run_command cmd_obj.run() File "c:\python27\Lib\distutils\command\build.py", line 127, in run self.run_command(cmd_name) File "c:\python27\Lib\distutils\cmd.py", line 326, in run_command self.distribution.run_command(command) File "c:\python27\Lib\distutils\dist.py", line 972, in run_command cmd_obj.run() File "c:\users\XXX\appdata\local\temp\pip-install-89glzg\wrapt\setup.py", line 25, in run build_ext.run(self) File "c:\python27\Lib\distutils\command\build_ext.py", line 340, in run self.build_extensions() File "c:\python27\Lib\distutils\command\build_ext.py", line 449, in build_extensions self.build_extension(ext) File "c:\users\XXX\appdata\local\temp\pip-install-89glzg\wrapt\setup.py", line 31, in build_extension build_ext.build_extension(self, ext) File "c:\python27\Lib\distutils\command\build_ext.py", line 499, in build_extension depends=ext.depends) File "c:\python27\Lib\distutils\msvc9compiler.py", line 473, in compile self.initialize() File "c:\python27\Lib\distutils\msvc9compiler.py", line 383, in initialize vc_env = query_vcvarsall(VERSION, plat_spec) File "c:\octoprint\venv\lib\site-packages\setuptools\msvc.py", line 147, in msvc9_query_vcvarsall return EnvironmentInfo(arch, ver).return_env() File "c:\octoprint\venv\lib\site-packages\setuptools\msvc.py", line 1255, in return_env exists), File "c:\octoprint\venv\lib\site-packages\setuptools\msvc.py", line 1278, in _build_paths return os.pathsep.join(unique_paths) UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 12: ordinal not in range(128) ---------------------------------------- Failed building wheel for wrapt Running setup.py clean for wrapt Successfully built OctoPrint Failed to build PyYAML scandir wrapt Installing collected packages: werkzeug, MarkupSafe, Jinja2, itsdangerous, flask, regex, backports-abc, six, singledispatch, certifi, tornado, PyYAML, Flask-Login, blinker, Flask-Principal, pytz, Babel, speaklater, Flask-Babel, webassets, Flask-Assets, markdown, pyserial, netaddr, pathtools, argh, watchdog, sarge, netifaces, pylru, pyasn1, rsa, pkginfo, idna, chardet, urllib3, requests, semantic-version, psutil, Click, Unidecode, awesome-slugify, feedparser, chainmap, future, scandir, websocket-client, python-dateutil, wrapt, futures, emoji, monotonic, frozendict, OctoPrint Running setup.py install for PyYAML ... error Complete output from command c:\octoprint\venv\scripts\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\XXX\\appdata\\local\\temp\\pip-install-89glzg\\PyYAML\\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\XXX\appdata\local\temp\pip-record-64p0je\install-record.txt --single-version-externally-managed --compile --install-headers c:\octoprint\venv\include\site\python2.7\PyYAML: running install running build running build_py creating build creating build\lib.win32-2.7 creating build\lib.win32-2.7\yaml copying lib\yaml\composer.py -> build\lib.win32-2.7\yaml copying lib\yaml\constructor.py -> build\lib.win32-2.7\yaml copying lib\yaml\cyaml.py -> build\lib.win32-2.7\yaml copying lib\yaml\dumper.py -> build\lib.win32-2.7\yaml copying lib\yaml\emitter.py -> build\lib.win32-2.7\yaml copying lib\yaml\error.py -> build\lib.win32-2.7\yaml copying lib\yaml\events.py -> build\lib.win32-2.7\yaml copying lib\yaml\loader.py -> build\lib.win32-2.7\yaml copying lib\yaml\nodes.py -> build\lib.win32-2.7\yaml copying lib\yaml\parser.py -> build\lib.win32-2.7\yaml copying lib\yaml\reader.py -> build\lib.win32-2.7\yaml copying lib\yaml\representer.py -> build\lib.win32-2.7\yaml copying lib\yaml\resolver.py -> build\lib.win32-2.7\yaml copying lib\yaml\scanner.py -> build\lib.win32-2.7\yaml copying lib\yaml\serializer.py -> build\lib.win32-2.7\yaml copying lib\yaml\tokens.py -> build\lib.win32-2.7\yaml copying lib\yaml\__init__.py -> build\lib.win32-2.7\yaml running build_ext creating build\temp.win32-2.7 creating build\temp.win32-2.7\Release checking if libyaml is compilable Traceback (most recent call last): File "<string>", line 1, in <module> File "c:\users\XXX\appdata\local\temp\pip-install-89glzg\PyYAML\setup.py", line 344, in <module> 'test': test, File "c:\python27\Lib\distutils\core.py", line 151, in setup dist.run_commands() File "c:\python27\Lib\distutils\dist.py", line 953, in run_commands self.run_command(cmd) File "c:\python27\Lib\distutils\dist.py", line 972, in run_command cmd_obj.run() File "c:\octoprint\venv\lib\site-packages\setuptools\command\install.py", line 61, in run return orig.install.run(self) File "c:\python27\Lib\distutils\command\install.py", line 563, in run self.run_command('build') File "c:\python27\Lib\distutils\cmd.py", line 326, in run_command self.distribution.run_command(command) File "c:\python27\Lib\distutils\dist.py", line 972, in run_command cmd_obj.run() File "c:\python27\Lib\distutils\command\build.py", line 127, in run self.run_command(cmd_name) File "c:\python27\Lib\distutils\cmd.py", line 326, in run_command self.distribution.run_command(command) File "c:\python27\Lib\distutils\dist.py", line 972, in run_command cmd_obj.run() File "c:\users\XXX\appdata\local\temp\pip-install-89glzg\PyYAML\setup.py", line 171, in run _build_ext.run(self) File "c:\python27\Lib\distutils\command\build_ext.py", line 340, in run self.build_extensions() File "c:\users\XXX\appdata\local\temp\pip-install-89glzg\PyYAML\setup.py", line 213, in build_extensions with_ext = self.check_extension_availability(ext) File "c:\users\XXX\appdata\local\temp\pip-install-89glzg\PyYAML\setup.py", line 239, in check_extension_availability depends=ext.depends) File "c:\python27\Lib\distutils\msvc9compiler.py", line 473, in compile self.initialize() File "c:\python27\Lib\distutils\msvc9compiler.py", line 383, in initialize vc_env = query_vcvarsall(VERSION, plat_spec) File "c:\octoprint\venv\lib\site-packages\setuptools\msvc.py", line 147, in msvc9_query_vcvarsall return EnvironmentInfo(arch, ver).return_env() File "c:\octoprint\venv\lib\site-packages\setuptools\msvc.py", line 1255, in return_env exists), File "c:\octoprint\venv\lib\site-packages\setuptools\msvc.py", line 1278, in _build_paths return os.pathsep.join(unique_paths) UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 12: ordinal not in range(128) ---------------------------------------- Command "c:\octoprint\venv\scripts\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\XXX\\appdata\\local\\temp\\pip-install-89glzg\\PyYAML\\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\XXX\appdata\local\temp\pip-record-64p0je\install-record.txt --single-version-externally-managed --compile --install-headers c:\octoprint\venv\include\site\python2.7\PyYAML" failed with error code 1 in c:\users\XXX\appdata\local\temp\pip-install-89glzg\PyYAML\ (venv) C:\OctoPrint>
--
#3
gfunknown
Mega Nørd
10-02-2019 17:02

Rapporter til Admin
ligemeget, har fået det til at virke. lavede en VM med win10 hvor det virkede uden problemer, så bruger bare den i VM i stedet.
--

Opret svar til indlægget: problem med installation af octoprint/python

Grundet øget spam aktivitet fra gæstebrugere, er det desværre ikke længere muligt, at oprette svar som gæst.

Hvis du ønsker at deltage i debatten, skal du oprette en brugerprofil.

Opret bruger | Login


ANNONCE