GithubHelp home page GithubHelp logo

Comments (7)

noahzhy avatar noahzhy commented on July 28, 2024 6
pip3 uninstall mendel-development-tool
pip3 install mendel-development-tool

Notice: pip3 install it without --user, btw, make sure the following content in ~/.bash_profile file.

alias python3='winpty python3.exe'
alias mdt='winpty mdt'

Remember source ~/.bash_profile

from google-coral.

JasonCruz-Dev avatar JasonCruz-Dev commented on July 28, 2024

Thanks a ton! That solved my issue too!

from google-coral.

loiswen avatar loiswen commented on July 28, 2024

Hello, I have the same problem, but it is not solved after trying your method, I am a newbie, here is my code process, is there something wrong with me?
`17272@DESKTOP-FEIFH6G MINGW64 ~
$ python3 -m pip install --user mendel-development-tool
Requirement already satisfied: mendel-development-tool in c:\users\17272\appdata\ro
aming\python\python38\site-packages (1.5.2)
Requirement already satisfied: zeroconf>=0.27.0 in c:\users\17272\appdata\roaming\p
ython\python38\site-packages (from mendel-development-tool) (0.47.3)
Requirement already satisfied: paramiko>=2.0.0 in c:\users\17272\appdata\roaming\py
thon\python38\site-packages (from mendel-development-tool) (3.1.0)
Requirement already satisfied: bcrypt>=3.2 in c:\users\17272\appdata\roaming\python
\python38\site-packages (from paramiko>=2.0.0->mendel-development-tool) (4.0.1)
Requirement already satisfied: cryptography>=3.3 in c:\users\17272\appdata\roaming
python\python38\site-packages (from paramiko>=2.0.0->mendel-development-tool) (39.0
.2)
Requirement already satisfied: pynacl>=1.5 in c:\users\17272\appdata\roaming\python
\python38\site-packages (from paramiko>=2.0.0->mendel-development-tool) (1.5.0)
Requirement already satisfied: ifaddr>=0.1.7 in c:\users\17272\appdata\roaming\pyth
on\python38\site-packages (from zeroconf>=0.27.0->mendel-development-tool) (0.2.0)
Requirement already satisfied: async-timeout>=3.0.0 in c:\users\17272\appdata\roami
ng\python\python38\site-packages (from zeroconf>=0.27.0->mendel-development-tool) (
4.0.2)
Requirement already satisfied: cffi>=1.12 in c:\users\17272\appdata\roaming\python
python38\site-packages (from cryptography>=3.3->paramiko>=2.0.0->mendel-development
-tool) (1.15.1)
Requirement already satisfied: pycparser in c:\users\17272\appdata\roaming\python\p
ython38\site-packages (from cffi>=1.12->cryptography>=3.3->paramiko>=2.0.0->mendel-
development-tool) (2.21)

17272@DESKTOP-FEIFH6G MINGW64 ~
$ echo "alias mdt='winpty mdt'" >> ~/.bash_profile

source ~/.bash_profile

17272@DESKTOP-FEIFH6G MINGW64 ~
$ mdt devices
winpty: error: cannot start 'mdt': Not found in PATH
17272@DESKTOP-FEIFH6G MINGW64 ~
$ pip3 uninstall mendel-development-tool
Found existing installation: mendel-development-tool 1.5.2
Uninstalling mendel-development-tool-1.5.2:
Would remove:
c:\users\17272\appdata\roaming\python\python38\scripts\mdt.exe
c:\users\17272\appdata\roaming\python\python38\site-packages\mdt*
c:\users\17272\appdata\roaming\python\python38\site-packages\mendel_development_tool-1.5.2.dist-info*
c:\users\17272\appdata\roaming\python\share\man\man1\mdt.1
Proceed (Y/n)? Y
Successfully uninstalled mendel-development-tool-1.5.2

17272@DESKTOP-FEIFH6G MINGW64 ~
$ pip3 install mendel-development-tool
Defaulting to user installation because normal site-packages is not writeable
Collecting mendel-development-tool
Using cached mendel_development_tool-1.5.2-py3-none-any.whl (26 kB)
Requirement already satisfied: zeroconf>=0.27.0 in c:\users\17272\appdata\roaming\python\python38\site-packages (from mendel-development-tool) (0.47.3)
Requirement already satisfied: paramiko>=2.0.0 in c:\users\17272\appdata\roaming\python\python38\site-packages (from mendel-development-tool) (3.1.0)
Requirement already satisfied: pynacl>=1.5 in c:\users\17272\appdata\roaming\python\python38\site-packages (from paramiko>=2.0.0->mendel-development-tool) (1.5.0)
Requirement already satisfied: bcrypt>=3.2 in c:\users\17272\appdata\roaming\python\python38\site-packages (from paramiko>=2.0.0->mendel-development-tool) (4.0.1)
Requirement already satisfied: cryptography>=3.3 in c:\users\17272\appdata\roaming\python\python38\site-packages (from paramiko>=2.0.0->mendel-development-tool) (39.0.2)
Requirement already satisfied: async-timeout>=3.0.0 in c:\users\17272\appdata\roaming\python\python38\site-packages (from zeroconf>=0.27.0->mendel-development-tool) (4.0.2)
Requirement already satisfied: ifaddr>=0.1.7 in c:\users\17272\appdata\roaming\python\python38\site-packages (from zeroconf>=0.27.0->mendel-development-tool) (0.2.0)
Requirement already satisfied: cffi>=1.12 in c:\users\17272\appdata\roaming\python\python38\site-packages (from cryptography>=3.3->paramiko>=2.0.0->mendel-development-tool) (1.15.1)
Requirement already satisfied: pycparser in c:\users\17272\appdata\roaming\python\python38\site-packages (from cffi>=1.12->cryptography>=3.3->paramiko>=2.0.0->mendel-development-tool) (2.21)
Installing collected packages: mendel-development-tool
WARNING: The script mdt.exe is installed in 'C:\Users\17272\AppData\Roaming\Python\Python38\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed mendel-development-tool-1.5.2

17272@DESKTOP-FEIFH6G MINGW64 ~
$ alias python3='winpty python3.exe'

17272@DESKTOP-FEIFH6G MINGW64 ~
$ alias mdt='winpty mdt'

17272@DESKTOP-FEIFH6G MINGW64 ~
$ source ~/.bash_profile

17272@DESKTOP-FEIFH6G MINGW64 ~
$ mdt devices
winpty: error: cannot start 'mdt': Not found in PATH

17272@DESKTOP-FEIFH6G MINGW64 ~
$ echo "alias mdt='winpty mdt'" >> ~/.bash_profile

source ~/.bash_profile

17272@DESKTOP-FEIFH6G MINGW64 ~
$ mdt devices
winpty: error: cannot start 'mdt': Not found in PATH

`

