Coder Social home page Coder Social logo

installscript's People

Contributors

billolha avatar e-ho avatar jovar-dev avatar niyasraphy avatar ossimantylahti avatar rad0van avatar rockcesar avatar sebastian-code avatar sel-carlitos avatar sswapnesh avatar tonybenoy avatar vincentadriaensen avatar yenthe666 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

installscript's Issues

Combine Odoo 8.0 and 9.0 installation script in one version

Hi guys,

Let us discuss this if we want to make one script for V8 AND V9 in one or not.
Do you guys see any downsides in it? I honestly think it would be easier to maintain the code and it would probably be easier for the end user too. No more choosing between scripts etc.
We'd just add something along these lines for adding 9.0 support:

if [ $OE_VERSION = "9.0" ]; then
  echo -e "\n--- Install Odoo 9 specific required packages"
  sudo apt-get install node-clean-css -y
  sudo apt-get install node-less -y
fi

@tvibliani, @sebastian-code I'd love feedback! If you guys are okay with it i'll add it in and make one script for both V8 and V9.

Renaming the branches

I think than, seeing where the script is going, and how it pretends to approach the installation, is safe to say than perhaps some more appropriate naming for the branches is in place.

A master branch, which is the default one too (right now is the 9.0 branch), and perhaps a development branch too.

ERR_CONNECTION_REFUSED. Cannot reach my-ip:8069

Hi

I have just installed Odoo 11 CE using the install script from Odoo 11.

After running the script, the Odoo service starts, but I cannot reach Odoo by http//:my-ip:8069. I get the error ERR_CONNECTION_REFUSED (chrome).

service odoo-server status

root@odoo-11:~# service odoo-server status
● odoo-server.service - LSB: Enterprise Business Applications
Loaded: loaded (/etc/init.d/odoo-server; bad; vendor preset: enabled)
Active: active (exited) since Sun 2017-10-22 14:01:39 UTC; 5s ago
Docs: man:systemd-sysv-generator(8)
Process: 4265 ExecStop=/etc/init.d/odoo-server stop (code=exited, status=0/SUCCESS)
Process: 4270 ExecStart=/etc/init.d/odoo-server start (code=exited, status=0/SUCCESS)

Oct 22 14:01:39 odoo-11 systemd[1]: Starting LSB: Enterprise Business Applications...
Oct 22 14:01:39 odoo-11 odoo-server[4270]: Starting odoo-server: odoo-server.
Oct 22 14:01:39 odoo-11 systemd[1]: Started LSB: Enterprise Business Applications.

netstat -ntlp | grep LISTEN

root@odoo-11:~# sudo netstat -ntlp | grep LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1329/sshd
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN 1475/postgres
tcp6 0 0 :::80 :::* LISTEN 1476/apache2
tcp6 0 0 :::22 :::* LISTEN 1329/sshd

Any suggestions?

Best Regards,
Rasmus

Outdated wkhtmltopdf version

There is a more recent version of the file for Ubuntu at the wkhtmltopdf portal, perhaps is worth it to modify the script, I worked with that version for the Odoo v8.0

[9.0] Missing Dependency: psycogreen - For Use With Longpolling/LiveChat

@Yenthe666 ,

While running your script for testing with Aeroo i've noticed that the psycogreen dependency is not installed which means livechat will not function.

Dependency is installed by pip:

sudo pip install psycogreen

That along with multiple workers (ie. greater than 0) enabled and a longpolling port assigned will allow for proper function for the livechat module.

Why not install virtualenv and python packages from list in requirements.txt

@Yenthe666
These lines from odoo_install_debian.sh are missing in odoo_install.sh:

echo -e "\n---- Install python packages and virtualenv ----"
pip install  virtualenv >> ./install_log
mkdir $OE_PYTHON_ENV >> ./install_log
virtualenv $OE_PYTHON_ENV -p /usr/bin/python2.7 >> ./install_log
source /odoo/python_env/bin/activate && pip install -r $OE_HOME_EXT/requirements.txt >> ./install_log
deactivate

Direct link: https://github.com/Yenthe666/InstallScript/blob/11.0/odoo_install_debian.sh#L216

Is there any reason not to install the python packages from the list in the file requirements.txt ?

