Comments (5)
Hi @DJMcMayhem, it doesn't look like that is the right progen. If you install requirements.txt then the correct progen will be installed. Something like pip install -r requirements.txt
.
from daplink.
OK. Well, it seems like progen is being installed, but the command still fails. Here is my output from python2 -m pip install -r requirements.txt
:
(venv) C:\Users\Me\project\DAPLink>python2 -m pip install -r requirements.txt
Requirement already satisfied (use --upgrade to upgrade): project-generator<0.10.0,>=0.9.8 in c:\python27\lib\site-packages (from -r requirements.txt (line 1))
...
...
However progen generate -t uvision
gives
'progen' is not recognized as an internal or external command,
operable program or batch file.
As I was looking around, I did find a folder in c:\python27\lib\site-packages
named project_generator
, which seems to be what I'm looking for. But trying to run this gives:
(venv) C:\Users\Me\project\DAPLink\tools>python2 -m project_generator generate -t uvision
C:\Python27\python2.exe: No module named project_generator.__main__; 'project_generator' is a package and cannot be directly executed
(venv) C:\Users\Me\MyProject\DAPLink\tools>
Am I even looking in the right place?
from daplink.
It might be that the command python2 does not work properly in a virtualenv. If you run pip list
(without the python2) does progen show up as installed?
from daplink.
@DJMcMayhem were you able to get this working?
from daplink.
Closing this issue. Please re-open if you are still having problems.
from daplink.
Related Issues (20)
- Not able to build in windows gcc environment HOT 4
- GNU Arm Embedded Toolchain is deprecated HOT 4
- Building on Mac with latest homebrew-managed `gcc-arm-embedded` fails HOT 2
- uart.c constant comparison issues
- Support for newer versions of GNU Arm Embedded Toolchain
- Address of local variable buffer is assigned to a non-local variable
- PIO0_14 as JTAG TDO
- DAPLink doesn't work with IAR EWARM 8.3? HOT 2
- Unsigned int comparison to 0
- "EraseChip" doesn't seem quite right
- DAPLink worked in IAR,but not work in KEIL MDK. HOT 1
- build error not have version_git.h HOT 2
- Why is it that after I dragged and burned the daplink firmware in bootloader mode, it succeeded, but when I disconnected and reconnected, it changed to bootloader mode. HOT 1
- The latest version of Keil5 always prompts "swd/jtag communication failure" when using DAPLink
- Intermittent issues with i2c interface and interrupt line on microbit v2.21 HOT 4
- Support for probe interface level translation HOT 1
- Some questions about "MSD Commands"
- [miro:bit] [0258] PWR led turns sometimes off when device is powered by battery on reset button press HOT 3
- CPU Can't stop HOT 1
- Clarification on flash blobs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from daplink.