from google-coral.

noahzhy avatar noahzhy commented on July 28, 2024

maybe you should check your ~/.bash_profile file content

from google-coral.

brianthelion avatar brianthelion commented on July 28, 2024

@loiswen Your use of pip install --user is causing the mdt executable to be created where winpty can't find it. The provided solution will not work with --user.

from google-coral.

loiswen avatar loiswen commented on July 28, 2024

@loiswen您的使用会导致在找不到它的位置创建可执行文件。提供的解决方案不适用于 。pip install --user``mdt``winpty``--user

Hello, thank you very much for your prompt reply, but I used command python3 -m pip install mendel-development-tool but it was not successful

from google-coral.

loiswen avatar loiswen commented on July 28, 2024

maybe you should check your ~/.bash_profile file content

Hello, thank you for your reply. I saw in directory “C:\Users\17272” that the content in file “.bash_profile” is alias python3='winpty python3.exe' alias python3='winpty python3.exe' alias mdt='winpty mdt' alias python3='winpty python3.exe' alias python3='winpty python3.exe' alias mdt='winpty mdt' alias mdt='winpty mdt' alias python3='winpty python3.exe' alias mdt='winpty mdt'
I think I followed the instructions to every step, but I don't know why I still haven't achieved the desired results.

from google-coral.

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.