Can't import csv

Hi,

after the installation (odoo 9.0 or 10.0), I can't validate a csv importation . How can I fix it?

Odoo 9 - Ubuntu LTS 14.04 server or desktop?

Dear,

I am trying to execute the script to install Odoo 9 but I have many errors :

  • not found GIT
  • not found nodejs
  • ...

Somebody can confirm witch is the ubuntu LTS version and if this is a desktop or server edition we need to install?

Best Regards,
Youssef

Studio missing dependencies

Hello,

I am using the latest version for Enterprise Edition for v11, but it seems that some dependencies are missing for the STUDIO module. I have the following error whenever I want to add a column to any List View:

Odoo Server Error - Validation Error
Invalid view definition

from console:

2017-10-31 22:04:12,297 13636 ERROR test odoo.tools.view_validation: :3:0:ERROR:RELAXNGV:RELAXNG_ERR_NOELEM: Expecting an element data, got nothing
2017-10-31 22:04:12,298 13636 ERROR test odoo.tools.view_validation: :3:0:ERROR:RELAXNGV:RELAXNG_ERR_INVALIDATTR: Invalid attribute studio_groups for element field
2017-10-31 22:04:12,298 13636 ERROR test odoo.tools.view_validation: :2:0:ERROR:RELAXNGV:RELAXNG_ERR_EXTRACONTENT: Element tree has extra content: field
2017-10-31 22:04:12,298 13636 ERROR test odoo.tools.view_validation: Invalid XML: Get RNG validator and validate RNG file.

FYI, if testing in runbot.odoo.com its working.

[10.0/Master] Feature Request - Add Whiptail for TUI (Terminal UI)

@Yenthe666 ,

Suggested Features:

  • Markup current 10.0 branch script with whiptail to provide a TUI for selecting options during the setup process.

More Info On Whiptail:

Whiptail Wiki

Notes:

I will come back to this issue and revisit it with more information as soon as possible. Generally I believe the first step would be to markup the current script with whiptail without adding any new features besides the TUI.

I will elaborate on these points shortly, this is just a placeholder for now.

[11] odoo 11 installscript not working

After installing, odoo is not running.

With command
/opt/odoo/odoo-server/odoo-bin -c /etc/odoo-server.conf

appears this error

 File "/opt/odoo/odoo-server/odoo/addons/base/ir/ir_mail_server.py", line 16, in <module>
    import html2text
ImportError: No module named html2text

html2text is impossible to install

In graph and pivot table view, x axis one table. y-axis another one table is this possible to show our data for analytical view if it possible give me some some example of using two tables as x and y axis how to customize, if not possible to use two table in x,y axis, why give me some pretty simple example for both of question? thanks for your attention......!

In graph and pivot table view, x axis one table. y-axis another one table is this possible to show our data for analytical view if it possible give me some some example of using two tables as x and y axis how to customize, if not possible to use two table in x,y axis, why give me some pretty simple example for both of question?

thanks for your attention......!

proposed update on the debian install odoo script

Hi Team,

I noticed that the odoo install script for debian is missing the automatic port set up when creating the server config file.
At the end in the script it is xmlrpc_port = 8069

But I think that it should be xmlrpc_port = $OE_PORT

Best regards

[v11] Backup file wrong name

i observed a small problem i would like to signal, when using the web based interface to backup my database, the .zip file is not created well, it's named " b'mydb_2017-10-23_21-47-00.zip' " instead of " mydb_2017-10-23_21-47-00.zip ". By the way, deleting the " b'...' " characters made the zip file usable for import.

Odoo master python 3

Hi Yenthe,

Seems like the script isn't working anymore for the latest master of Odoo.

Do you have plans to migrate the script to python 3?

Thank you.
Cas

Question How to Install Odoo 9 with other port? (8070)

I have installed Odoo 8 debian.
When I use your installation script for odoo 9 on the same server, the Odoo 8 version is gone away. Because on port 8069 is Odoo 9.
I want Odoo8 on port 8069 and Odoo9 on port 8070.

Can you help me ?

I mean I don't want to overwrite the Path from Odoo 8 like /etc/init.d/odoo

Can not access localhost

Hello Everyone

