Giter VIP home page Giter VIP logo

Comments (10)

Jrohy avatar Jrohy commented on May 17, 2024

最好用root用户安装

from multi-v2ray.

Jrohy avatar Jrohy commented on May 17, 2024

要让PYTHONPATH=/usr/local/multi-v2ray 环境变量生效
echo $PYTHONPATH 看下有没返回

from multi-v2ray.

choicky avatar choicky commented on May 17, 2024

要让PYTHONPATH=/usr/local/multi-v2ray 环境变量生效
echo $PYTHONPATH看下有没返回

我之前已经 source ~/.bashrc 了。echo $PYTHONPATH 输出如下:

:/usr/local/multi-v2ray:/usr/local/multi-v2ray

但目前依然遭遇 ModuleNotFoundError: No module named 'read_json'

from multi-v2ray.

Jrohy avatar Jrohy commented on May 17, 2024

下班后我测试下vultr的ubuntu18.04

from multi-v2ray.

Jrohy avatar Jrohy commented on May 17, 2024

我用paris的ubuntu18.04测试了没问题,你可以重装测试下

from multi-v2ray.

choicky avatar choicky commented on May 17, 2024

@Jrohy 好奇怪,我在 paris 新开了个 vps,依然遭遇一样的问题。我重新 seattle 的vps的系统,依然遭遇一样的问题。我的过程如下:

  1. 创建 ubuntu 用户,将其加到 sudo

  2. 安装multi-v2ray (命令有点差异)

使用 sudo 运行官网的安装命令 source <(curl -sL https://git.io/fNgqx) 会出错,提示 sudo: source: command not found ,因此,我是运行如下的命令安装的:

curl -sL https://git.io/fNgqx |sudo bash

安装过程是顺利的

  1. 安装之后,使用 sudo v2ray 编辑用户的 UUDI 等就会重现我说的问题。

from multi-v2ray.

choicky avatar choicky commented on May 17, 2024

update 一下。使用 root 用户安装是正常的。就是使用 sudo 组的用户安装会遭遇此问题。

ubuntu 习惯上推荐使用 非root 用户 登录 ssh、运行命令。

from multi-v2ray.

Jrohy avatar Jrohy commented on May 17, 2024

不是root用户来运行没怎么试过,有空会试下

from multi-v2ray.

choicky avatar choicky commented on May 17, 2024
adduser ubuntu
usermod -aG sudo ubuntu

然后用 ubuntu ssh 登录 就能重现该问题

from multi-v2ray.

Jrohy avatar Jrohy commented on May 17, 2024

你还是用root用户安装吧,没时间测试非root用户的,最近代码都在重构

from multi-v2ray.

Related Issues (20)

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.