Перейти к содержимому
Калькуляторы

Установка NOCProject 0.8

Всем доброго!

 

Помогите решить проблему при установке nocproject 0.8

Вываливает на этапе ./scripts/upgrade

Downloading/unpacking noc-pkg-handlebars==1.0.0 (from -r etc/requirements/noc.txt (line 21))

http://cdn.nocproject.org/pkg/simple/ uses an insecure transport scheme (http). Consider using https if cdn.nocproject.org has it available

Could not find any downloads that satisfy the requirement noc-pkg-handlebars==1.0.0 (from -r etc/requirements/noc.txt (line 21))

Some externally hosted files were ignored (use --allow-external noc-pkg-handlebars to allow).

Cleaning up...

No distributions at all found for noc-pkg-handlebars==1.0.0 (from -r etc/requirements/noc.txt (line 21))

Storing debug log for failure in /home/noc/.pip/pip.log

upgrade: 180: Cannot update python libraries

 

$ pip -V

pip 1.5.4 from /usr/lib/python2.6/site-packages (python 2.6)

 

Система CentOS 6.5

 

Все делал по мануалу.

 

Спасибо!

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

в irc на такое отвечают быстро, а так это считается плавающей проблемой с неясными корнями, как вариант, скачать нужный pkg c https://bitbucket.org/nocproject/noc/downloads и подложить в папку... черт, опять забыл в какую, опять же в irc сидят знающие люди.

у меня кажется подобное тоже было, но через каоке-то время прошло

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

ставлю noc на FreeBSD 10.0-RELEAS

при выполнении скрипта /opt/noc/scripts/upgrade вываливается с ошибкой

 

Installing collected packages: gmpy, pycrypto, python-cjson, netifaces, Django, South, coverage, protobuf, pyasn1, pyasn1-modules, pysnmp, python-creole, docutils, Pygments, mongoengine, tornado, sleekxmpp, noc-pkg-handlebars, noc-pkg-shjs, noc-pkg-famfamfam-silk, noc-pkg-silk-companion1, noc-pkg-extjs, noc-pkg-mxgraph, noc-pkg-openlayers, noc-pkg-cubism, noc-pkg-d3, noc-pkg-font-awesome

Running setup.py install for gmpy

building 'gmpy' extension

cc -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -DNDEBUG -fPIC -I./src -I/usr/local/include/python2.7 -c src/gmpy.c -o build/temp.freebsd-10.0-RELEASE-amd64-2.7/src/gmpy.o

In file included from src/gmpy.c:248:

./src/gmpy.h:30:10: fatal error: 'gmp.h' file not found

#include "gmp.h"

^

1 error generated.

error: command 'cc' failed with exit status 1

Complete output from command /opt/noc/bin/python2.7 -c "import setuptools, tokenize;__file__='/opt/noc/build/gmpy/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-mcylTU-record/install-record.txt --single-version-externally-managed --compile --install-headers /opt/noc/include/site/python2.7:

running install

 

running build

 

running build_ext

 

building 'gmpy' extension

 

creating build

 

creating build/temp.freebsd-10.0-RELEASE-amd64-2.7

 

creating build/temp.freebsd-10.0-RELEASE-amd64-2.7/src

 

cc -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -DNDEBUG -fPIC -I./src -I/usr/local/include/python2.7 -c src/gmpy.c -o build/temp.freebsd-10.0-RELEASE-amd64-2.7/src/gmpy.o

 

In file included from src/gmpy.c:248:

 

./src/gmpy.h:30:10: fatal error: 'gmp.h' file not found

 

#include "gmp.h"

 

^

 

1 error generated.

 

error: command 'cc' failed with exit status 1

 

----------------------------------------

Cleaning up...

Command /opt/noc/bin/python2.7 -c "import setuptools, tokenize;__file__='/opt/noc/build/gmpy/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-mcylTU-record/install-record.txt --single-version-externally-managed --compile --install-headers /opt/noc/include/site/python2.7 failed with error code 1 in /opt/noc/build/gmpy

Storing debug log for failure in /root/.pip/pip.log

upgrade: 212: Cannot update python libraries

Terminating

Изменено пользователем spellex

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Гость
Ответить в тему...

×   Вставлено в виде отформатированного текста.   Вставить в виде обычного текста

  Разрешено не более 75 смайлов.

×   Ваша ссылка была автоматически встроена.   Отобразить как ссылку

×   Ваш предыдущий контент был восстановлен.   Очистить редактор

×   Вы не можете вставить изображения напрямую. Загрузите или вставьте изображения по ссылке.