I am new to Ubuntu, but i managed to install odoo using Yenthe excellent script, and server seems to be running. this is what i get:

`● odoo-server.service - LSB: Enterprise Business Applications
Loaded: loaded (/etc/init.d/odoo-server; generated; vendor preset: enabled)
Active: active (exited) since Mon 2017-11-06 17:40:58 WET; 22min ago
Docs: man:systemd-sysv-generator(8)
Process: 7860 ExecStart=/etc/init.d/odoo-server start (code=exited, status=0/S
Tasks: 0 (limit: 4915)
CGroup: /system.slice/odoo-server.service

nov 06 17:40:58 Mendiolaserver systemd[1]: Starting LSB: Enterprise Business App
nov 06 17:40:58 Mendiolaserver odoo-server[7860]: Starting odoo-server: odoo-ser
nov 06 17:40:58 Mendiolaserver systemd[1]: Started LSB: Enterprise Business Appl`

but when i try to access the main page from the web browser i just get a unable to connect localhost:8069

There does not seem to be any log file on /var/log/odoo/odoo-server.log so i can not post anything of some kind of error.

I am using Ubuntu 17.10 and not sure if that has anything to do with me not being able to go into the setup screen of Ubuntu.

since i am only testing, i did not change password or port or anything, i just downloaded the script, chmoded and installed with your instructions.

any ideas?

[11] Excel — XLWT required

Hi and thank you for the script! I'm not sure if this is install script issue but anyway something seems to be missing from my Ubuntu 16.04.3 environment after installation of Odoo 11 Community using the script. See the attached image, Excel export option cannot be selected and there is text: "Excel — XLWT required".

excel xlwt required

no CSS after installing Odoo11 Enterprise

After installing with your script on ubuntu 16.04 I get no css and the -u all attempt did not work. the server just does not do anything after the command.

image

2017-10-12 15:01:25,394 17118 INFO ? odoo: database: default@default:default
2017-10-12 15:01:25,400 17118 INFO ? odoo.service.server: HTTP service (werkzeug) running on 0.0.0.0:8070
2017-10-12 15:01:25,451 17118 INFO ? odoo.addons.base.ir.ir_actions_report: Will use the Wkhtmltopdf binary at /usr/local/bin/wkhtmltopdf
2017-10-12 15:01:36,621 17118 INFO ? odoo.http: Generating nondb routing
2017-10-12 15:01:36,705 17118 INFO ? werkzeug: 93.237.107.48 - - [12/Oct/2017 15:01:36] "GET /web/database/selector HTTP/1.1" 200 -
2017-10-12 15:01:36,761 17118 INFO ? werkzeug: 93.237.107.48 - - [12/Oct/2017 15:01:36] "GET /web/static/lib/bootstrap/css/bootstrap.css HTTP/1.1" 404 -
2017-10-12 15:01:36,762 17118 INFO ? werkzeug: 93.237.107.48 - - [12/Oct/2017 15:01:36] "GET /web/static/lib/fontawesome/css/font-awesome.css HTTP/1.1" 404 -
2017-10-12 15:01:36,762 17118 INFO ? werkzeug: 93.237.107.48 - - [12/Oct/2017 15:01:36] "GET /web/static/lib/bootstrap/js/tooltip.js HTTP/1.1" 404 -
2017-10-12 15:01:36,762 17118 INFO ? werkzeug: 93.237.107.48 - - [12/Oct/2017 15:01:36] "GET /web/static/lib/jquery/jquery.js HTTP/1.1" 404 -
2017-10-12 15:01:36,763 17118 INFO ? werkzeug: 93.237.107.48 - - [12/Oct/2017 15:01:36] "GET /web/static/lib/bootstrap/js/modal.js HTTP/1.1" 404 -
2017-10-12 15:01:36,777 17118 INFO ? werkzeug: 93.237.107.48 - - [12/Oct/2017 15:01:36] "GET /web/static/lib/bootstrap/js/dropdown.js HTTP/1.1" 404 -
2017-10-12 15:01:36,800 17118 INFO ? werkzeug: 93.237.107.48 - - [12/Oct/2017 15:01:36] "GET /web/static/lib/bootstrap/js/modal.js HTTP/1.1" 404 -
2017-10-12 15:01:36,812 17118 INFO ? werkzeug: 93.237.107.48 - - [12/Oct/2017 15:01:36] "GET /web/static/src/img/logo2.png HTTP/1.1" 404 -
2017-10-12 15:01:36,836 17118 INFO ? werkzeug: 93.237.107.48 - - [12/Oct/2017 15:01:36] "GET /web/static/lib/bootstrap/js/tooltip.js HTTP/1.1" 404 -
2017-10-12 15:01:36,873 17118 INFO ? werkzeug: 93.237.107.48 - - [12/Oct/2017 15:01:36] "GET /web/static/lib/bootstrap/js/dropdown.js HTTP/1.1" 404 -
2017-10-12 15:01:36,919 17118 INFO ? werkzeug: 93.237.107.48 - - [12/Oct/2017 15:01:36] "GET /web/static/src/img/logo2.png HTTP/1.1" 404 -
2017-10-12 15:01:40,790 17118 INFO ? werkzeug: 93.237.107.48 - - [12/Oct/2017 15:01:40] "GET /web/database/selector HTTP/1.1" 200 -
2017-10-12 15:01:40,829 17118 INFO ? werkzeug: 93.237.107.48 - - [12/Oct/2017 15:01:40] "GET /web/static/lib/fontawesome/css/font-awesome.css HTTP/1.1" 404 -
2017-10-12 15:01:40,851 17118 INFO ? werkzeug: 93.237.107.48 - - [12/Oct/2017 15:01:40] "GET /web/static/lib/bootstrap/js/modal.js HTTP/1.1" 404

wkhtmltopdf

Great work...
Why not replace (in xenial) x86 or x64 wkhtmltopdf install (WKHTMLTOX_X64 / WKHTMLTOX_X32) by:
"sudo apt-get install wkhtmltopdf -y"? (or at least update /0.12/0.12.1/wkhtmltox-0.12.1-etc-.deb to /0.12/0.12.2.1/wkhtmltox-0.12.2.1-etc-.deb)
Thanks

About dependencies

I've been taking a closer look to the dependencies installed by the script. From where did you get those?

I picked some of the libraries I don't think are needed:

subversion bzr bzrtools gdebi-core python-pip

The setup uses git, so you don't need this packages, for python-pip, you don't need it and is already installed with every image of ubuntu 14; and for gdebi, you can replace that command with dpkg, library already installed on any setup of ubuntu 14.

You also listed python-pil, an abandoned project, and Odoo lists Pillow, it's replacement.

The libraries python-geoip python-unicodecsv and python-serial are not listed into the script but those are needed with the software for different purposes. And python-webdav python-zsi are listed but I couldn't find any reference to those two.

Security Holes made from installation script

created odoo system user that runs odoo instance as a service daemon, is not created with correspondence with best practices. rather it has some security holes:

  • the user has /bin/bash as a shell, whereas there is no any necessity for that. it's better to have restricted this user to /bin/false
  • the user is added to sudoers, again, without any necessity for that, i.e. it has given administrator level of access to the system. Let's see if we can run odoo instance with root user, for me (with odoo 8.0) it gives:
# ./odoo.py 
Running as user 'root' is a security risk, aborting.

ok then. Same level of risk with sudoer user... AND even if it could not be a risk, it's already wrong to give administrative access to any user in the system without reason for that.

Deinstallation script

For the future:

A script that cleans and removes the whole Odoo environment made with the installation script.
@sebastian-code and @tvibliani is this something you guys think would be a nice extra too?
I think I'd like one to clean up my test environments easily.

Installation Folder

At this point the script creates a folder in the root address of the disk as the home folder for the odoo user, and also to contain the odoo software.

In Linux is usually a good practice to do that inside the /opt/ folder, I would say than that is basically because the modularity Linux installs allow for mounting folders in different storage units.

I didn't created a PR basically because I want to here from you @Yenthe666 and @tvibliani and what do you think about this, before to suggest something.

Add Nginx support in installation script

We should add the Nginx ability in the installation script.
This allows us to configure Nginx proxy for Odoo(s).
Commands:

sudo apt-get install nginx
sudo service nginx start
sudo rm /etc/nginx/sites-enabled/default
sudo service nginx restart
sudo nano /etc/nginx/conf.d/openerp.conf

Add the following code in the file:

#worker_processes  1;

#events {
#    worker_connections  1024;
#}

    server {
        listen  80;
        server_name 127.0.0.1;
        location /socket.io {
            proxy_pass   http://127.0.0.1:8080;
            proxy_http_version 1.1;

            proxy_set_header Upgrade $http_upgrade;
            proxy_set_header Connection "upgrade";
            proxy_set_header Host $host;

            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header X-Forwarded-Proto https;

            proxy_redirect off;
         }

        location / {
            proxy_pass   http://127.0.0.1:8080;
        }
    }

Finally, restart Nginx:

sudo service nginx restart

This should convert a running Odoo on port 8080 to running on port 80 (http://localhost)

@sebastian-code and @tvibliani what do you guys think about this? I'd like input / ideas on this! I was thinking about adding a new variable at the top OE_NGINX which has the options True and False. When the user fills in True we'll install Nginx, configure it and create a new file? We'd also need a new variable to know to which port the Nginx should forward.

Script alternatives

This script has required some effort, but in improvements sake, I'll go with a question, should we consider a more structured tool, like ansible? What do you think @Yenthe666 @tvibliani.

Docker is perhaps out of question because the same Odoo says than their docker scripts are to buggy, and don't recommend it. But there is no other option, and I was thinking than perhaps Ansible is a good idea.

customs addon folder with entreprise

Hi guys,

I noticed that if the entreprise is installed with the odoo10 script, the custom addons folder is being skipped.
I don't know if it is a wanted result or not but I think it should not be the case.

Also, If we use the script for installing multiple Odoo on the same server, we don't need to re-install PostgreSQL and the dependencies right?

[V9 Enterprise] assets broken when doing -u all

When a user has a V9 Enterprise and does a git update and/or update of the modules with -u all the assets will be broken.
The whole Odoo screen will be broken and nothing will be shown except dozens of errors about the assets not being abled to load etc.

This happens because Ubuntu doesn't know which NodeJS to take. A nice explanation is here: http://stackoverflow.com/questions/26320901/cannot-install-nodejs-usr-bin-env-node-no-such-file-or-directory

A possible fix:

ln -s /usr/bin/nodejs /usr/bin/node

Odoo Server Error

Installation worked fine but now receive 'Odoo server Error' every time I log into odoo

Traceback (most recent call last):
File "/odoo/odoo-server/odoo/fields.py", line 911, in get
value = record.env.cache.get(record, self)
File "/odoo/odoo-server/odoo/api.py", line 960, in get
value = self._data[field][record.id][key]
KeyError: <odoo.api.Environment object at 0x7f227a235390>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/odoo/odoo-server/odoo/http.py", line 646, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/odoo/odoo-server/odoo/http.py", line 307, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/odoo/odoo-server/odoo/tools/pycompat.py", line 86, in reraise
raise value
File "/odoo/odoo-server/odoo/http.py", line 683, in dispatch
result = self._call_function(**self.params)
File "/odoo/odoo-server/odoo/http.py", line 339, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/odoo/odoo-server/odoo/service/model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "/odoo/odoo-server/odoo/http.py", line 332, in checked_call
result = self.endpoint(*a, **kw)
File "/odoo/odoo-server/odoo/http.py", line 927, in call
return self.method(*args, **kw)
File "/odoo/odoo-server/odoo/http.py", line 512, in response_wrap
response = f(*args, **kw)
File "/odoo/odoo-server/addons/calendar/controllers/main.py", line 68, in notify
return request.env['calendar.alarm_manager'].get_next_notif()
File "/odoo/odoo-server/addons/calendar/models/calendar.py", line 401, in get_next_notif
all_notif.append(self.do_notif_reminder(alert))
File "/odoo/odoo-server/addons/calendar/models/calendar.py", line 428, in do_notif_reminder
message = meeting.display_time
File "/odoo/odoo-server/odoo/fields.py", line 915, in get
self.determine_value(record)
File "/odoo/odoo-server/odoo/fields.py", line 1026, in determine_value
self.compute_value(recs)
File "/odoo/odoo-server/odoo/fields.py", line 982, in compute_value
self._compute_value(records)
File "/odoo/odoo-server/odoo/fields.py", line 973, in _compute_value
getattr(records, self.compute)()
File "/odoo/odoo-server/addons/calendar/models/calendar.py", line 821, in _compute_display_time
meeting.display_time = self._get_display_time(meeting.start, meeting.stop, meeting.duration, meeting.allday)
File "/odoo/odoo-server/addons/calendar/models/calendar.py", line 686, in _get_display_time
date_str = date.strftime(format_date).decode('utf-8')
AttributeError: 'str' object has no attribute 'decode'

odoo service automatic shutdown issue.

I deploy the odoo 9 in the digital ocean with ubuntu 14.4, i am sure the server never restart, because if the server restart, the ip address will change also.my question is when i type "sudo service odoo-server start" to start the odoo, but in the second day, the odoo can not open anymore, i should going to Terminal to type this commend again to start odoo, so does had anyway to help me keep the odoo running?

[10.0] Install Script Error

Some of this looks wrong to me.... any ideas?

---- Setting permissions on home folder ----

  • Create server config file
    cp: cannot stat '/odoo/odoo-server/debian/odoo.conf': No such file or directory
    chown: cannot access '/etc/odoo-server.conf': No such file or directory
    chmod: cannot access '/etc/odoo-server.conf': No such file or directory
  • Change server config file
    sed: can't read /etc/odoo-server.conf: No such file or directory
    sed: can't read /etc/odoo-server.conf: No such file or directory
  • Create startup file
    bash: /odoo/odoo-server/start.sh: No such file or directory
    bash: /odoo/odoo-server/start.sh: No such file or directory
    chmod: cannot access '/odoo/odoo-server/start.sh': No such file or directory

Add DB filter in configuration script

The /etc/conf script should contain the database filter?
Something along the lines of:

sudo su root -c "echo 'dbfilter = ^%d$' >> /etc/${OE_CONFIG}.conf"

Error install "pysftp" install ubuntu 14.04 odoo 10

Hi friends, I have problemas tu install pysftp, the log to pip is:

byte-compiling /usr/local/lib/python2.7/dist-packages/cryptography/x509/oid.py to oid.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/cryptography/x509/general_name.py to general_name.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/cryptography/x509/name.py to name.pyc
running install_egg_info
Copying src/cryptography.egg-info to /usr/local/lib/python2.7/dist-packages/cryptography-1.8.1.egg-info
running install_scripts
writing list of installed files to '/tmp/pip-ZGKkqj-record/install-record.txt'
Found existing installation: setuptools 3.3
Not uninstalling setuptools at /usr/lib/python2.7/dist-packages, owned by OS
Running setup.py install for cffi
Running command /usr/bin/python -c "import setuptools, tokenize;file='/tmp/pip_build_root/cffi/setup.py';exec(compile(getattr(tokenize, 'open', open)(file)$
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python2.7/dist-packages/setuptools/init.py", line 12, in
import setuptools.version
File "/usr/local/lib/python2.7/dist-packages/setuptools/version.py", line 1, in
import pkg_resources
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 72, in
import packaging.requirements
File "/usr/local/lib/python2.7/dist-packages/packaging/requirements.py", line 59, in
MARKER_EXPR = originalTextFor(MARKER_EXPR())("marker")
TypeError: call() takes exactly 2 arguments (1 given)
Complete output from command /usr/bin/python -c "import setuptools, tokenize;file='/tmp/pip_build_root/cffi/setup.py';exec(compile(getattr(tokenize, 'open', op$
Traceback (most recent call last):

File "", line 1, in

File "/usr/local/lib/python2.7/dist-packages/setuptools/init.py", line 12, in

import setuptools.version

File "/usr/local/lib/python2.7/dist-packages/setuptools/version.py", line 1, in

import pkg_resources

File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 72, in

import packaging.requirements

import packaging.requirements

File "/usr/local/lib/python2.7/dist-packages/packaging/requirements.py", line 59, in

MARKER_EXPR = originalTextFor(MARKER_EXPR())("marker")

TypeError: call() takes exactly 2 arguments (1 given)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.